From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1188 Path: news.gmane.org!not-for-mail From: Jonas Steverud Newsgroups: gmane.emacs.gnus.user Subject: Re: html mail filter in gnus Date: Wed, 18 Sep 2002 10:57:09 +0200 Organization: Church of Emacs, Missionary Dep. Message-ID: References: <7ifzw8tp5z.fsf@neoscale.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138667979 10115 80.91.229.2 (31 Jan 2006 00:39:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:39:39 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:28:46 2006 Original-Path: quimby.gnus.org!lackawana.kippona.com!news.teledanmark.no!newsfeed1.ulv.nextra.no!nextra.com!uio.no!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed1.telenordia.se!algonet!newsfeed.sunet.se!news01.sunet.se!news.chalmers.se!not-for-mail Original-Newsgroups: gnu.emacs.help,gnu.emacs.gnus Original-NNTP-Posting-Host: licia.dtek.chalmers.se Original-X-Trace: nyheter.chalmers.se 1032339443 29600 129.16.30.88 (18 Sep 2002 08:57:23 GMT) Original-X-Complaints-To: abuse@chalmers.se Original-NNTP-Posting-Date: 18 Sep 2002 08:57:23 GMT Mail-Copies-To: never User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8) Cancel-Lock: sha1:STdXHp+bKFFeLWARohRPdsMeOgs= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1328 Original-Lines: 26 X-Gnus-Article-Number: 1328 Tue Jan 17 17:28:46 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1188 Archived-At: Kin Cho 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 )