Gnus development mailing list
 help / color / mirror / Atom feed
* Display html article as plain text
@ 2009-02-14 13:42 Jim Burton
  2009-02-14 22:23 ` Harry Putnam
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Burton @ 2009-02-14 13:42 UTC (permalink / raw)
  To: ding

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,

-- 
Jim Burton
jim@sdf-eu.org



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

* Re: Display html article as plain text
  2009-02-14 13:42 Display html article as plain text Jim Burton
@ 2009-02-14 22:23 ` Harry Putnam
  2009-02-14 23:07   ` Jim Burton
  0 siblings, 1 reply; 3+ messages in thread
From: Harry Putnam @ 2009-02-14 22:23 UTC (permalink / raw)
  To: ding

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




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

* Re: Display html article as plain text
  2009-02-14 22:23 ` Harry Putnam
@ 2009-02-14 23:07   ` Jim Burton
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Burton @ 2009-02-14 23:07 UTC (permalink / raw)
  To: Harry Putnam; +Cc: ding

Harry Putnam <reader@newsguy.com> writes:

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

Thanks very much, that's just what I was looking for.

-- 
Jim Burton
jim@sdf-eu.org



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

end of thread, other threads:[~2009-02-14 23:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-14 13:42 Display html article as plain text Jim Burton
2009-02-14 22:23 ` Harry Putnam
2009-02-14 23:07   ` Jim Burton

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