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

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>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.  :-)

This is a fresh Debian GNU/linux box, so it didn't yet have 'curl'
installed.  I've fixed my box setup script [1] to include 'curl' in my
list of standard installs now.  After installing 'curl', Emacs's
behavior is as desired, and `mm-text-html-renderer's value is
`gnus-article-html'.

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

Yeah, don't know why.  The html2text program is installed.
But... "mattress in the road" situation.  My problem is solved, and I
have other more important bugs to chase :-(.  Thanks for your help,
Lars.  I'd certainly be happy to do any further testing you suggest.

-Karl

[1] http://svn.red-bean.com/repos/kfogel/trunk/bin/new-box-setup.sh



  reply	other threads:[~2010-09-14 16:14 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
2010-09-14 16:14       ` Karl Fogel [this message]
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=874odsi9pm.fsf@kslab.red-bean.com \
    --to=kfogel@red-bean.com \
    --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).