From: Katsumi Yamaoka <yamaoka@jpl.org>
To: jidanni@jidanni.org
Cc: ding@gnus.org
Subject: Re: nnrss just puts HTML into text/plain
Date: Fri, 20 Feb 2009 11:12:41 +0900 [thread overview]
Message-ID: <b4mr61tc0va.fsf@jpl.org> (raw)
In-Reply-To: <87k57mt5je.fsf@jidanni.org>
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
>>>>> 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:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 677 bytes --]
--- 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))
next prev parent reply other threads:[~2009-02-20 2:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-19 22:39 jidanni
2009-02-20 2:12 ` Katsumi Yamaoka [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-19 22:34 jidanni
2009-02-20 1:53 ` Katsumi Yamaoka
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4mr61tc0va.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.org \
--cc=jidanni@jidanni.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.
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 NNTP newsgroup(s).