Gnus development mailing list
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: ding@gnus.org
Subject: Re: Display html article as plain text
Date: Sat, 14 Feb 2009 16:23:36 -0600	[thread overview]
Message-ID: <87bpt47j4n.fsf@newsguy.com> (raw)
In-Reply-To: <87zlgpqgnk.fsf@sdf-eu.org>

Jim Burton <jim@sdf-eu.org> writes:

> Hi, I want to show html messages as plain text, not using w3m. I gather
> this is something to do with washing, but not sure how to do it. W h
> doesn't have the right effect. If possible I'd like to set things up so
> w3m is never used, but otherwise a command to just show the text would
> do. How is this done?
>
> Thanks,

Well, you can only show the plain text if it is included in the post.
Many are not... but also probably most are.

When the plain text is available its a matter of telling gnus your
`prefer' to be shown the plain text... you can also tell gnus to show
you the buttons for both plain/text and text/html so if you really
need to see the html rendered you can still double click the button
and get w3m to render it.

Heres how to do it when the plain text is available

in ~/.gnus
For the buttons:
(setq gnus-buttonized-mime-types (quote ("multipart/signed" "multipart/alternative" )))

To discourage rendered html  and show plain text when possible:
(setq mm-automatic-display (remove "text/html" mm-automatic-display)
    mm-discouraged-alternatives '("text/html" "text/richtext"))




  reply	other threads:[~2009-02-14 22:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-14 13:42 Jim Burton
2009-02-14 22:23 ` Harry Putnam [this message]
2009-02-14 23:07   ` Jim Burton

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=87bpt47j4n.fsf@newsguy.com \
    --to=reader@newsguy.com \
    --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).