[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Single Page
Top Document: Gnus (Emacs Newsreader) FAQ
Previous Document: Q2.22 Base64 decoding and encoding appears to be horribly slow in Pterodactyl Gnus. What can I do about it?
Next Document: Q3.1 How do I convert my kill files to score files?
-
Search the FAQ Archives
Single Page
Top Document: Gnus (Emacs Newsreader) FAQ
Previous Document: Q2.22 Base64 decoding and encoding appears to be horribly slow in Pterodactyl Gnus. What can I do about it?
Next Document: Q3.1 How do I convert my kill files to score files?
Q2.23 I don't want HTML to be automatically expanded in mail or news. What can I do?
This question is only really relevant to Gnus 5.8.x or greater, as
Gnus did not have native MIME capability before those versions.
The variable mm-discouraged-alternatives may be helpful. If you do the
following:
(setq mm-discouraged-alternatives
'("text/html"
"text/richtext"))
It will always show the text/plain part of a multipart which has both
a text/plain and a text/html part, for instance. However, if there is
no plaintext part, Gnus will still process the HTML. If you wish to
prevent that, you can do one or the other of the following:
1. Use mm-inline-override-types.
If you set this variable to the same value that
mm-discouraged-alternatives is set to in the above example, the
HTML will initially be buttonized instead of displayed.
2. Use mm-inline-media-tests.
Dale Hagglund <rdh@best.com>writes:
I added the following to my .gnus file not too long ago.
(setq mm-inline-media-tests
(cons '("text/html" nil (lambda (h) nil))
mm-inline-media-tests))
[...] text/html parts are not automatically displayed using w3 or
any other browser; they are given buttons, and the html text is
shown inline. if you click the button twice, gnus starts any
text/html viewer specified in you .mailcap file.
------------------------------
3. Reading News
Top Document: Gnus (Emacs Newsreader) FAQ
Previous Document: Q2.22 Base64 decoding and encoding appears to be horribly slow in Pterodactyl Gnus. What can I do about it?
Next Document: Q3.1 How do I convert my kill files to score files?
Single Page
[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
Justin Sheehy <dworkin@ccs.neu.edu>
Last Update October 23 2009 @ 08:41 AM