Re: ":source ~/.muttrc" command weirdly moves message around in

2008-06-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 01:04 AM, quoth Russell Hoover: > Suddenly I've discovered that when I try to re-load my .muttrc with the > ":source ~/.muttrc" command, the last message in my index (number 920), is > re-positioned as number 576. Other messages

Re: ":source ~/.muttrc" command weirdly moves message around in

2008-06-15 Thread Russell Hoover
On Sun 06/15/08 at 10:39 AM -0500, Kyle Wheeler <[EMAIL PROTECTED]> wrote: > Probably a folder-hook that sets your sorting order whenever you enter > the INBOX. Well, I have what's below, but I've these forever: folder-hook . set sort=threads folder-hook .'set index_f

bind key to change to previous mailbox?

2008-06-15 Thread Marianne Promberger
Hi all, I'd like to enable a key combination that would take me back to the most recent mailbox I've visited before the current one. My current idea how I'd go about this: (1) Make a folder-hook for all folders that pushes a key sequence calling a shell command: the shell command would just writ

Re: ":source ~/.muttrc" command weirdly moves message around in

2008-06-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 02:45 PM, quoth Russell Hoover: >On Sun 06/15/08 at 10:39 AM -0500, Kyle Wheeler <[EMAIL PROTECTED]> wrote: > >> Probably a folder-hook that sets your sorting order whenever you enter >> the INBOX. > >Well, I have what's below, bu

Re: bind key to change to previous mailbox?

2008-06-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 03:41 PM, quoth Marianne Promberger: > I'd like to enable a key combination that would take me back to the > most recent mailbox I've visited before the current one. This is very easy - use the builtin shortcuts. Just as ! refer

problem with backspace key in xterm-256color

2008-06-15 Thread Marianne Promberger
I'm running mutt in xfce4-terminal, which supports 256 colors, but I have to manually set xfce4-terminal in its preferences dialogue to identify as "xterm-256color" for mutt to display my 256-color colors. So far, so good. Now I've noticed that with TERM=xterm-256color, mutt doesn't recognize the

Re: problem with backspace key in xterm-256color

2008-06-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 05:11 PM, quoth Marianne Promberger: > I'm running mutt in xfce4-terminal, which supports 256 colors, but I > have to manually set xfce4-terminal in its preferences dialogue to > identify as "xterm-256color" for mutt to display

Re: problem with backspace key in xterm-256color

2008-06-15 Thread Marianne Promberger
Thanks Kyle! That helped my solve the problem by using "\177" instead of in the .muttrc Here is the info ... On 06/15/08 16:55, Kyle Wheeler wrote: > On Sunday, June 15 at 05:11 PM, quoth Marianne Promberger: > > > Now I've noticed that with TERM=xterm-256color, mutt doesn't > > recognize th

Re: problem with backspace key in xterm-256color

2008-06-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 06:16 PM, quoth Marianne Promberger: > That helped my solve the problem by using "\177" instead of > in the .muttrc Heh, sure, that's one way to do it. > both with TERM=xterm and TERM=xterm-256color, pressing Ctrl-v > backspa

Re: problem with backspace key in xterm-256color

2008-06-15 Thread Marianne Promberger
On 06/15/08 17:31, Kyle Wheeler wrote: > On Sunday, June 15 at 06:16 PM, quoth Marianne Promberger: > > both with TERM=xterm and TERM=xterm-256color, pressing Ctrl-v > > backspace shows up as: > > > > ^? > > Okay... (that's the same as \177) > > >> If not, is your termcap perhaps different? Try

Re: ":source ~/.muttrc" command weirdly moves message around in

2008-06-15 Thread Russell Hoover
On Sun 06/15/08 at 02:50 PM -0500, Kyle Wheeler <[EMAIL PROTECTED]> wrote: > Think of it this way: > mutt reads your muttrc (sort=date) > mutt opens your inbox (hook triggered, sort=threads) > you tell mutt to re-read the muttrc (sort=date) > you tell mutt to re-open your inbox

Re: ":source ~/.muttrc" command weirdly moves message around in

2008-06-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 08:11 PM, quoth Russell Hoover: >On Sun 06/15/08 at 02:50 PM -0500, Kyle Wheeler <[EMAIL PROTECTED]> wrote: >> Think of it this way: >> mutt reads your muttrc (sort=date) >> mutt opens your inbox (hook triggered, sort=th

Re: ":source ~/.muttrc" command weirdly moves message around in

2008-06-15 Thread Russell Hoover
On Sun 06/15/08 at 07:22 PM -0500, Kyle Wheeler <[EMAIL PROTECTED]> wrote: [that I wrote] > >folder-hook <|sent|cv|dm|fabio'set index_format= etc > > ^^^ > > . . . duplication of sent-folder names. > Well, not necessarily. Remember, you're providing a *pattern*, so that

Re: ":source ~/.muttrc" command weirdly moves message around in

2008-06-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 09:54 PM, quoth Russell Hoover: >I mean, what I need is surely this: > > folder-hook <|cv|dm'set index_format="whatever" Yes, that is more succinct, assuming that the only reason "sent" was in there was to match ag

Re: ":source ~/.muttrc" command weirdly moves message around in

2008-06-15 Thread Russell Hoover
On Sun 06/15/08 at 09:40 PM -0500, Kyle Wheeler <[EMAIL PROTECTED]> wrote: > [...] that "sent" string in the original pattern will also match folders > named "abSENT" and "SENTimental" and "esSENTial". So it was entirely > possible that the "sent" string was not redundant, and was actually > inten

Re: ":source ~/.muttrc" command weirdly moves message around in

2008-06-15 Thread Russell Hoover
On Sun 06/15/08 at 11:15 PM -0400, Russell Hoover <[EMAIL PROTECTED]> wrote: > Absolutely. Though I'm partial to the plus-sign, so I used that > instead of "=". > folder-hook '(<|+cv|+dm)$''set index_format="whatever"' ^ ^ Looks like I'm better off with the equal-sig

newbie: filtering email

2008-06-15 Thread Don Raikes
Hello, I am a newbie to mutt, having just set it up last week. I receive a ton of email and I want to knwo the best way to filter the email into folders. I have looked at some examples of procmail recipes, but can't figure out how to tie mutt and procmail together. Any suggestions appreciated.

Re: ":source ~/.muttrc" command weirdly moves message around in

2008-06-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 11:29 PM, quoth Russell Hoover: >On Sun 06/15/08 at 11:15 PM -0400, Russell Hoover <[EMAIL PROTECTED]> wrote: > >> Absolutely. Though I'm partial to the plus-sign, so I used that >> instead of "=". > >> folder-hook '(<|+cv|+dm)

Re: newbie: filtering email

2008-06-15 Thread Patrick Shanahan
* Don Raikes <[EMAIL PROTECTED]> [06-15-08 23:33]: > I am a newbie to mutt, having just set it up last week. you have found a gem :^) > I receive a ton of email and I want to knwo the best way to filter the > email into folders. > > I have looked at some examples of procmail recipes, but can't

sorting mailbox

2008-06-15 Thread Don Raikes
iHello, Another newbie question: How do I sort incoming mail by threads. I have looked in the mutt manual but haven't found this trick yet.

Re: newbie: filtering email

2008-06-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 08:32 PM, quoth Don Raikes: > I am a newbie to mutt, having just set it up last week. Welcome! > I receive a ton of email and I want to knwo the best way to filter > the email into folders. The "best" way depends on your situa

Re: newbie: filtering email

2008-06-15 Thread Sahil Tandon
Don Raikes <[EMAIL PROTECTED]> wrote: > I am a newbie to mutt, having just set it up last week. > I receive a ton of email and I want to knwo the best way to filter the > email into folders. > > I have looked at some examples of procmail recipes, but can't figure out > how to tie mutt and procm

Re: sorting mailbox

2008-06-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 08:40 PM, quoth Don Raikes: > Another newbie question: > How do I sort incoming mail by threads. I have looked in the mutt > manual but haven't found this trick yet. To sort *any* mailbox by threads, do this: set sort=thre

Re: newbie: filtering email

2008-06-15 Thread Don Raikes
On Sun, Jun 15, 2008 at 10:42:25PM -0500, Kyle Wheeler wrote: > On Sunday, June 15 at 08:32 PM, quoth Don Raikes: > > I am a newbie to mutt, having just set it up last week. > > Welcome! > > > I receive a ton of email and I want to knwo the best way to filter > > the email into folders. > > The

Re: newbie: filtering email

2008-06-15 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 10:10 PM, quoth Don Raikes: > I have a .fetchmailrc file setup, and can use it if it is the most > efficient method. I also have the pop_host setup in my .muttrc file > so I can use the to retrieve my email. You can still use