From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70246 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Testing gnus-html here and there Date: Wed, 01 Sep 2010 15:02:38 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283321047 698 80.91.229.12 (1 Sep 2010 06:04:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Sep 2010 06:04:07 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18632@lists.math.uh.edu Wed Sep 01 08:04:06 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OqgQY-0002AR-3R for ding-account@gmane.org; Wed, 01 Sep 2010 08:04:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OqgPm-0005tL-Gh; Wed, 01 Sep 2010 01:03:18 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OqgPk-0005t9-0Q for ding@lists.math.uh.edu; Wed, 01 Sep 2010 01:03:16 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OqgPi-0004i2-Jg for ding@lists.math.uh.edu; Wed, 01 Sep 2010 01:03:15 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OqgPh-0000Xc-00 for ; Wed, 01 Sep 2010 08:03:13 +0200 Original-Received: from localhost ([127.0.0.1]:55895) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1OqgP9-0003Nn-1p for ding@gnus.org; Wed, 01 Sep 2010 01:02:39 -0500 X-Hashcash: 1:20:100901:ding@gnus.org::JK9ktJkFg/E4FL7k:00002B3m X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:490aQJBlWTG9W27VkYRWEWoL05A= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70246 Archived-At: Lars Magne Ingebrigtsen wrote: > Katsumi Yamaoka writes: >> Some html messages contain image data referenced to by cid tags. >> I wish `gnus-article-html' could display them as well. > That's easy enough. Pushed out now. Excellent. Thank you very much. In addition to this, I've made `gnus-article-html' decode raw html contents by the charset that the Content-Type header specifies before passing to w3m -halfdump. At least Japanese html articles got human-readable. Cf.: ftp://ftp.jpl.org/pub/tmp/cid-example.gz > I'm a bit confused by some of the output from w3m, though. In the test > mail I tried (work-related), the output was the following: > ----------- > https://www.saxobank.com/Advertisements/email/2010/ > partnerNotification/AUGUST/images/header_inst_notitfication.png > ----------- > So the cid: picture appeared twice? But once with lower-case "img_alt" > and once with upper-case "IMG_ALT"? gnus-html ignores the latter, and > just renders the text between the tags, but should probably delete it > altogether. But I just wonder what the logic is here? I'll look into this.