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