Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* GNus 5.9.0 tries opening HTML, but text/plain preferred
@ 2006-10-18 17:08 Jerry Sievers
  2006-10-18 20:39 ` Reiner Steib
  2006-10-19  3:22 ` Ivan Boldyrev
  0 siblings, 2 replies; 3+ messages in thread
From: Jerry Sievers @ 2006-10-18 17:08 UTC (permalink / raw)


Hello, I'm a long time GNuser but confess to having not been deep into
the docs for a while. 

This is GNus 5.9.0 on Fedora-4.

Anyway, I see that my Gnus is opening the HTML part of messages that
have alternative content types, and in cases where this is totally
bogus MS Outlook HTML, the rendering fails and shows up as raw
markup. 

Gnus manual refers to "The EMacs MIME Manual" for more info on how
Gnus might handle automatic opening of MIME parts.

I dont' find that manual here.

Question; how would I tell Gnus to choose text/plain over text/html
when doing inline rendering of message content?

Thanks

PS: Also curious that "customize group, Gnus MIME is empty of anything
configureable?

-- 
-------------------------------------------------------------------------------
Jerry Sievers   305 854-3001 (home)     WWW ECommerce Consultant
                305 321-1144 (mobile	http://www.JerrySievers.com/

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

* Re: GNus 5.9.0 tries opening HTML, but text/plain preferred
  2006-10-18 17:08 GNus 5.9.0 tries opening HTML, but text/plain preferred Jerry Sievers
@ 2006-10-18 20:39 ` Reiner Steib
  2006-10-19  3:22 ` Ivan Boldyrev
  1 sibling, 0 replies; 3+ messages in thread
From: Reiner Steib @ 2006-10-18 20:39 UTC (permalink / raw)


On Wed, Oct 18 2006, Jerry Sievers wrote:

> This is GNus 5.9.0 on Fedora-4.
[...]
> Gnus manual refers to "The EMacs MIME Manual" for more info on how
> Gnus might handle automatic opening of MIME parts.
>
> I dont' find that manual here.

(info "(emacs-mime)Top"); <== Press C-x C-e here!

If this doesn't bring you to the following node, your installation is
broken or Fedora's Emacs or Gnus package is broken.

,----[ (info "(emacs-mime)Top") ]
| Emacs MIME
| **********
| 
| This manual documents the libraries used to compose and display MIME
| messages.
`----

> Question; how would I tell Gnus to choose text/plain over text/html
> when doing inline rendering of message content?

FAQ:

,----[ (info "(gnus)[4.6]") | http://my.gnus.org/FAQ ]
| 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.
`----

I'm not sure if it works for the ancient Gnus 5.9, though.

> PS: Also curious that "customize group, Gnus MIME is empty of anything
> configureable?

Hm, yes.  This customize group seems to be bogus (also in the current
version).

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: GNus 5.9.0 tries opening HTML, but text/plain preferred
  2006-10-18 17:08 GNus 5.9.0 tries opening HTML, but text/plain preferred Jerry Sievers
  2006-10-18 20:39 ` Reiner Steib
@ 2006-10-19  3:22 ` Ivan Boldyrev
  1 sibling, 0 replies; 3+ messages in thread
From: Ivan Boldyrev @ 2006-10-19  3:22 UTC (permalink / raw)


On 9632 day of my life Jerry Sievers wrote:
> Anyway, I see that my Gnus is opening the HTML part of messages that
> have alternative content types, and in cases where this is totally
> bogus MS Outlook HTML, the rendering fails and shows up as raw
> markup. 

Install w3m (a text browser) and emacs-w3m.  Then
(setq mm-text-html-renderer 'w3m)

Or set the variable to other value that uses different browser you have.

> Question; how would I tell Gnus to choose text/plain over text/html
> when doing inline rendering of message content?

(setq mm-discouraged-alternatives '("text/html"))

You can also M-x customize-variable these two variables.

-- 
Ivan Boldyrev

                                                  Your bytes are bitten.

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-18 17:08 GNus 5.9.0 tries opening HTML, but text/plain preferred Jerry Sievers
2006-10-18 20:39 ` Reiner Steib
2006-10-19  3:22 ` Ivan Boldyrev

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