Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: HTML display
       [not found] ` <v9hdlpwve3.fsf@marauder.physik.uni-ulm.de>
@ 2005-01-11 22:34   ` David Sumbler
  0 siblings, 0 replies; 2+ messages in thread
From: David Sumbler @ 2005-01-11 22:34 UTC (permalink / raw)


Reiner Steib <reinersteib+from-uce@imap.cc> writes:

> On Sun, Jan 09 2005, David Sumbler wrote:
>
>> I looked at the Gnus manual, and thought I would try html2text or
>> links, but at the moment the variables gnus-article-wash-function and
>> mm-text-html-renderer, mentioned by the manual, don't even seem to
>> exist.  (The manual seems to imply that they ought already to exist.)
> [...]
>> I'm using Emacs 21.3 on Fedora Core 2.
>
> You should look at the manual corresponding to your version of Gnus.
> `mm-text-html-renderer' doesn't exist in Gnus 5.9 which comes with
> Emacs 21.[1-3].  I'd recommend to upgrade to Gnus 5.10.6.
>
> Like others already mentioned, many people prefer emacs-w3m as a
> renderer function: (setq mm-text-html-renderer 'w3m)

I took your advice, and installed Gnus 5.10.6.

Instantly the HTML washing works!

As for the absence of a .gnus file: presumably one has to create this
oneself.  Certainly Gnus reads the .gnus file I created which only
currently has one line:

(setq fred 'joe)

Well, obviously that was just for testing purposes.

Perhaps the reason that my gnus variables all seem to be in .emacs and
not in .gnus is that I have tended to use the "customization"
interface (e.g. by pressing 'G c' in the Group buffer) to make
changes, rather than editing the .gnus file directly.

I still haven't solved my other problem, but I'll post to the relevant
thread.

Thanks for your help.

David


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

* Re: HTML display
       [not found] <m37jmmon55.fsf@ceres.staly.plus.com>
@ 2005-01-09 14:56 ` Andrew A. Raines
       [not found] ` <v9hdlpwve3.fsf@marauder.physik.uni-ulm.de>
  1 sibling, 0 replies; 2+ messages in thread
From: Andrew A. Raines @ 2005-01-09 14:56 UTC (permalink / raw)


David Sumbler <david@aeolia.co.uk> writes:

> When I view a message which has a Content-Type header
> showing that it is HTML, I see the HTML, rather than the
> "washed" version.
>
> If I press "W h", I get "Can't open load file: w3".
> Well, that's not really surprising: I don't have w3.

A lot of people prefer emacs-w3m[1].  It makes
web-browsing much more pleasant in Emacs, plus it renders
HTML very well as plain text in Gnus.

Once you have it installed, activate it with this in your .gnus:

  (setq mm-text-html-renderer 'w3m)
  (setq mm-inline-text-html-with-images t)
  (setq mm-inline-text-html-renderer 'mm-inline-text-html-render-with-w3m)

I also like to set gnus-inhibit-mime-unbuttonizing.  It
allows me to hit b to switch between text/plain and
text/html when viewing a multipart message.

Footnotes: 
[1]  http://emacs-w3m.namazu.org/, or look for the w3m-el
     and w3m-el-common packages for Fedora.

-- 
    aaraines@pobox.com (Andrew A. Raines)

``It took me like three hours to finish the shading on
your upper lip.''
                        --Napoleon Dynamite


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

end of thread, other threads:[~2005-01-11 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m37jmmon55.fsf@ceres.staly.plus.com>
2005-01-09 14:56 ` HTML display Andrew A. Raines
     [not found] ` <v9hdlpwve3.fsf@marauder.physik.uni-ulm.de>
2005-01-11 22:34   ` David Sumbler

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