<<< Date Index >>>     <<< Thread Index >>>

Re: Drafts index_format



Thus spake Kyle Wheeler [06/07/08 @ 14.37.40 -0500]:
> On Friday, June  6 at 07:56 PM, quoth dv1445@xxxxxxxxx:
> > Thus spake Kyle Wheeler [06/06/08 @ 16.36.22 -0500]:
> >> Does anyone know how to set a hook to change the index_format in the 
> >> Postponed Messages selector?
> >> 
> >> I use folder-hooks to set the index_format; for example, in folders of 
> >> mailing list messages, I use an index_format that always shows the 
> >> sender of messages rather than the recipient. Unfortunately if I try 
> >> to resume a postponed message while in one of these folders (presuming 
> >> that I have multiple postponed messages to choose from), I run into 
> >> the problem that all of the messages in the list of postponed messages 
> >> list my address, rather than the intended recipient.
> >> 
> >> I tried something basic, like this:
> >> 
> >>      folder-hook "Drafts$" 'set index_format="AHA!"'
> >> 
> >> But it didn't work.
> >> 
> >> Does anyone have any suggestions?
> >
> > That AHA line you give above worked for me, when I used '=Drafts' in 
> > place of "Drafts$", and it also worked with 'Drafts$' in single 
> > quotes.  I had to precede it with a default folder hook so that my 
> > inbox didn't say AHA, but that's a separate issue.
> 
> Really? Weird. Neither way worked at all for me. What version of mutt 
> do you use?

I use 1.5.18, on Mac OSX 10.4.11, in Terminal.app, with $TERM=xterm-color.

FWIW, IIRC your AHA line did not work for me when I had "Drafts$" in double 
quotes.
-gmn