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

6.3.86. index_format

Type: string
Default: "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %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

%A

reply-to address (if present; otherwise: address of 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

%e

current message number in thread

%E

number of messages in current thread

%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 (does not work with maildir, mh, and possibly IMAP folders)

%L

If an address in the To or CC header field matches an address defined by the users ``subscribe'' command, this displays "To <list-name>", otherwise the same as %F.

%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

%y

`x-label:' field, if present

%Y

`x-label' field, if present, and (1) not at part of a thread tree, (2) at the top of a thread, or (3) `x-label' is different from preceding message's `x-label'.

%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: indent_string
Next: ispell