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-unbuttonized-mime-types
gnus-buttonized-mime-types
. The default value is
(".*/.*")
.
gnus-buttonized-mime-types
gnus-unbuttonized-mime-types
. The default value 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
to the default value.
gnus-article-mime-part-function
(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
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' file.
Go to the first, previous, next, last section, table of contents.