koldfront

Ignoring HTML versions in Gnus, except for RSS #gnus

๐Ÿ•›๏ธŽ - 2009-09-20

I don't care to see the HTML versions of emails in Gnus, so I have this in my .gnus configuration file:

  ;; Don't display html inline
  (setq
   mm-discouraged-alternatives '("text/html" "text/richtext" "text/enriched")
   mm-automatic-display (remove "text/html" mm-automatic-display))

Which works nicely for email and news articles. But for rss feeds I would actually like to see the HTML version, with nice links and paragraphs, pictures etc. - so I've set the topic parameters of my rss topic to include this:

  ((mm-inline-text-html-with-images t)
   (mm-discouraged-alternatives nil)
   (mm-automatic-display
    (union '("text/html")
           mm-automatic-display))
   (mm-w3m-safe-url-regexp nil))

... i.e. no discouraged alternatives and add text/html back into mm-automatic-display. Works as expected. Great!

Gnus is quite configurable when it doesn't just do the right thing out of the box.

Add comment

To avoid spam many websites make you fill out a CAPTCHA, or log in via an account at a corporation such as Twitter, Facebook, Google or even Microsoft GitHub.

I have chosen to use a more old school method of spam prevention.

To post a comment here, you need to:

ยน Such as Thunderbird, Pan, slrn, tin or Gnus (part of Emacs).

Or, you can fill in this form:

+=