unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Re: HTML mails suddenly exposing style & markup in Gnus.
Date: Tue, 14 Sep 2010 12:51:56 +0200	[thread overview]
Message-ID: <m3r5gwk377.fsf@quimbies.gnus.org> (raw)
In-Reply-To: 874odtf82l.fsf@kslab.red-bean.com

Karl Fogel <kfogel@red-bean.com> writes:

>>Do you have the w3m program installed on your system?
>
> Yes:
>
>   $ w3m -version

[...]

> I don't set them in any init file, and their ambient values are:
>
>   mm-text-html-renderer is a variable defined in `mm-decode.el'.
>   Its value is html2text
>
>   mm-inline-text-html-renderer is a variable defined in `mm-decode.el'.
>   Its value is nil

Hm.  The definition of `mm-text-html-renderer' is:

(defcustom mm-text-html-renderer
  (cond ((and (executable-find "w3m")
	      (executable-find "curl"))
	 'gnus-article-html)
	((executable-find "links") 'links)
	((executable-find "lynx") 'lynx)
	((locate-library "w3") 'w3)
	((locate-library "html2text") 'html2text)
	(t nil))

So does that mean that you don't have curl?  I thought everybody had
curl installed.  :-)

Anyway, if html2text was the definition, then it should have done a
better job of rendering the HTML than it did.  html2text is very
simple -- it just strips tags away (basically), but you saw raw HTML,
which must mean that html2text doesn't work at all for you.

Which is puzzling, too.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




  reply	other threads:[~2010-09-14 10:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-14  0:29 HTML mails suddenly exposing style & markup in Gnus Karl Fogel
2010-09-14  0:42 ` Lars Magne Ingebrigtsen
2010-09-14  1:05   ` Karl Fogel
2010-09-14 10:51     ` Lars Magne Ingebrigtsen [this message]
2010-09-14 16:14       ` Karl Fogel
2010-09-14 17:18         ` Lars Magne Ingebrigtsen
2010-09-18 12:58           ` Kim F. Storm
2010-09-18 14:26             ` Miles Bader
2010-09-20  8:30               ` Giuseppe Scrivano

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3r5gwk377.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).