From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68313 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: nnrss just puts HTML into text/plain Date: Fri, 20 Feb 2009 11:12:41 +0900 Organization: Emacsen advocacy group Message-ID: References: <87k57mt5je.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1235096019 4182 80.91.229.12 (20 Feb 2009 02:13:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 02:13:39 +0000 (UTC) Cc: ding@gnus.org To: jidanni@jidanni.org Original-X-From: ding-owner+M16753@lists.math.uh.edu Fri Feb 20 03:14:55 2009 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.50) id 1LaKuk-0007RH-Du for ding-account@gmane.org; Fri, 20 Feb 2009 03:14:54 +0100 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 1LaKtI-0008Hl-GC; Thu, 19 Feb 2009 20:13:24 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LaKtH-0008HU-4a for ding@lists.math.uh.edu; Thu, 19 Feb 2009 20:13:23 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LaKtE-0002Ah-D3 for ding@lists.math.uh.edu; Thu, 19 Feb 2009 20:13:23 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LaKtZ-0003vm-00 for ; Fri, 20 Feb 2009 03:13:41 +0100 Original-Received: from localhost ([127.0.0.1]:52982) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1LaKsg-0006Xu-78; Thu, 19 Feb 2009 20:12:46 -0600 X-Hashcash: 1:20:090220:jidanni@jidanni.org::hsKLWoKLOL7cGZ8L:00000000000000000000000000000000000000000040gS X-Hashcash: 1:20:090220:ding@gnus.org::K9QzK1WahSGr2Ba9:00004zsW 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/23.0.90 (gnu/linux) Cancel-Lock: sha1:VGuC/maxrPSjbAesbSLCwvcR2IM= 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: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68313 Archived-At: --=-=-= >>>>> jidanni@jidanni.org wrote: > P.S., with show-trailing-whitespace, one sees annoying blanks at the > end of "1. ( ) text/plain (*) text/html " I'm not sure it's a bug but this patch makes Gnus add no useless space: --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- gnus-art.el~ 2009-02-16 00:14:37 +0000 +++ gnus-art.el 2009-02-20 02:10:44 +0000 @@ -5871,7 +5871,7 @@ (gnus-add-text-properties (setq from (point)) (progn - (insert (format "(%c) %-18s" + (insert (format (if handles "(%c) %-18s" "(%c) %s") (if (equal handle preferred) ?* ? ) (mm-handle-media-type handle))) (point)) @@ -5890,7 +5890,7 @@ (widget-convert-button 'link from (point) :action 'gnus-widget-press-button :button-keymap gnus-widget-button-keymap) - (insert " ")) + (if handles (insert " "))) (insert "\n\n")) (when preferred (if (stringp (car preferred)) --=-=-=--