From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Subject: Re: html mail filter in gnus
Date: Wed, 18 Sep 2002 10:57:09 +0200 [thread overview]
Message-ID: <wtnit13iska.fsf__40381.8083032549$1138667979$gmane$org@licia.dtek.chalmers.se> (raw)
In-Reply-To: <7ifzw8tp5z.fsf@neoscale.com>
Kin Cho <kin@neoscale.com> writes:
> Hi,
>
> I'm getting html mail quite often now and it's getting annoying.
> Does anyone has a gnus filter to filter out the html tags and
> leave the plain text behind?
I've added the following during the pGnus days:
(add-to-list 'mm-inline-media-tests '("text/html" nil (lambda (h) nil)))
(add-to-list 'mm-discouraged-alternatives "text/html")
(add-to-list 'mm-discouraged-alternatives "text/richtext")
(add-to-list 'mm-discouraged-alternatives "text/enriched")
(setq mm-automatic-display (remove "text/html" mm-automatic-display))
(setq mm-automatic-display (remove "text/richtext" mm-automatic-display))
(setq mm-automatic-display (remove "text/enriched" mm-automatic-display))
It doesn't handle all possible, broken ways HTML can get to you but it
helps a bit.
(Improvements that doesn't involve W3 or similar are welcome.)
--
( www.dtek.chalmers.se/~d4jonas/ ! Wei Wu Wei )
( Meaning of U2 Lyrics, Roleplaying ! To Do Without Do )
next prev parent reply other threads:[~2002-09-18 8:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <7ifzw8tp5z.fsf@neoscale.com>
2002-09-17 22:16 ` James Cozine
2002-09-18 8:57 ` Jonas Steverud [this message]
[not found] ` <87hegnjc3f.fsf@computer.localdomain>
2002-09-19 20:28 ` Kin Cho
[not found] ` <7i8z1xzpuc.fsf@neoscale.com>
[not found] ` <87r8fp1yue.fsf@computer.localdomain>
[not found] ` <87n0qd1ypw.fsf@computer.localdomain>
2002-09-20 15:17 ` Nils Goesche
[not found] ` <lky99wlmg2.fsf@pc022.bln.elmeg.de>
[not found] ` <87it10vccm.fsf@computer.localdomain>
[not found] ` <lklm5wleze.fsf@pc022.bln.elmeg.de>
2002-09-24 22:06 ` D. Goel
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='wtnit13iska.fsf__40381.8083032549$1138667979$gmane$org@licia.dtek.chalmers.se' \
--to=d4jonas@dtek.chalmers.se \
/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).