Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Disabling HTML rendering
Date: Tue, 31 Jan 2006 23:19:27 +0100	[thread overview]
Message-ID: <v9oe1sm45s.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <8764o088xe.fsf@mid.deneb.enyo.de>

On Tue, Jan 31 2006, Florian Weimer wrote:

> I distrust all HTML renderers, that's why I want to disable it and
> show HTML in plain test.  Is there a way to do this, without ripping
> out parts of the code?

Anything wrong with FAQ 4.6?

,----[ (info "(gnus)[4.6]") ]
| Question 4.6
| 
| I'd like Gnus NOT to render HTML-mails but show me the text part if
| it's available. How to do it?
| 
| Answer
| 
| Say
| 
|      (eval-after-load "mm-decode"
|       '(progn
|            (add-to-list 'mm-discouraged-alternatives "text/html")
|            (add-to-list 'mm-discouraged-alternatives "text/richtext")))
|    in ~/.gnus.el. If you don't want HTML rendered, even if there's no
| text alternative add
| 
|      (setq mm-automatic-display (remove "text/html" mm-automatic-display))
|    too.
`----

> If there is general interest in such a feature, I'm going to add a
> global toggle which disables all external inline rendering (which
> takes place without user interaction and can result in all kinds of
> evil things because these tools are typically written in C).

After our discussion on "Disable mailcap support"[1] in 2003 I have
added `mm-enable-external'.  Please elaborate if that's not
sufficient.

,----[ (info "(emacs-mime)Display Customization") ]
| `mm-enable-external'
|      Indicate whether external MIME handlers should be used.
| 
|      If `t', all defined external MIME handlers are used.  If `nil',
|      files are saved to disk (`mailcap-save-binary-file').  If it is
|      the symbol `ask', you are prompted before the external MIME
|      handler is invoked.
| 
|      When you launch an attachment through mailcap (*note mailcap::) an
|      attempt is made to use a safe viewer with the safest options--this
|      isn't the case if you save it to disk and launch it in a different
|      way (command line or double-clicking).  Anyhow, if you want to be
|      sure not to launch any external programs, set this variable to
|      `nil' or `ask'.
`----

Bye, Reiner.

[1] http://thread.gmane.org/v91xtzxuac.fsf%40marauder.physik.uni-ulm.de
    http://thread.gmane.org/v94qvc6dc6.fsf%40marauder.physik.uni-ulm.de
    <news:v94qvc6dc6.fsf@marauder.physik.uni-ulm.de>
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




      reply	other threads:[~2006-01-31 22:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-31 20:00 Florian Weimer
2006-01-31 22:19 ` Reiner Steib [this message]

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=v9oe1sm45s.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).