Document message index format specifiers
This commit is contained in:
parent
ddd0fa428f
commit
cffa2365be
2 changed files with 37 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
[ui]
|
[ui]
|
||||||
#
|
#
|
||||||
# Describes the format for each row in a mailbox view. This field is compatible
|
# Describes the format for each row in a mailbox view. This field is compatible
|
||||||
# with mutt's printf-like syntax. TODO: document properly
|
# with mutt's printf-like syntax.
|
||||||
#
|
#
|
||||||
# Default:
|
# Default:
|
||||||
index-format=%D %-17.17n %s
|
index-format=%D %-17.17n %s
|
||||||
|
|
|
@ -36,10 +36,45 @@ These options are configured in the *[ui]* section of aerc.conf.
|
||||||
|
|
||||||
*index-format*
|
*index-format*
|
||||||
Describes the format for each row in a mailbox view. This field is
|
Describes the format for each row in a mailbox view. This field is
|
||||||
compatible with mutt's printf-like syntax. TODO: document properly
|
compatible with mutt's printf-like syntax.
|
||||||
|
|
||||||
Default: %D %-17.17n %s
|
Default: %D %-17.17n %s
|
||||||
|
|
||||||
|
[- *Format specifier*
|
||||||
|
:[ *Description*
|
||||||
|
| %%
|
||||||
|
: literal %
|
||||||
|
| %a
|
||||||
|
: sender address
|
||||||
|
| %A
|
||||||
|
: reply-to address, or sender address if none
|
||||||
|
| %C
|
||||||
|
: message number
|
||||||
|
| %d
|
||||||
|
: formatted message timestamp
|
||||||
|
| %D
|
||||||
|
: formatted message timestamp converted to local timezone
|
||||||
|
| %f
|
||||||
|
: sender name and address
|
||||||
|
| %F
|
||||||
|
: sender name, or sender address if none
|
||||||
|
| %i
|
||||||
|
: message id
|
||||||
|
| %n
|
||||||
|
: same as %F
|
||||||
|
| %r
|
||||||
|
: comma-separated list of formatted recipient names and addresses
|
||||||
|
| %R
|
||||||
|
: comma-separated list of formatted CC names and addresses
|
||||||
|
| %s
|
||||||
|
: subject
|
||||||
|
| %u
|
||||||
|
: sender mailbox name (e.g. "smith" in "smith@example.net")
|
||||||
|
| %v
|
||||||
|
: sender first name (e.g. "Alex" in "Alex Smith <smith@example.net>")
|
||||||
|
| %Z
|
||||||
|
: flags (O=old, N=new, r=answered, D=deleted, !=flagged)
|
||||||
|
|
||||||
*timestamp-format*
|
*timestamp-format*
|
||||||
See time.Time#Format at https://godoc.org/time#Time.Format
|
See time.Time#Format at https://godoc.org/time#Time.Format
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue