Gnus development mailing list
 help / color / mirror / Atom feed
From: Malcolm Purvis <malcolm@purvis.id.au>
To: ding@gnus.org
Subject: Re: Never automatically display HTML in an email
Date: Fri, 01 Jun 2018 18:00:18 +1000	[thread overview]
Message-ID: <m21sdrrl65.fsf@purvis.id.au> (raw)
In-Reply-To: <87lgbzb1dt.fsf@gmail.com> (Chris Marusich's message of "Thu, 31 May 2018 21:02:06 -0700")

>>>>> "Chris" == Chris Marusich <cmmarusich@gmail.com> writes:

Chris> If anyone has any tips on how to make Gnus never automatically
Chris> display HTML in emails, while at the same time giving me the
Chris> option of displaying the HTML in Gnus if I want to [...]

I use the following settings, which displays the text part of the
message whenever possible, but leaves a button that will display the
HTML if I want:

--8<---------------cut here---------------start------------->8---
(setq
  gnus-buttonized-mime-types '("multipart/alternative" "multipart/signed")
   mm-discouraged-alternatives '("text/html" "image/.*")
   gnus-mime-display-multipart-related-as-mixed t
)
--8<---------------cut here---------------end--------------->8---

Malcolm


-- 
	       Malcolm Purvis <malcolm@purvis.id.au>



  reply	other threads:[~2018-06-01  8:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-01  4:02 Chris Marusich
2018-06-01  8:00 ` Malcolm Purvis [this message]
2018-06-05  7:27   ` Chris Marusich
2018-06-05 15:24     ` Jorge A. Alfaro-Murillo
2018-06-05 15:33       ` Emanuel Berg
2018-06-06  4:42       ` Chris Marusich
2018-06-06 16:58         ` Eric Abrahamsen
2018-06-06 17:37           ` Emanuel Berg
2018-06-06 18:06             ` Eric Abrahamsen
2018-06-06 18:41               ` Emanuel Berg
2018-06-06 18:51                 ` Eric Abrahamsen
2018-06-05 19:01     ` Andreas Schwab
2018-06-01  8:05 ` Andreas Schwab
2018-06-01  9:27   ` Adam Sjøgren
2018-06-01 11:56 ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m21sdrrl65.fsf@purvis.id.au \
    --to=malcolm@purvis.id.au \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).