Gnus development mailing list
 help / color / mirror / Atom feed
* Disabling HTML rendering
@ 2006-01-31 20:00 Florian Weimer
  2006-01-31 22:19 ` Reiner Steib
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Weimer @ 2006-01-31 20:00 UTC (permalink / raw)


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?

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).



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Disabling HTML rendering
  2006-01-31 20:00 Disabling HTML rendering Florian Weimer
@ 2006-01-31 22:19 ` Reiner Steib
  0 siblings, 0 replies; 2+ messages in thread
From: Reiner Steib @ 2006-01-31 22:19 UTC (permalink / raw)


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/




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-31 22:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-31 20:00 Disabling HTML rendering Florian Weimer
2006-01-31 22:19 ` Reiner Steib

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).