From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37153 Path: main.gmane.org!not-for-mail From: Itai Zukerman Newsgroups: gmane.emacs.gnus.general Subject: Re: bah, i've had it with html Date: Fri, 27 Jul 2001 10:07:15 -0400 Message-ID: <87bsm6ihyk.fsf@matt.w80.math-hat.com> References: <873d7j2r0r.church.of.emacs@space-ghost.verbum.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172618 12350 80.91.224.250 (21 Oct 2002 03:56:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:56:58 +0000 (UTC) Cc: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=), Brian Edmonds , ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 4097 invoked from network); 27 Jul 2001 14:07:31 -0000 Original-Received: from zukerman-0.dsl.speakeasy.net (HELO matt.w80.math-hat.com) (216.254.75.141) by gnus.org with SMTP; 27 Jul 2001 14:07:31 -0000 Original-Received: from zukerman by matt.w80.math-hat.com with local (Exim 3.31 #1 (Debian)) id 15Q8Gp-0006q9-00; Fri, 27 Jul 2001 10:07:15 -0400 Original-To: Bill White Mail-Copies-To: never In-Reply-To: (Bill White's message of "Fri, 27 Jul 2001 07:34:37 -0500") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Original-Lines: 20 Xref: main.gmane.org gmane.emacs.gnus.general:37153 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37153 > When I receive an html-only message, I edit the article (`e' in the > summary buffer), then select all the html code and run an html2text[1] > script on it (`C-u M-| html2text'), then, of course, finish up with > `C-c C-c'. Is there some way to automate that for these stupid > html-only nnml messages? Perhaps you can convince Gnus to use mailcap. Some potential mailcap entries: text/html; /usr/bin/html2text '%s'; copiousoutput text/html; /usr/bin/links -dump '%s'; copiousoutput mm-display part seems to handle this properly (when w3 *isn't* installed, anyway); see my other post in this thread. This seems more elegant that putting text/html-specific code in Gnus. (Or, maybe I don't know what I'm talking about...) -- Itai Zukerman