[SuSE Linux] A Mutt config question
Is anybody using mutt? I'm not sure if what I want to do is possible, but I'll ask anyway. I want to change how the messages are displayed in the index. Currently it displays (in this order) the message number, the message status, date, the To header, the filesize, and the subject. I'd like to change the order, and display the sender (From header) instead of the To header. Actually now that I look at it, I don't think that it is the To header I'm looking at. I think it's the argument of the lists command (I have the line lists suse-linux-e in my .muttrc file). Does anyone know what I'm yapping about? If so, could you give me a shove in the right direction? TIA Mark - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hi! Trying to kill the keyboard, mwagnon@ixpres.com produced:
Is anybody using mutt? I'm not sure if what I want to do is possible,
yes
but I'll ask anyway. I want to change how the messages are displayed in the index. Currently it displays (in this order) the message number, the message status, date, the To header, the filesize, and the subject.
I'd like to change the order, and display the sender (From header) instead of the To header. Actually now that I look at it, I don't think that it is the To header I'm looking at. I think it's the argument of the lists command (I have the line lists suse-linux-e in my .muttrc file).
I see, yes, you can do it. You might have to upgrade to mutt 0.92.2 or 0.92.2i (with PGP support), you should do so anyway: there's a security bug to fix. The parameter you want to look for is 'index_format'. The manual (under /usr/doc/packages/mutt/manual.txt or under /usr/local/doc/.....) will show you all options that parameter can take. -Wolfgang -- PGP 2 welcome: Mail me, subject "send PGP-key". If you've nothing at all to hide, you must be boring. Unsolicited Bulk E-Mails: *You* pay for ads you never wanted. Is our economy _so_ weak we have to tolerate SPAMMERS? I guess not. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
On Tue, Sep 08, 1998 at 12:41:36PM +0200, Wolfgang Weisselberg wrote:
Hi!
I see, yes, you can do it. You might have to upgrade to mutt 0.92.2 or 0.92.2i (with PGP support), you should do so anyway: there's a security bug to fix.
The parameter you want to look for is 'index_format'. The manual (under /usr/doc/packages/mutt/manual.txt or under /usr/local/doc/.....) will show you all options that parameter can take.
Thanks for the response! I got it to work with the help of Jo's post earlier. I just didn't know what to look for in the manual. My version is older (v0.89.1-1) so the parameter is hdr_format in my case. I guess I'll upgrade. I just got 5.3 in today, so I'll start there and then get back to mutt. Thanks again, Mark - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Mark Wagnon wrote:
Is anybody using mutt? I'm not sure if what I want to do is possible, but I'll ask anyway. I want to change how the messages are displayed in the index. Currently it displays (in this order) the message number, the message status, date, the To header, the filesize, and the subject.
I'd like to change the order, and display the sender (From header) instead of the To header. Actually now that I look at it, I don't think that it is the To header I'm looking at. I think it's the argument of the lists command (I have the line lists suse-linux-e in my .muttrc file).
Does anyone know what I'm yapping about? If so, could you give me a shove in the right direction?
TIA
Mark -
I have this line in my ~/.muttrc file set hdr_format="%4C %Z %{0/%m} 0.00000000000000000000 ( index I think hdr_format has been changed to index_format in later versions, so you will have to check which works for you. (see the section from the mutt documentation below) index_format Type: format string Default: "%4C %Z %{%b 0} %-15.15L (%4l) " This variable allows you to customize the message index display to your personal taste. ``Format strings'' are similar to the strings used in the ``C'' function printf to format output (see the man page for more detail). The following sequences are defined in Mutt: %a address of the author %b filename of the original message folder (think mailBox) %B the list to which the letter was sent, or else the folder name (%b). %C current message number 0 date and time of the message in the format specified by ``date_format'' 0.000000 entire From: line (address + real name) 0.000000 author name, or recipient name if the message is from you 0 message-id of the current message %l number of lines in the message %L list-from function %m total number of message in the mailbox %N message score author's real name (or address if missing) 0 (_O_riginal save folder) Where mutt would formerly have stashed the message: list name or recipient name if no list subject of the message %S status of the message (N/D/d/!/*/r) %t `to:' field (recipients) %T the appropriate character from the $to_chars string 0 user (login) name of the author %Z message status flags %{fmt} the date and time of the message is converted to sender's time zone, and ``fmt'' is expanded by the system call ``strftime''; a leading bang disables locales %[fmt] the date and time of the message is converted to the local time zone, and ``fmt'' is expanded by the system call ``strftime''; a leading bang disables locales %(fmt) the local date and time when the message was received. ``fmt'' is expanded by the system call ``strftime''; a leading bang disables locales %<fmt> the current local time. ``fmt'' is expanded by the system call ``strftime''; a leading bang disables locales. %>X right justify the rest of the string and pad with character "X" %|X pad to the end of the line with character "X" See also: $to_chars. hope this helps -- Regards Jo - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (3)
-
bigtoe@blim.demon.co.uk
-
mwagnon@ixpres.com
-
weissel@jupiter.ph-cip.uni-koeln.de