The Mutt E-Mail Client : Reference : Configuration variables : index_format
Previous: in_reply_to
Next: ispell

## 6.3.73. index_format

Type: string
Default: "%4C %Z %{%b %d} %-15.15L (%4l) %s"

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      number of characters (bytes) in the message
>     %C      current message number
>     %d      date and time of the message in the format
>             specified by ``date_format'' converted to
>             sender's time zone
>     %D      date and time of the message in the format
>             specified by ``date_format'' converted to
>             the local time zone
>     %f      entire From: line (address + real name)
>     %F      author name, or recipient name if the
>             message is from you
>     %i      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
>     %M      number of hidden messages if the thread
>             is collapsed.
>     %N      message score
>     %n      author's real name (or address if missing)
>     %O      (_O_riginal save folder)  Where
>             mutt would formerly have stashed the
>             message: list name or recipient name
>             if no list
>     %s      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
>     %u      user (login) name of the author
>     %v      first name of the author, or the
>             recipient if the message is from you
>     %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 library
>             function ``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 library
>             function ``strftime''; a leading bang
>             disables locales
>     %(fmt)  the local date and time when the
>             message was received.
>             ``fmt'' is expanded by the library
>             function ``strftime'';
>             a leading bang disables locales
>     %<fmt>  the current local time.
>             ``fmt'' is expanded by the library
>             function ``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''.

The Mutt E-Mail Client : Reference : Configuration variables : index_format
Previous: in_reply_to
Next: ispell