X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fmanual.xml.head;h=2c06da458d3082ea6f9119c8d065c72e71a3cd01;hb=c8becc4d099cee8c18ebd967720ce7204311d817;hp=fc5033fed01af1736473ed73b2a3c9be061cdb44;hpb=c3395beb56b325b808dec71828025a28655968a8;p=apps%2Fmadmutt.git
diff --git a/doc/manual.xml.head b/doc/manual.xml.head
index fc5033f..2c06da4 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
@@ -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
@@ -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,7 +1641,7 @@
Miscellaneous Functions
-
+ a
@@ -1642,7 +1655,7 @@
-
+ P
@@ -1656,7 +1669,7 @@
-
+ h
@@ -1665,7 +1678,7 @@
-
+ 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 @@
-
+ :
@@ -1713,7 +1726,7 @@
-
+ K
@@ -1722,7 +1735,7 @@
-
+ F
@@ -1731,7 +1744,7 @@
-
+ L
@@ -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,7 +1919,7 @@
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:
@@ -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
@@ -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
@@ -2239,8 +2252,8 @@ set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:"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
@@ -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
@@ -2573,11 +2586,11 @@ 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
@@ -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
@@ -3500,7 +3513,7 @@ set alias_file=~/.mail_aliases
-
+
Alternative Key Names
@@ -3515,11 +3528,11 @@ set alias_file=~/.mail_aliases
tab
- <tab>
+ <tab>tab
- <backtab>
+ <backtab>backtab / shift-tab
@@ -3535,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
@@ -3755,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.
@@ -4830,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.
@@ -4988,8 +4999,8 @@ 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:.*\""'
@@ -5047,8 +5058,7 @@ message-hook ' freshmeat-news' 'set pager="less \"
will automatically collapse all threads when entering a folder:
-folder-hook . 'push <collapse-all>'
-
+folder-hook . 'push <collapse-all>'
@@ -5108,8 +5118,8 @@ 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
@@ -5122,7 +5132,7 @@ score " @sco\.com" -100
-score " santaclaus@northpole\.int" =666
+score "~f santaclaus@northpole\.int" =666
@@ -5197,8 +5207,8 @@ 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-"
@@ -6269,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.
@@ -6576,7 +6586,7 @@ set status_format = "%v on %h: %B %?n?%n new? ...
-%?<item>?<string if nonzero>?
+%?<item>?<string if nonzero>?
@@ -6602,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>?
@@ -6765,7 +6775,7 @@ 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)"
@@ -6912,7 +6922,7 @@ 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
@@ -6946,7 +6956,7 @@ send-hook '^b@b\.b$' my-hdr from: c@c.c
-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.
@@ -7841,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.
@@ -7881,7 +7891,7 @@ imap://imapserver:port/INBOX
-score =42
+score ~* =42
@@ -7893,7 +7903,7 @@ score =42
-score ! =42
+score !~* =42
@@ -8093,9 +8103,9 @@ 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"
@@ -8164,8 +8174,7 @@ append-hook \\.gz$ "gzip -c %t >> %f"
-open-hook \\.gz$ "gzip -cd %f > %t"
-
+open-hook \\.gz$ "gzip -cd %f > %t"
@@ -8214,7 +8223,7 @@ open-hook \\.gz$ "gzip -cd %f > %t"
-close-hook \\.gz$ "gzip -c %t > %f"
+close-hook \\.gz$ "gzip -c %t > %f"
@@ -8264,7 +8273,7 @@ close-hook \\.gz$ "gzip -c %t > %f"
-append-hook \\.gz$ "gzip -c %t >> %f"
+append-hook \\.gz$ "gzip -c %t >> %f"
@@ -8306,9 +8315,8 @@ 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"
@@ -8456,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>
@@ -9066,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)'
@@ -9083,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
@@ -9109,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
@@ -9235,7 +9243,136 @@ 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
@@ -9551,7 +9688,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg
-
+
Reference: Command Line Options
@@ -9719,7 +9856,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg
-
+
Reference: Patterns
@@ -9925,6 +10062,11 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg
EXPRmessages which contain EXPR in the `References' field
+
+
+ [MIN]-[MAX]
+ messages with MIN to MAX attachments *)
+ EXPR
@@ -10331,7 +10473,7 @@ mailto:joe@host?Attach=~/.gnupg/secring.gpg
-