| www.delorie.com/gnu/docs/emacs/gnus_102.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ 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-unbuttonized-mime-types
(".*/.*").
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
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |