X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=inline;f=doc%2Fmanual.xml.head;h=5079bf705e3bbe774e44cda7c4608f3962551704;hb=ab4e61871dafd1556fcbff220f01efd817beb3d0;hp=fc9f0883b106de195c6d9fd1de8201ae2b6b1fcf;hpb=da5e1ce19f42beab0534e0e5fe39024a2c02812b;p=apps%2Fmadmutt.git
diff --git a/doc/manual.xml.head b/doc/manual.xml.head
index fc9f088..5079bf7 100644
--- a/doc/manual.xml.head
+++ b/doc/manual.xml.head
@@ -167,7 +167,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
@@ -187,12 +187,15 @@
in a typewriter font and both prefixed with a dollar sign as
it's common for UNIX-like environments. Configuration
variables are lower-case only while environment variables
- are upper-case only.
+ are upper-case only. is a configuration variable while
+ is an environment
+ variable.
- Muttng-specific commands are enclosed in
+ Muttng-specific functions are enclosed in
<> and printed in a typewriter font,
- too.
+ too, as in .As common for UNIX-like environments, references to
@@ -201,6 +204,17 @@
name="muttngrc" sect="5"/>. Execute man [section]
[name] to view the manual page.
+
+ Keys are presented in the following way: ordinary keys
+ are just given as-is, e.g.
+ q. Control characters are
+ prefixed with C- (e.g. the screen can be
+ redraw by pressing L) and E- for
+ Escape, e.g. a folder can be opened read-only with
+ c.
+
+
@@ -688,7 +702,7 @@
-
+
Most commonly used movement bindings
@@ -700,42 +714,42 @@
- j or Down
+ j or Downmove to the next entry
- k or Up
+ k or Upmove to the previous entry
- z or PageDn
+ z or PageDngo to the next page
- Z or PageUp
+ Z or PageUpgo to the previous page
- = or Home
+ = or Homejump to the first entry
- * or End
+ * or Endjump to the last entry
- q
+ qexit the current menu
- ?
+ ?list all key bindings for the current menu
@@ -766,7 +780,7 @@
-
+
Line Editor Functions
@@ -778,113 +792,113 @@
- ^A or <Home>
+ A or Homemove to the start of the line
- ^B or <Left>
+ B or Leftmove back one char
- Esc B
+ Bmove back one word
- ^D or <Delete>
+ D or Deletedelete the char under the cursor
- ^E or <End>
+ E or Endmove to the end of the line
- ^F or <Right>
+ F or Rightmove forward one char
- Esc F
+ Fmove forward one word
- <Tab>
+ Tabcomplete filename or alias
- ^T
+ Tcomplete address with query
- ^K
+ Kdelete to the end of the line
- ESC d
+ ddelete to the end of the word
- ^W
+ Wkill the word in front of the cursor
- ^U
+ Udelete entire line
- ^V
+ Vquote the next typed key
- <Up>
+ Uprecall previous string from history
- <Down>
+ Downrecall next string from history
- <BackSpace>
+ BackSpacekill the char in front of the cursor
- Esc u
+ uconvert word to upper case
- Esc l
+ lconvert word to lower case
- Esc c
+ ccapitalize the word
- ^G
- n/a
+ G
+ abort
- <Return>
- n/a
+ Return
+ finish editing
@@ -895,7 +909,7 @@
You can remap the editor functions using the
- command. For example, to make
+ command. For example, to make
the Delete key delete the character in front
of the cursor rather than under, you could use
@@ -928,7 +942,7 @@
-
+
Most commonly used Index Bindings
@@ -940,147 +954,147 @@
- c
+ cchange to a different mailbox
- ESC c
+ cchange to a folder in read-only mode
- C
+ Ccopy the current message to another mailbox
- ESC C
+ Cdecode a message and copy it to a folder
- ESC s
+ sdecode a message and save it to a folder
- D
+ Ddelete messages matching a pattern
- d
+ ddelete the current message
- F
+ Fmark as important
- l
+ lshow messages matching a pattern
- N
+ Nmark message as new
- o
+ ochange the current sort method
- O
+ Oreverse sort the mailbox
- q
+ qsave changes and exit
- s
+ ssave-message
- T
+ Ttag messages matching a pattern
- t
+ ttoggle the tag on a message
- ESC t
+ ttoggle tag on entire message thread
- U
+ Uundelete messages matching a pattern
- u
+ uundelete-message
- v
+ vview-attachments
- x
+ xabort changes and exit
- <Return>
+ Returndisplay-message
- <Tab>
+ Tabjump to the next new or unread message
- @
+ @show the author's full e-mail address
- $
+ $save changes to mailbox
- /
+ /search
- ESC /
+ /search-reverse
- ^L
+ Lclear and redraw the screen
- ^T
+ Tuntag messages matching a pattern
@@ -1287,7 +1301,7 @@
-
+
Most commonly used Pager Bindings
@@ -1299,57 +1313,57 @@
- <Return>
+ Returngo down one line
- <Space>
+ Spacedisplay the next page (or next message if at the end of a message)
- -
+ -go back to the previous page
- n
+ nsearch for next match
- S
+ Sskip beyond quoted text
- T
+ Ttoggle display of quoted text
- ?
+ ?show key bindings
- /
+ /search for a regular expression (pattern)
- ESC /
+ /search backwards for a regular expression
- \
+ \toggle search pattern coloring
- ^
+ ^jump to the top of the message
@@ -1370,18 +1384,17 @@
- Also, the internal pager supports a couple other advanced features.
- For
- one, it will accept and translate the ``standard'' nroff sequences
- forbold and underline. These sequences are a series of either the
- letter,
- backspace (^H), the letter again for bold or the letter,
- backspace,
- ``_'' for denoting underline. Mutt-ng will attempt to display
- these
- in bold and underline respectively if your terminal supports them. If
- not, you can use the bold and underline
- objects to specify a color or mono attribute for them.
+ Also, the internal pager supports a couple other advanced
+ features. For one, it will accept and translate the
+ ``standard'' nroff sequences forbold and underline. These
+ sequences are a series of either the letter, backspace
+ (H), the letter again for bold
+ or the letter, backspace, _ for denoting
+ underline. Mutt-ng will attempt to display these in bold and
+ underline respectively if your terminal supports them. If not,
+ you can use the bold and underline objects to specify a color or mono attribute
+ for them.
@@ -1395,7 +1408,7 @@
-
+
ANSI Escape Sequences
@@ -1438,7 +1451,7 @@
-
+
ANSI Colors
@@ -1490,7 +1503,7 @@
Mutt-ng uses these attributes for handling text/enriched messages,
and they
- can also be used by an external
+ can also be used by an external
script for highlighting purposes. Note: If you change the colors for your
display, for example by changing the color associated with color2 for
your xterm, then that color will be used instead of green.
@@ -1514,7 +1527,7 @@
-
+
Most commonly used thread-related bindings
@@ -1526,72 +1539,72 @@
- ^D
+ Ddelete all messages in the current thread
- ^U
+ Uundelete all messages in the current thread
- ^N
+ Njump to the start of the next thread
- ^P
+ Pjump to the start of the previous thread
- ^R
+ Rmark the current thread as read
- ESC d
+ ddelete all messages in the current subthread
- ESC u
+ uundelete all messages in the current subthread
- ESC n
+ njump to the start of the next subthread
- ESC p
+ pjump to the start of the previous subthread
- ESC r
+ rmark the current subthread as read
- ESC t
+ ttoggle the tag on the current thread
- ESC v
+ vtoggle collapse for the current thread
- ESC V
+ Vtoggle collapse for all threads
- P
+ Pjump to parent message in thread
@@ -1628,21 +1641,21 @@
Miscellaneous Functions
-
+ a
Creates a new alias based upon the current message (or prompts for a
- new one). Once editing is complete, an
+ new one). Once editing is complete, an
command is added to the file specified by the
variable for future use. Note:
Specifying an
- does not add the aliases specified there-in, you must also
+ does not add the aliases specified there-in, you must also
the file.
-
+ P
@@ -1656,16 +1669,16 @@
-
+ h
- Toggles the weeding of message header fields specified by
+ Toggles the weeding of message header fields specified by
commands.
-
+ e
@@ -1678,8 +1691,8 @@
- (default: ^E on the attachment menu, and in the pager and index
- menus; ^T on the compose menu)
+ (default: E on the attachment menu, and in the pager and index
+ menus; T on the compose menu)
@@ -1699,7 +1712,7 @@
-
+ :
@@ -1707,13 +1720,13 @@
a
configuration file. A common use is to check the settings of
variables, or
- in conjunction with to change
+ in conjunction with to change
settings on the
fly.
-
+ K
@@ -1722,7 +1735,7 @@
-
+ F
@@ -1731,13 +1744,13 @@
-
+ L
Reply to the current or tagged message(s) by extracting any addresses
which
- match the regular expressions given by the
+ match the regular expressions given by the
commands, but also honor any Mail-Followup-To
header(s) if the
@@ -1763,7 +1776,7 @@
-
+ e
@@ -1786,7 +1799,7 @@
-
+ !
@@ -1800,7 +1813,7 @@
-
+ T
@@ -1815,7 +1828,7 @@
-
+ S
@@ -1843,7 +1856,7 @@
-
+
Most commonly used Mail Composition Bindings
@@ -1855,37 +1868,37 @@
- m
+ mcompose a new message
- r
+ rreply to sender
- g
+ greply to all recipients
- L
+ Lreply to mailing list address
- f
+ fforward message
- b
+ bbounce (remail) message
- ESC k
+ kmail a PGP public key to someone
@@ -1906,15 +1919,15 @@
Composing new messages
- When you want to send an email using mutt-ng, simply press m on
+ When you want to send an email using mutt-ng, simply press m on
your keyboard. Then, mutt-ng asks for the recipient via a prompt in
the last line:
-
-To:
+
+To:
@@ -1936,10 +1949,10 @@ To:
-
+
set editor = "vim +/^$/ -c ':set tw=72'"
set editor = "nano"
-set editor = "emacs"
+set editor = "emacs"
@@ -1976,13 +1989,13 @@ set editor = "emacs"
- At this point, you can add more attachments, pressing a, you
- can edit the recipient addresses, pressing t for
+ At this point, you can add more attachments, pressing a, you
+ can edit the recipient addresses, pressing t for
the "To:" field,
- c for the "Cc:" field, and b
+ c for the "Cc:" field, and b
for the "Bcc: field. You can
- also edit the subject the subject by simply pressing s or the
- email message that you've entered before by pressing e. You will
+ also edit the subject the subject by simply pressing s or the
+ email message that you've entered before by pressing e. You will
then again return to the editor. You can even edit the sender, by
pressing
<esc>f, but this shall only be used with
@@ -1997,8 +2010,8 @@ set editor = "emacs"
-
-set edit_headers
+
+set edit_headers
@@ -2010,7 +2023,7 @@ set edit_headers
-
+
Most commonly used Compose Menu Bindings
@@ -2022,102 +2035,102 @@ set edit_headers
- a
+ aattach a file
- A
+ Aattach message(s) to the message
- ESC k
+ kattach a PGP public key
- d
+ dedit description on attachment
- D
+ Ddetach a file
- t
+ tedit the To field
- ESC f
+ fedit the From field
- r
+ redit the Reply-To field
- c
+ cedit the Cc field
- b
+ bedit the Bcc field
- y
+ ysend the message
- s
+ sedit the Subject
- S
+ Sselect S/MIME options
- f
+ fspecify an ``Fcc'' mailbox
- p
+ pselect PGP options
- P
+ Ppostpone this message until later
- q
+ qquit (abort) sending the message
- w
+ wwrite the message to a folder
- i
+ icheck spelling (if available on your system)
- ^F
+ Fwipe passphrase(s) from memory
@@ -2154,7 +2167,7 @@ set edit_headers
When you want to reply to an email message, select it in the index
- menu and then press r. Mutt-ng's behaviour is
+ menu and then press r. Mutt-ng's behaviour is
then similar to the
behaviour when you compose a message: first, you will be asked for
the recipient, then for the subject, and then, mutt-ng will start
@@ -2164,12 +2177,12 @@ set edit_headers
-
+
On Mon, Mar 07, 2005 at 05:02:12PM +0100, Michael Svensson wrote:
> Bill, can you please send last month's progress report to Mr.
> Morgan? We also urgently need the cost estimation for the new
> production server that we want to set up before our customer's
-> project will go live.
+> project will go live.
@@ -2186,28 +2199,28 @@ On Mon, Mar 07, 2005 at 05:02:12PM +0100, Michael Svensson wrote:
The quote attribution is configurable, by default it is set to
-
-set attribution = "On %d, %n wrote:"
+
+set attribution = "On %d, %n wrote:"
It can also be set to something more compact, e.g.
-
-set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:"
+
+set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:"
The example above results in the following attribution:
-
+
* Michael Svensson <svensson@foobar.com> [05-03-06 17:02]:
> Bill, can you please send last month's progress report to Mr.
> Morgan? We also urgently need the cost estimation for the new
> production server that we want to set up before our customer's
-> project will go live.
+> project will go live.
@@ -2239,8 +2252,8 @@ set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:"
In the situation where a group of people uses email as a
discussion, most of the emails will have one or more recipients,
and probably several "Cc:" recipients. The group reply
- functionalityensures that when you press g
- instead of r to do a reply,
+ functionalityensures that when you press g
+ instead of r to do a reply,
each and every recipient that is contained in the original message
will receive a copy of the message, either as normal recipient or
as "Cc:" recipient.
@@ -2263,7 +2276,7 @@ set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:"
- To do a list reply, simply press L. If the email
+ To do a list reply, simply press L. If the email
contains
a Mail-Followup-To: header, its value will be
used as reply
@@ -2276,8 +2289,8 @@ set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:"
-
-lists linuxevent@luga\.at vuln-dev@ mutt-ng-users@
+
+lists linuxevent@luga\.at vuln-dev@ mutt-ng-users@
@@ -2322,8 +2335,8 @@ lists linuxevent@luga\.at vuln-dev@ mutt-ng-users@
You can also attach files to your message by specifying
-
-Attach: filename [description]
+
+Attach: filename [description]
where filename is the file to attach and
description
@@ -2355,8 +2368,8 @@ Attach: filename [description]
If you want to use PGP, you can specify
-
-Pgp: [E | S | S id]
+
+Pgp: [E | S | S id]
``E'' encrypts, ``S'' signs and
``S<id>'' signs with the given key, setting
@@ -2378,7 +2391,7 @@ Pgp: [E | S | S id]
In these cases, you are dropped into a menu with a list of keys from
which you can select one. When you quit this menu, or mutt can't
find any matching keys, you are prompted for a user ID. You can, as
- usually, abort this prompt using ^G. When
+ usually, abort this prompt using G. When
you do so, mutt will
return to the compose screen.
@@ -2401,7 +2414,7 @@ Pgp: [E | S | S id]
flags:
-
+
PGP Key Menu Flags
@@ -2511,7 +2524,7 @@ Pgp: [E | S | S id]
and
chain-next functions, which are by default bound
to the left
- and right arrows and to the h and l keys (think vi
+ and right arrows and to the h and l keys (think vi
keyboard bindings). To insert a remailer at the current chain
position, use the insert function. To append a
remailer behind
@@ -2562,7 +2575,7 @@ Pgp: [E | S | S id]
The first one is regular forwarding, as you probably know it from
- other mail clients. You simply press f, enter the
+ other mail clients. You simply press f, enter the
recipient
email address, the subject of the forwarded email, and then you can
edit the message to be forwarded in the editor. The forwarded
@@ -2572,18 +2585,18 @@ Pgp: [E | S | S id]
-
------ Forwarded message from Lucas User <luser@example.com> -----
+
+----- Forwarded message from Lucas User <luser@example.com> -----
-From: Lucas User <luser@example.com>
+From: Lucas User <luser@example.com>
Date: Thu, 02 Dec 2004 03:08:34 +0100
-To: Michael Random <mrandom@example.com>
+To: Michael Random <mrandom@example.com>
Subject: Re: blackmail
Pay me EUR 50,000.- cash or your favorite stuffed animal will die
a horrible death.
------ End forwarded message -----
+----- End forwarded message -----
@@ -2599,7 +2612,7 @@ a horrible death.
another
address, it will be sent in practically the same format you send it
(except for headers that are created during transporting the
- message). To bounce a message, press b and enter the
+ message). To bounce a message, press b and enter the
recipient
email address. By default, you are then asked whether you really
want to bounce the message to the specified recipient. If you answer
@@ -2728,8 +2741,8 @@ a horrible death.
When multiple commands are used, they must be separated by a semicolon
(;).
-
-set realname='Mutt-ng user' ; ignore x-
+
+set realname='Mutt-ng user' ; ignore x-
The hash mark, or pound sign
(``#''), is used as a ``comment'' character. You can use it to
@@ -2739,8 +2752,8 @@ set realname='Mutt-ng user' ; ignore x-
-
-my_hdr X-Disclaimer: Why are you listening to me? # This is a comment
+
+my_hdr X-Disclaimer: Why are you listening to me? # This is a comment
@@ -2770,8 +2783,8 @@ my_hdr X-Disclaimer: Why are you listening to me? # This is a comment
interpreted
character.
-
-set realname="Michael \"MuttDude\" Elkins"
+
+set realname="Michael \"MuttDude\" Elkins"
@@ -2797,9 +2810,9 @@ set realname="Michael \"MuttDude\" Elkins"
-
+
# folder-hook . \
-set realname="Michael \"MuttDude\" Elkins"
+set realname="Michael \"MuttDude\" Elkins"
@@ -2821,12 +2834,12 @@ set realname="Michael \"MuttDude\" Elkins"
-
+
line1\
line2a # line2b\
line3\
line4
-line5
+line5
@@ -2867,8 +2880,8 @@ line5
-
-my_hdr X-Operating-System: `uname -a`
+
+my_hdr X-Operating-System: `uname -a`
@@ -2892,8 +2905,8 @@ my_hdr X-Operating-System: `uname -a`
-
-set record=+sent_on_$HOSTNAME
+
+set record=+sent_on_$HOSTNAME
@@ -2922,8 +2935,8 @@ set record=+sent_on_$HOSTNAME
-
-set imap_home_namespace = $folder
+
+set imap_home_namespace = $folder
@@ -2969,9 +2982,9 @@ set imap_home_namespace = $folder
-
+
macro generic <F1> "!less -r /path/to/manual" "Show manual"
-macro pager <F1> "!less -r /path/to/manual" "Show manual"
+macro pager <F1> "!less -r /path/to/manual" "Show manual"
@@ -2985,11 +2998,11 @@ macro pager <F1> "!less -r /path/to/manual" "Show manual"
-
+
set user_manualcmd = "!less -r /path/to_manual"
macro generic <F1> "$user_manualcmd<enter>" "Show manual"
macro pager <F1> "$user_manualcmd<enter>" "Show manual"
-macro index <F1> "$user_manualcmd<enter>" "Show manual"
+macro index <F1> "$user_manualcmd<enter>" "Show manual"
@@ -2999,8 +3012,8 @@ macro index <F1> "$user_manualcmd<enter>" "Show manual"
-
-macro index <F2> "$user_manualcmd | grep '\^[ ]\\+~. '" "Show Patterns"
+
+macro index <F2> "$user_manualcmd | grep '\^[ ]\\+~. '" "Show Patterns"
@@ -3028,9 +3041,9 @@ macro index <F2> "$user_manualcmd | grep '\^[ ]\\+~. '" "Show Patterns"
-
+
set user_foo = 42
-set user_foo = 666
+set user_foo = 666
@@ -3042,8 +3055,8 @@ set user_foo = 666
-
-set ?user_foo
+
+set ?user_foo
@@ -3053,8 +3066,8 @@ set ?user_foo
-
-reset user_foo
+
+reset user_foo
@@ -3065,8 +3078,8 @@ reset user_foo
-
-unset user_foo
+
+unset user_foo
@@ -3100,8 +3113,8 @@ unset user_foo
-
-muttng -Q muttng_docdir
+
+$ muttng -Q muttng_docdir
@@ -3113,8 +3126,8 @@ muttng -Q muttng_docdir
-
-set user_manualcmd = '!less -r /path/to_manual'
+
+set user_manualcmd = '!less -r /path/to_manual'
@@ -3124,8 +3137,8 @@ set user_manualcmd = '!less -r /path/to_manual'
-
-set user_manualcmd = "!less -r $muttng_docdir/manual.txt"
+
+set user_manualcmd = "!less -r $muttng_docdir/manual.txt"
@@ -3146,8 +3159,8 @@ set user_manualcmd = "!less -r $muttng_docdir/manual.txt"
-
-folder-hook . "set user_current_folder = $muttng_folder_name"
+
+folder-hook . "set user_current_folder = $muttng_folder_name"
@@ -3158,8 +3171,8 @@ folder-hook . "set user_current_folder = $muttng_folder_name"
-
-folder-hook . "set user_current_folder = some_folder"
+
+folder-hook . "set user_current_folder = some_folder"
@@ -3171,8 +3184,8 @@ folder-hook . "set user_current_folder = some_folder"
-
-folder-hook . 'set user_current_folder = $muttng_folder_name'
+
+folder-hook . 'set user_current_folder = $muttng_folder_name'
@@ -3189,8 +3202,8 @@ folder-hook . 'set user_current_folder = $muttng_folder_name'
-
-folder-hook . 'source ~/.mutt/score-$muttng_folder_name'
+
+folder-hook . 'source ~/.mutt/score-$muttng_folder_name'
@@ -3215,12 +3228,12 @@ folder-hook . 'source ~/.mutt/score-$muttng_folder_name'
-
+
set read_inc = 100
set folder = $read_inc
set read_inc = $folder
set user_magic_number = 42
-set folder = $user_magic_number
+set folder = $user_magic_number
@@ -3228,11 +3241,13 @@ set folder = $user_magic_number
-
+ Defining/Using aliases
- Usage: keyaddress [, address,...]
+
+ key address [, address,...]
+
@@ -3255,14 +3270,16 @@ set folder = $user_magic_number
- unalias [* | key...]
+
+ [* | key ... ]
+
-
+
alias muttdude me@cs.hmc.edu (Michael Elkins)
-alias theguys manny, moe, jack
+alias theguys manny, moe, jack
@@ -3270,7 +3287,7 @@ alias theguys manny, moe, jack
Unlike other mailers, Mutt-ng doesn't require aliases to be defined
in a special file. The alias command can appear
anywhere in
- a configuration file, as long as this file is .
+ a configuration file, as long as this file is .
Consequently, you can have multiple alias files, or
you can have all aliases defined in your muttrc.
@@ -3284,7 +3301,7 @@ alias theguys manny, moe, jack
special either,
in the sense that Mutt-ng will happily append aliases to any file, but
in
- order for the new aliases to take effect you need to explicitly
+ order for the new aliases to take effect you need to explicitly
this file too.
@@ -3294,10 +3311,10 @@ alias theguys manny, moe, jack
-
+
source /usr/local/share/Mutt-ng.aliases
source ~/.mail_aliases
-set alias_file=~/.mail_aliases
+set alias_file=~/.mail_aliases
@@ -3340,11 +3357,13 @@ set alias_file=~/.mail_aliases
-
+ Changing the default key bindings
- Usage: mapkeyfunction
+
+ map key function
+
@@ -3494,7 +3513,7 @@ set alias_file=~/.mail_aliases
-
+
Alternative Key Names
@@ -3509,11 +3528,11 @@ set alias_file=~/.mail_aliases
tab
- <tab>
+ <tab>tab
- <backtab>
+ <backtab>backtab / shift-tab
@@ -3529,71 +3548,71 @@ set alias_file=~/.mail_aliases
escape
- <esc>
+ <esc>escape
- <up>
+ <up>up arrow
- <down>
+ <down>down arrow
- <left>
+ <left>left arrow
- <right>
+ <right>right arrow
- <pageup>
+ <pageup>Page Up
- <pagedown>
+ <pagedown>Page Down
- <backspace>
+ <backspace>Backspace
- <delete>
+ <delete>Delete
- <insert>
+ <insert>Insert
- <enter>
+ <enter>Enter
- <return>
+ <return>Return
- <home>
+ <home>Home
- <end>
+ <end>End
- <space>
+ <space>Space bar
- <f1>
+ <f1>function key 1
- <f10>
+ <f10>function key 10
@@ -3693,8 +3712,8 @@ set alias_file=~/.mail_aliases
-
-folder-hook mutt set sort=threads
+
+folder-hook mutt set sort=threads
@@ -3707,8 +3726,8 @@ folder-hook mutt set sort=threads
-
-folder-hook . set sort=date-sent
+
+folder-hook . set sort=date-sent
@@ -3718,11 +3737,13 @@ folder-hook . set sort=date-sent
-
+ Keyboard macros
- Usage: menukeysequence [description]
+
+ menu key sequence [description]
+
@@ -3747,22 +3768,18 @@ folder-hook . set sort=date-sent
- key and sequence are expanded
- by the same rules as the . There are
- some additions however. The
- first is that control characters in sequence can
- also be specified
- as ^x. In order to get a caret (`^'')
- you need to use
- ^^. Secondly, to specify a certain key
- such as up
- or to invoke a function directly, you can use the format
+ key and sequence are
+ expanded by the same rules as the . There are some additions however. The first
+ is that control characters in sequence can
+ also be specified as ^x. In order to get a
+ caret (`^'') you need to specify it twice. Secondly,
+ to specify a certain key such as up or to
+ invoke a function directly, you can use the format
<key name> and <function
- name>
-
- .For a listing of key
- names see the section on . Functions
- are listed in the functions.
+ name> .For a listing of key names see the
+ section on . Functions are
+ listed in the functions.
@@ -3792,19 +3809,17 @@ folder-hook . set sort=date-sent
-
+ Using color and mono video attributes
-
-
- Usage: objectforegroundbackground [regexp]
+ object foreground background [regexp]
- Usage: index foregroundbackgroundpattern
+ index foreground pattern
- Usage: index pattern[pattern...]
+ index pattern [pattern ...]
@@ -4038,9 +4053,9 @@ folder-hook . set sort=date-sent
-
+
set COLORFGBG="green;black"
-export COLORFGBG
+export COLORFGBG
@@ -4087,13 +4102,13 @@ export COLORFGBG
- Usage: <object> <attribute>[regexp]
+ object attribute [regexp]
- Usage: index attributepattern
+ index attribute pattern
- Usage: index pattern [pattern...]
+ index pattern [pattern ...]
@@ -4144,15 +4159,15 @@ export COLORFGBG
-
+ Ignoring (weeding) unwanted message headers
- Usage: pattern [pattern...]
+ pattern [pattern ...]
- Usage: pattern [pattern...]
+ pattern [pattern ...]
@@ -4186,12 +4201,12 @@ export COLORFGBG
For example:
-
+
# Sven's draconian header weeding
ignore *
unignore from date subject to cc
unignore organization organisation x-mailer: x-newsreader: x-mailing-list:
-unignore posted-to:
+unignore posted-to:
@@ -4201,15 +4216,15 @@ unignore posted-to:
-
+ Alternative addresses
- Usage: regexp [regexp...]
+ regexp [regexp ...]
- Usage: regexp [regexp...]
+ regexp [regexp ...]
@@ -4308,8 +4323,8 @@ unignore posted-to:
-
-set wrapmargin = 10
+
+set wrapmargin = 10
@@ -4325,8 +4340,8 @@ set wrapmargin = 10
-
-set max_line_length = 120
+
+set max_line_length = 120
@@ -4343,11 +4358,11 @@ set max_line_length = 120
-
+
>Bill, can you please send last month's progress report to Mr.
>Morgan? We also urgently need the cost estimation for the new
>production server that we want to set up before our customer's
->project will go live.
+>project will go live.
@@ -4359,8 +4374,8 @@ set max_line_length = 120
-
-set stuff_quoted
+
+set stuff_quoted
@@ -4370,11 +4385,11 @@ set stuff_quoted
-
+
> Bill, can you please send last month's progress report to Mr.
> Morgan? We also urgently need the cost estimation for the new
> production server that we want to set up before our customer's
-> project will go live.
+> project will go live.
@@ -4390,8 +4405,8 @@ set stuff_quoted
-
-set text_flowed
+
+set text_flowed
@@ -4467,21 +4482,20 @@ set text_flowed
-
-
+ Mailing lists
- Usage: regexp [regexp...]
+ regexp [regexp ...]
- Usage: regexp [regexp...]
+ regexp [regexp ...]
- Usage: regexp [regexp...]
+ regexp [regexp ...]
- Usage: regexp [regexp...]
+ regexp [regexp ...]
@@ -4584,14 +4598,14 @@ set text_flowed
-
+ Defining mailboxes which receive mail
- Usage: [!]filename [filename...]
+ [!]filename [filename ... ]
- Usage: [!]filename [filename...]
+ [!]filename [filename ... ]
@@ -4653,14 +4667,14 @@ set text_flowed
-
+ User defined headers
- Usage: string
+ string
- Usage: field [field...]
+ field [field ...]
@@ -4675,8 +4689,8 @@ set text_flowed
-
-my_hdr Organization: A Really Big Company, Anytown, USA
+
+my_hdr Organization: A Really Big Company, Anytown, USA
@@ -4709,8 +4723,8 @@ my_hdr Organization: A Really Big Company, Anytown, USA
-
-unmy_hdr to cc
+
+unmy_hdr to cc
@@ -4719,13 +4733,17 @@ unmy_hdr to cc
-
+ Defining the order of headers when viewing messages
- Usage: header1header2header3
+ header header [header ...]
-
+
+
+ [ * | header header ...]
+
+
With this command, you can specify an order in which mutt will attempt
to present headers to you when viewing messages.
@@ -4740,8 +4758,8 @@ unmy_hdr to cc
-
-hdr_order From Date: From: To: Cc: Subject:
+
+hdr_order From Date: From: To: Cc: Subject:
@@ -4780,9 +4798,9 @@ hdr_order From Date: From: To: Cc: Subject:
-
+
save-hook me@(turing\\.)?cs\\.hmc\\.edu$ +elkins
-save-hook aol\\.com$ +spam
+save-hook aol\\.com$ +spam
@@ -4821,16 +4839,18 @@ save-hook aol\\.com$ +spam
- Example: [@.]aol\\.com$
- +spammers
-
+ Example:
+
+
+
+
+fcc-hook [@.]aol\\.com$ +spammers
- The above will save a copy of all messages going to the aol.com domain
- to
- the `+spammers' mailbox by default. Also see the
- command.
+ The above will save a copy of all messages going to the aol.com
+ domain to the `+spammers' mailbox by default. Also see the
+ command.
@@ -4978,9 +4998,9 @@ save-hook aol\\.com$ +spam
Example:
-
-message-hook 'set pager=builtin'
-message-hook ' freshmeat-news' 'set pager="less \"+/^ subject:.*\""'
+
+message-hook ~A 'set pager=builtin'
+message-hook '~f freshmeat-news' 'set pager="less \"+/^ subject:.*\""'
@@ -5021,25 +5041,24 @@ message-hook ' freshmeat-news' 'set pager="less \"
-
+ Adding key sequences to the keyboard buffer
- Usage: string
+ string
This command adds the named string to the keyboard buffer. The
string may contain control characters, key names and function
- names like the sequence string in the command. You may use it to
+ names like the sequence string in the command. You may use it to
automatically run a sequence of commands at startup, or when
entering certain folders. For example, the following command
will automatically collapse all threads when entering a folder:
-
-folder-hook . 'push <collapse-all>'
-
+
+folder-hook . 'push <collapse-all>'
@@ -5049,11 +5068,11 @@ folder-hook . 'push <collapse-all>'
-
+ Executing functions
- Usage: function [function...]
+ function [function ... ]
@@ -5068,14 +5087,14 @@ folder-hook . 'push <collapse-all>'
-
+ Message Scoring
- Usage: patternvalue
+ pattern value
- Usage: pattern [pattern...]
+ pattern [pattern ... ]
@@ -5098,9 +5117,9 @@ folder-hook . 'push <collapse-all>'
-
-score " nion@muttng\.org" 50
-score " @sco\.com" -100
+
+score "~f nion@muttng\.org" 50
+score "~f @sco\.com" -100
@@ -5112,8 +5131,8 @@ score " @sco\.com" -100
-
-score " santaclaus@northpole\.int" =666
+
+score "~f santaclaus@northpole\.int" =666
@@ -5187,9 +5206,9 @@ score " santaclaus@northpole\.int" =666
-
-color index black yellow " 10-"
-color index red yellow " 100-"
+
+color index black yellow "~n 10-"
+color index red yellow "~n 100-"
@@ -5207,14 +5226,14 @@ color index red yellow " 100-"
-
+ Spam detection
- Usage: patternformat
+ pattern format
- Usage: pattern
+ pattern
@@ -5269,11 +5288,11 @@ color index red yellow " 100-"
For example, suppose I use DCC, SpamAssassin, and PureMessage. I might
define these spam settings:
-
+
spam "X-DCC-.*-Metrics:.*(....)=many" "90+/DCC-%1"
spam "X-Spam-Status: Yes" "90+/SA"
spam "X-PerlMX-Spam: .*Probability=([0-9]+)%" "%1/PM"
-set spam_separator=", "
+set spam_separator=", "
@@ -5368,8 +5387,8 @@ set spam_separator=", "
-
-spam "^From: .*MAILER-DAEMON" "999"
+
+spam "^From: .*MAILER-DAEMON" "999"
@@ -5379,20 +5398,20 @@ spam "^From: .*MAILER-DAEMON" "999"
-
+ Setting variables
- Usage: [no|inv]variable[=value] [variable...]
+ [no|inv]variable [=value] [variable...]
- Usage: variable [variable...]
+ variable [variable ...]
- Usage: variable [variable...]
+ variable [variable ...]
- Usage: variable [variable...]
+ variable [variable ...]
@@ -5474,8 +5493,8 @@ spam "^From: .*MAILER-DAEMON" "999"
-
-set ?allow_8bit
+
+set ?allow_8bit
@@ -5505,11 +5524,11 @@ set ?allow_8bit
-
+ Reading initialization commands from another file
- Usage: filename [filename...]
+ filename [filename ...]
@@ -5541,11 +5560,11 @@ set ?allow_8bit
-
+ Removing hooks
- Usage: [* | hook-type]
+ [* | hook-type]
@@ -5585,8 +5604,8 @@ set ?allow_8bit
-
-set config_charset = "..."
+
+set config_charset = "..."
@@ -5651,9 +5670,9 @@ set config_charset = "..."
-
+
ifdef <item> <command>
-ifndef <item> <command>
+ifndef <item> <command>
@@ -5714,10 +5733,10 @@ ifndef <item> <command>
-
+
ifdef feature_imap 'source ~/.mutt-ng/setup-imap'
ifdef feature_pop 'source ~/.mutt-ng/setup-pop'
-ifdef feature_nntp 'source ~/.mutt-ng/setup-nntp'
+ifdef feature_nntp 'source ~/.mutt-ng/setup-nntp'
@@ -5740,8 +5759,8 @@ ifdef feature_nntp 'source ~/.mutt-ng/setup-nntp'
-
-ifdef imap_mail_check 'set imap_mail_check = 300'
+
+ifdef imap_mail_check 'set imap_mail_check = 300'
@@ -5755,8 +5774,8 @@ ifdef imap_mail_check 'set imap_mail_check = 300'
-
-ifdef pager 'set pager_index_lines = 10'
+
+ifdef pager 'set pager_index_lines = 10'
@@ -5770,9 +5789,9 @@ ifdef pager 'set pager_index_lines = 10'
-
+
ifdef feature_ncurses 'source ~/.mutt-ng/setup-ncurses'
-ifndef feature_ncurses 'source ~/.mutt-ng/setup-slang'
+ifndef feature_ncurses 'source ~/.mutt-ng/setup-slang'
@@ -5782,9 +5801,9 @@ ifndef feature_ncurses 'source ~/.mutt-ng/setup-slang'
-
+
ifdef feature_slang 'source ~/.mutt-ng/setup-slang'
-ifndef feature_slang 'source ~/.mutt-ng/setup-ncurses'
+ifndef feature_slang 'source ~/.mutt-ng/setup-ncurses'
@@ -6260,7 +6279,7 @@ ifndef feature_slang 'source ~/.mutt-ng/setup-ncurses'
It must be noted that in this table, EXPR is
a regular expression. For ranges, the forms
- <[MAX], >>[MIN],
+ <[MAX], >>[MIN],
[MIN]- and -[MAX] are
also possible.
@@ -6445,8 +6464,8 @@ ifndef feature_slang 'source ~/.mutt-ng/setup-ncurses'
-
-set status_format = "%v on %h: ..."
+
+set status_format = "%v on %h: ..."
@@ -6506,8 +6525,8 @@ Mutt-ng 1.5.9i on mailhost: ...
-
-set status_format = "%v on %h: %B: ...
+
+set status_format = "%v on %h: %B: ...
@@ -6551,8 +6570,8 @@ Mutt-ng 1.5.9i on mailhost: Inbox: ...
-
-set status_format = "%v on %h: %B %?n?%n new? ...
+
+set status_format = "%v on %h: %B %?n?%n new? ...
@@ -6567,7 +6586,7 @@ set status_format = "%v on %h: %B %?n?%n new? ...
-%?<item>?<string if nonzero>?
+%?<item>?<string if nonzero>?
@@ -6593,7 +6612,7 @@ set status_format = "%v on %h: %B %?n?%n new? ...
-%?<item>?<string if nonzero>&<string if zero>?
+%?<item>?<string if nonzero>&<string if zero>?
@@ -6633,8 +6652,8 @@ set status_format = "%v on %h: %B %?n?%n new? ...
-
-set status_format = "%v on %h: %B: %?n?%n new messages&no new messages? ...
+
+set status_format = "%v on %h: %B: %?n?%n new messages&no new messages? ...
@@ -6645,8 +6664,8 @@ set status_format = "%v on %h: %B: %?n?%n new messages&no new messages? ...<
-
-set status_format = "%v on %h: %B: %?n?%n&no? new messages ...
+
+set status_format = "%v on %h: %B: %?n?%n&no? new messages ...
@@ -6729,8 +6748,8 @@ set status_format = "%v on %h: %B: %?n?%n&no? new messages ...
-
-set status_format = "%v on %h: %B: %?n?%n&no? new messages %|-"
+
+set status_format = "%v on %h: %B: %?n?%n&no? new messages %|-"
@@ -6755,8 +6774,8 @@ set status_format = "%v on %h: %B: %?n?%n&no? new messages %|-"
-
-set status_format = "%B: %?n?%n&no? new messages %> (%v on %h)"
+
+set status_format = "%B: %?n?%n&no? new messages %> (%v on %h)"
@@ -6806,7 +6825,7 @@ set status_format = "%B: %?n?%n&no? new messages %> (%v on %h)"
- In or commands,
+ In or commands,
you can use the ``tag-prefix-cond'' operator. If there are no tagged
messages, mutt will "eat" the rest of the macro to abort it's
execution.Mutt-ng will stop "eating" the macro when it encounters the
@@ -6901,9 +6920,9 @@ set status_format = "%B: %?n?%n&no? new messages %> (%v on %h)"
-
+
send-hook . 'unmy_hdr From:'
-send-hook '^b@b\.b$' my-hdr from: c@c.c
+send-hook '~C ^b@b\.b$' my-hdr from: c@c.c
@@ -6936,8 +6955,8 @@ send-hook '^b@b\.b$' my-hdr from: c@c.c
sending
mail to a specific address, you could do something like:
-
-send-hook ' ^me@cs\.hmc\.edu$' 'my-hdr From: Mutt-ng User <user@host>'
+
+send-hook '~t ^me@cs\.hmc\.edu$' 'my-hdr From: Mutt-ng User <user@host>'
which would execute the given command when sending mail to
me@cs.hmc.edu.
@@ -6980,37 +6999,37 @@ send-hook ' ^me@cs\.hmc\.edu$' 'my-hdr From: Mutt-
and highlights the ones with new email
Use the following configuration commands:
-
+
set sidebar_visible="yes"
-set sidebar_width=25
+set sidebar_width=25
If you want to specify the mailboxes you can do so with:
-
+
set mbox='=INBOX'
mailboxes INBOX \
MBOX1 \
MBOX2 \
-...
+...
You can also specify the colors for mailboxes with new mails by using:
-
+
color sidebar_new red black
-color sidebar white black
+color sidebar white black
Reasonable key bindings look e.g. like this:
-
+
bind index \Cp sidebar-prev
bind index \Cn sidebar-next
bind index \Cb sidebar-open
@@ -7019,7 +7038,7 @@ bind pager \Cn sidebar-next
bind pager \Cb sidebar-open
macro index B ':toggle sidebar_visible^M'
-macro pager B ':toggle sidebar_visible^M'
+macro pager B ':toggle sidebar_visible^M'
@@ -7049,8 +7068,8 @@ macro pager B ':toggle sidebar_visible^M'
-
-set query_command = "mutt_ldap_query.pl '%s'"
+
+set query_command = "mutt_ldap_query.pl '%s'"
@@ -7127,8 +7146,8 @@ roessler@guug.de Thomas Roessler mutt pgp
-
-From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST
+
+From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST
@@ -7272,7 +7291,7 @@ From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST
know what addresses you consider to be mailing lists (technically
this does not have to be a mailing list, but that is what it is most
often used for), and what lists you are subscribed to. This is
- accomplished through the use of the
+ accomplished through the use of the
commands in your muttrc.
@@ -7832,7 +7851,7 @@ imap://imapserver:port/INBOX
If compiled with ``--enable-nntp'' option, Mutt-ng can read news from
a newsserver via NNTP. You can open a newsgroup with the
``change-newsgroup'' function from the index/pager which is by default
- bound to i.
+ bound to i.
@@ -7871,8 +7890,8 @@ imap://imapserver:port/INBOX
-
-score =42
+
+score ~* =42
@@ -7883,8 +7902,8 @@ score =42
-
-score ! =42
+
+score !~* =42
@@ -8006,10 +8025,10 @@ score ! =42
-
+
account-hook . 'unset imap_user; unset imap_pass; unset tunnel'
account-hook imap://host1/ 'set imap_user=me1 imap_pass=foo'
-account-hook imap://host2/ 'set tunnel="ssh host2 /usr/libexec/imapd"'
+account-hook imap://host2/ 'set tunnel="ssh host2 /usr/libexec/imapd"'
@@ -8031,9 +8050,9 @@ account-hook imap://host2/ 'set tunnel="ssh host2 /usr/libexec/imapd"'
retrieved at
and the configuration commands:
-
+
macro index \cb |urlview\n
-macro pager \cb |urlview\n
+macro pager \cb |urlview\n
@@ -8083,10 +8102,10 @@ macro pager \cb |urlview\n
-
-open-hook \\.gz$ "gzip -cd %f > %t"
-close-hook \\.gz$ "gzip -c %t > %f"
-append-hook \\.gz$ "gzip -c %t >> %f"
+
+open-hook \\.gz$ "gzip -cd %f > %t"
+close-hook \\.gz$ "gzip -c %t > %f"
+append-hook \\.gz$ "gzip -c %t >> %f"
@@ -8154,9 +8173,8 @@ append-hook \\.gz$ "gzip -c %t >> %f"
-
-open-hook \\.gz$ "gzip -cd %f > %t"
-
+
+open-hook \\.gz$ "gzip -cd %f > %t"
@@ -8204,8 +8222,8 @@ open-hook \\.gz$ "gzip -cd %f > %t"
-
-close-hook \\.gz$ "gzip -c %t > %f"
+
+close-hook \\.gz$ "gzip -c %t > %f"
@@ -8254,8 +8272,8 @@ close-hook \\.gz$ "gzip -c %t > %f"
-
-append-hook \\.gz$ "gzip -c %t >> %f"
+
+append-hook \\.gz$ "gzip -c %t >> %f"
@@ -8296,10 +8314,9 @@ append-hook \\.gz$ "gzip -c %t >> %f"
-
-open-hook \\.pgp$ "pgp -f < %f > %t"
-close-hook \\.pgp$ "pgp -fe YourPgpUserIdOrKeyId < %t > %f"
-
+
+open-hook \\.pgp$ "pgp -f < %f > %t"
+close-hook \\.pgp$ "pgp -fe YourPgpUserIdOrKeyId < %t > %f"
@@ -8447,8 +8464,8 @@ close-hook \\.pgp$ "pgp -fe YourPgpUserIdOrKeyId < %t > %f"
Attachments appear as follows:
-1 [text/plain, 7bit, 1K] /tmp/mutt-euler-8082-0 <no description>
-2 [applica/x-gunzip, base64, 422K] ~/src/mutt-0.85.tar.gz <no description>
+1 [text/plain, 7bit, 1K] /tmp/mutt-euler-8082-0 <no description>
+2 [applica/x-gunzip, base64, 422K] ~/src/mutt-0.85.tar.gz <no description>
@@ -8784,7 +8801,7 @@ text/html; lynx -dump %s ; copiousoutput
needsterminal
- Mutt-ng uses this flag when viewing attachments with ,
+ Mutt-ng uses this flag when viewing attachments with ,
in order to decide whether it should honor the setting
of the variable or
not. When an attachment is viewed using an interactive
@@ -8938,7 +8955,7 @@ nametemplate=%s.gif
- In addition, you can use this with
+ In addition, you can use this with
to denote two commands for viewing an attachment, one to be viewed
automatically, the other to be viewed interactively from the
attachment
@@ -8951,7 +8968,7 @@ text/html; netscape -remote 'openURL(%s)' ; test=RunningX
text/html; lynx %s; nametemplate=%s.html
text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput
- For , Mutt-ng will choose
+ For , Mutt-ng will choose
the third
entry because of the copiousoutput tag. For interactive viewing,
Mutt
@@ -9019,8 +9036,8 @@ text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput
instance, if
Your mail message contains:
-
-Content-Type: text/plain; charset=iso-8859-1
+
+Content-Type: text/plain; charset=iso-8859-1
then Mutt-ng will expand %{charset} to
iso-8859-1. The default metamail
@@ -9057,8 +9074,8 @@ Content-Type: text/plain; charset=iso-8859-1
>
# I'm always running X :)
-video/*; xanim %s > /dev/null
-image/*; xv %s > /dev/null
+video/*; xanim %s > /dev/null
+image/*; xv %s > /dev/null
# I'm always running netscape (if my computer had more memory, maybe)
text/html; netscape -remote 'openURL(%s)'
@@ -9074,7 +9091,7 @@ text/html; netscape -remote 'openURL(%s)'
# Use xanim to view all videos Xanim produces a header on startup,
# send that to /dev/null so I don't see it
-video/*; xanim %s > /dev/null
+video/*; xanim %s > /dev/null
# Send html to a running netscape by remote
text/html; netscape -remote 'openURL(%s)'; test=RunningNetscape
@@ -9100,8 +9117,8 @@ image/jpeg;xv %s; x-mozilla-flags=internal
image/*;xv %s; test=RunningX; edit=xpaint %s
# Convert images to text using the netpbm tools
-image/*; (anytopnm %s | pnmscale -xysize 80 46 | ppmtopgm | pgmtopbm |
-pbmtoascii -1x2 ) 2>&1 ; copiousoutput
+image/*; (anytopnm %s | pnmscale -xysize 80 46 | ppmtopgm | \
+pgmtopbm | pbmtoascii -1x2 ) 2>&1 ; copiousoutput
# Send excel spreadsheets to my NT box
application/ms-excel; open.pl %s
@@ -9116,9 +9133,17 @@ application/ms-excel; open.pl %s
-
+ MIME Autoview
-
+
+
+ mime-type [mime-type ...]
+
+
+
+ mime-type [mime-type ...]
+
+
In addition to explicitly telling Mutt-ng to view an attachment with
theMIME viewer defined in the mailcap file, Mutt-ng has support for
@@ -9142,9 +9167,9 @@ application/ms-excel; open.pl %s
For instance, if you set auto_view to:
-
+
auto_view text/html application/x-gunzip application/postscript
-image/gif application/x-tar-gz
+image/gif application/x-tar-gz
@@ -9175,9 +9200,17 @@ application/postscript; ps2ascii %s; copiousoutput
-
+ MIME Multipart/Alternative
+
+
+ mime-type [mime-type ...]
+
+
+ mime-type [mime-type ...]
+
+
Mutt-ng has some heuristics for determining which attachment of a
multipart/alternative type to display. First, mutt will check the
@@ -9186,16 +9219,16 @@ application/postscript; ps2ascii %s; copiousoutput
number of
MIME types in order, including support for implicit and explicit
wildcards, for example:
-
-
+
+
alternative_order text/enriched text/plain text
-application/postscript image/*
+application/postscript image/*
Next, mutt will check if any of the types have a defined
- , and use that. Failing
+ , and use that. Failing
that, Mutt-ng will look for any text type. As a last attempt, mutt
willlook for any type it knows how to handle.
@@ -9210,10 +9243,147 @@ application/postscript image/*
-
-
+
+
+ Attachment Searching and Counting
+
+
+ If you ever lose track of attachments in your mailboxes, Mutt's
+ attachment-counting and -searching support might be for you. You
+ can make your message index display the number of qualifying
+ attachments in each message, or search for messages by
+ attachment count. You also can configure what kinds of
+ attachments qualify for this feature with the attachments and
+ unattachments commands.
+
+
+
+The syntax is:
+
+
+
+
+ ( {+|-}disposition mime-type | ? )
+
+
+
+
+ {+|-}disposition mime-type
+
+
+
+
+Disposition is the attachment's Content-disposition type -- either
+"inline" or "attachment". You can abbreviate this to I or A.
+
+
+
+Disposition is prefixed by either a + symbolor a - symbol. If it's
+a +, you're saying that you want to allow this disposition and MIME
+type to qualify. If it's a -, you're saying that this disposition
+and MIME type is an exception to previous + rules. There are examples
+below of how this is useful.
+
+
+
+Mime-type is, unsurprisingly, the MIME type of the attachment you want
+to affect. A MIME type is always of the format "major/minor", where
+"major" describes the broad category of document you're looking at, and
+"minor" describes the specific type within that category. The major
+part of mim-type must be literal text (or the special token "*"), but
+the minor part may be a regular expression. (Therefore, "*/.*" matches
+any MIME type.)
+
+
+
+The MIME types you give to the attachments directive are a kind of
+pattern. When you use the attachments directive, the patterns you
+specify are added to a list. When you use unattachments, the pattern
+is removed from the list. The patterns are not expanded and matched
+to specific MIME types at this time -- they're just text in a list.
+They're only matched when actually evaluating a message.
+
+
+
+Some examples might help to illustrate. The examples that are not
+commented out define the default configuration of the lists.
+
+
+
+## Removing a pattern from a list removes that pattern literally. It
+## does not remove any type matching the pattern.
+##
+## attachments +A */.*
+## attachments +A image/jpeg
+## unattachments +A */.*
+##
+## This leaves "attached" image/jpeg files on the allowed attachments
+## list. It does not remove all items, as you might expect, because the
+## second */.* is not a matching expression at this time.
+##
+## Remember: "unattachments" only undoes what "attachments" has done!
+## It does not trigger any matching on actual messages.
+
+
+## Qualify any MIME part with an "attachment" disposition, EXCEPT for
+## text/x-vcard and application/pgp parts. (PGP parts are already known
+## to mutt, and can be searched for with ~g, ~G, and ~k.)
+##
+## I've added x-pkcs7 to this, since it functions (for S/MIME)
+## analogously to PGP signature attachments. S/MIME isn't supported
+## in a stock mutt build, but we can still treat it specially here.
+##
+attachments +A */.*
+attachments -A text/x-vcard application/pgp.*
+attachments -A application/x-pkcs7-.*
+
+## Discount all MIME parts with an "inline" disposition, unless they're
+## text/plain. (Why inline a text/plain part unless it's external to the
+## message flow?)
+##
+attachments +I text/plain
+
+## These two lines make Mutt qualify MIME containers. (So, for example,
+## a message/rfc822 forward will count as an attachment.) The first
+## line is unnecessary if you already have "attach-allow */.*", of
+## course. These are off by default! The MIME elements contained
+## within a message/* or multipart/* are still examined, even if the
+## containers themseves don't qualify.
+##
+#attachments +A message/.* multipart/.*
+#attachments +I message/.* multipart/.*
+
+## You probably don't really care to know about deleted attachments.
+attachments -A message/external-body
+attachments -I message/external-body
+
+
+
+"attachments ?" will list your current settings in Muttrc format, so
+that it can be pasted elsewhere.
+
+
+
+ Please note that counting attachments may require lots of data be
+ loaded. This may cause noticeable slowdowns over network links
+ depending on the connection speed and message sizes. To fine-tune the
+ behavior on a per-folder or other basis, the variable may be used.
+
+
+
+
+ MIME Lookup
-
+
+
+ mime-type [mime-type ...]
+
+
+
+ mime-type [mime-type ...]
+
+
Mutt-ng's mime_lookup list specifies a list of mime-types that
should not
@@ -9230,8 +9400,8 @@ application/postscript image/*
configuration
options (such as auto_view) specified. Common usage would be:
-
-mime_lookup application/octet-stream application/X-Lotus-Manuscript
+
+mime_lookup application/octet-stream application/X-Lotus-Manuscript
@@ -9518,7 +9688,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg
-
+
Reference: Command Line Options
@@ -9686,7 +9856,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg
-