Sent-folder to display SEND TO address instead SEND FROM
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. Torsten
Re: Sent-folder to display SEND TO address instead SEND FROM
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 -- -... --- .-. . -.. ..--.. ...-.-
Re: Sent-folder to display SEND TO address instead SEND FROM
On Thu, Feb 07, 2013 at 10:11:22PM +0100, Torsten Flammiger wrote: 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' This works for me very well: %-15.15L -- Suvayu Open source is the future. It sets us free.
Re: Sent-folder to display SEND TO address instead SEND FROM
Am 08.02.2013 02:32, schrieb Gregor Zattler: Hi Torsten, [...] 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' ahh, that makes sense. Thanks Torsten