Hi Torsten,
* Torsten Flammiger <nos...@netfg.net> [07. Feb. 2013]:
> I use for my regular inbox:
>  set index_format="%4C %Z [%-25.25n] [%d] (%?M?C%3M&%4c?) %s"
> 
> and I try to use this for my Sent folder to display the TO address
> in my Sent folder instead of my FROM address.
> 
>  folder-hook Sent 'set index_format="%4C %Z [%-25.25t] [%d] \
>    (%?M?C%3M&%4c?) %s"'
> 
> However, this does not work. As soon as I jump back from my
> Sent folder into any other folder, mutt starts to
> display the FROM value the same way as it displays the TO
> value in 'Sent' folder: there is now a prefix 'To ' in front of
> each %...n format string. I.e. it looks now like
> '... [To <here comes the sender or recipient>] ...'
> 
> I don't even understand why there is a 'To ' in front of
> each message indicated by [%-25.25t] - but why does mutt
> now format every display index like the folder hook I applied
> to 'Sent' only? This is boring. I know that I am the recipient
> in all folders but SENT - and in SENT I am the only sender,
> don't need to remind me ;)
> 
> Perhaps I did something wrong.

You'll have to teach mutt to switch back to your "normal" index
format, when switchin mailboxes:

folder-hook . 'set index_format="%4C %Z [%-25.25n] [%d] (%?M?C%3M&%4c?) %s"'





Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-

Reply via email to