From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: HTML mails suddenly exposing style & markup in Gnus. Date: Tue, 14 Sep 2010 12:14:13 -0400 Message-ID: <874odsi9pm.fsf@kslab.red-bean.com> References: <87pqwhf9qz.fsf@kslab.red-bean.com> <874odtf82l.fsf@kslab.red-bean.com> Reply-To: Karl Fogel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284482575 24002 80.91.229.12 (14 Sep 2010 16:42:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Sep 2010 16:42:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 14 18:42:51 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OvYaf-0000LP-FP for ged-emacs-devel@m.gmane.org; Tue, 14 Sep 2010 18:42:51 +0200 Original-Received: from localhost ([127.0.0.1]:44455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvYNR-00055f-V2 for ged-emacs-devel@m.gmane.org; Tue, 14 Sep 2010 12:29:02 -0400 Original-Received: from [140.186.70.92] (port=33465 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvY9a-0000ec-PY for emacs-devel@gnu.org; Tue, 14 Sep 2010 12:14:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvY9T-0000lB-Gb for emacs-devel@gnu.org; Tue, 14 Sep 2010 12:14:39 -0400 Original-Received: from osh-net-219-98.onshore.net ([66.146.219.98]:60457 helo=sanpietro.red-bean.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvY9T-0000l4-Cw for emacs-devel@gnu.org; Tue, 14 Sep 2010 12:14:35 -0400 Original-Received: from localhost ([127.0.0.1]:50129 helo=kslab.red-bean.com ident=kfogel) by sanpietro.red-bean.com with esmtp (Exim 4.72) (envelope-from ) id 1OvY9S-0007ww-6C for emacs-devel@gnu.org; Tue, 14 Sep 2010 11:14:34 -0500 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 14 Sep 2010 12:51:56 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130136 Archived-At: Lars Magne Ingebrigtsen 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