[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following commands all understand the numerical prefix. For instance, 3 b means "view the third MIME part".
The rest of these MIME commands do not use the numerical prefix in the same manner:
gnus-summary-repair-multipart
).
gnus-summary-save-parts
). Understands the process/prefix
convention (see section 8.1 Process/Prefix).
gnus-summary-toggle-display-buttonized
).
gnus-article-decode-mime-words
).
gnus-article-decode-charset
).
This command looks in the Content-Type
header to determine the
charset. If there is no such header in the article, you can give it a
prefix, which will prompt for the charset to decode as. In regional
groups where people post using some common encoding (but do not
include MIME headers), you can set the charset
group/topic
parameter to the required charset (see section 2.10 Group Parameters).
gnus-mime-view-all-parts
).
Relevant variables:
gnus-ignored-mime-types
nil
.
To have all Vcards be ignored, you'd say something like this:
(setq gnus-ignored-mime-types '("text/x-vcard")) |
gnus-article-loose-mime
nil
, Gnus won't require the `MIME-Version' header
before interpreting the message as a MIME message. This helps
when reading messages from certain broken mail user agents. The
default is nil
.
gnus-article-emulate-mime
nil
, Gnus will look in message bodies to
see if it finds these encodings, and if so, it'll run them through the
Gnus MIME machinery. The default is t
.
gnus-unbuttonized-mime-types
gnus-buttonized-mime-types
. The default value is
(".*/.*")
. This variable is only used when
gnus-inhibit-mime-unbuttonizing
is nil
.
gnus-buttonized-mime-types
gnus-unbuttonized-mime-types
. The default value is nil
.
This variable is only used when gnus-inhibit-mime-unbuttonizing
is nil
.
To see e.g. security buttons but no other buttons, you could set this
variable to ("multipart/signed")
and leave
gnus-unbuttonized-mime-types
at the default value.
gnus-inhibit-mime-unbuttonizing
nil
, then all MIME parts get buttons. The
default value is nil
.
gnus-article-mime-part-function
Here's an example function the does the latter:
(defun my-save-all-jpeg-parts (handle) (when (equal (car (mm-handle-type handle)) "image/jpeg") (with-temp-buffer (insert (mm-get-part handle)) (write-region (point-min) (point-max) (read-file-name "Save jpeg to: "))))) (setq gnus-article-mime-part-function 'my-save-all-jpeg-parts) |
gnus-mime-multipart-functions
mm-file-name-rewrite-functions
Ready-made functions include
mm-file-name-delete-whitespace
,
mm-file-name-trim-whitespace
,
mm-file-name-collapse-whitespace
, and
mm-file-name-replace-whitespace
. The later uses the value of
the variable mm-file-name-replace-whitespace
to replace each
whitespace character in a file name with that string; default value
is "_"
(a single underscore).
The standard functions capitalize
, downcase
,
upcase
, and upcase-initials
may be useful, too.
Everybody knows that whitespace characters in file names are evil, except those who don't know. If you receive lots of attachments from such unenlightened users, you can make live easier by adding
(setq mm-file-name-rewrite-functions '(mm-file-name-trim-whitespace mm-file-name-collapse-whitespace mm-file-name-replace-whitespace)) |
to your `~/.gnus.el' file.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |