Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

Gnus (Emacs Newsreader) FAQ
Section - Q2.23 I don't want HTML to be automatically expanded in mail or news. What can I do?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Restaurant inspections ]


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?
See reader questions & answers on this topic! - Help others by sharing your knowledge

   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
                                       

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




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 March 27 2014 @ 02:11 PM