Gnus development mailing list
 help / color / mirror / Atom feed
* nnrss just puts HTML into text/plain
@ 2009-02-19 22:34 jidanni
  2009-02-20  1:53 ` Katsumi Yamaoka
  0 siblings, 1 reply; 4+ messages in thread
From: jidanni @ 2009-02-19 22:34 UTC (permalink / raw)
  To: ding

Gentlemen, in nnrss, I notice if I look at the text/plain version of
an article, I just see the HTML version, <p>s and all. E.g.,
  http://pinyin.info/news/feed/ :

  From: Pinyin Info
  Subject: San Francisco Chinatown signage
  Newsgroups: Pinyin news
  Date: Mon, 05 Jan 2009 11:48:59 +0000

  1.  (*) text/plain          ( ) text/html

  <p>Here are some photos I took a couple of years ago in San Francisco...

The problem is that there is no text/plain version to begin with...



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nnrss just puts HTML into text/plain
  2009-02-19 22:34 nnrss just puts HTML into text/plain jidanni
@ 2009-02-20  1:53 ` Katsumi Yamaoka
  0 siblings, 0 replies; 4+ messages in thread
From: Katsumi Yamaoka @ 2009-02-20  1:53 UTC (permalink / raw)
  To: jidanni; +Cc: ding

>>>>> jidanni@jidanni.org wrote:

> Gentlemen, in nnrss, I notice if I look at the text/plain version of
> an article, I just see the HTML version, <p>s and all. E.g.,
>   http://pinyin.info/news/feed/ :

>   From: Pinyin Info
>   Subject: San Francisco Chinatown signage
>   Newsgroups: Pinyin news
>   Date: Mon, 05 Jan 2009 11:48:59 +0000

>   1.  (*) text/plain          ( ) text/html

>   <p>Here are some photos I took a couple of years ago in San Francisco...

> The problem is that there is no text/plain version to begin with...

A non-nil value for `nnrss-wash-html-in-text-plain-parts' makes
Gnus wash a text/plain article as HTML.  The default is nil.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nnrss just puts HTML into text/plain
  2009-02-19 22:39 jidanni
@ 2009-02-20  2:12 ` Katsumi Yamaoka
  0 siblings, 0 replies; 4+ messages in thread
From: Katsumi Yamaoka @ 2009-02-20  2:12 UTC (permalink / raw)
  To: jidanni; +Cc: ding

[-- 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))

^ permalink raw reply	[flat|nested] 4+ messages in thread

* nnrss just puts HTML into text/plain
@ 2009-02-19 22:39 jidanni
  2009-02-20  2:12 ` Katsumi Yamaoka
  0 siblings, 1 reply; 4+ messages in thread
From: jidanni @ 2009-02-19 22:39 UTC (permalink / raw)
  To: ding

P.S., with show-trailing-whitespace, one sees annoying blanks at the
end of "1.  ( ) text/plain          (*) text/html           "



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-20  2:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-19 22:34 nnrss just puts HTML into text/plain jidanni
2009-02-20  1:53 ` Katsumi Yamaoka
2009-02-19 22:39 jidanni
2009-02-20  2:12 ` Katsumi Yamaoka

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