Gnus development mailing list
 help / color / mirror / Atom feed
* Re: Attached image not linked
       [not found] <84zl78u898.fsf@linux-b2a3.site>
@ 2009-10-31 15:59 ` Reiner Steib
  2009-11-01 22:47   ` Katsumi Yamaoka
  0 siblings, 1 reply; 2+ messages in thread
From: Reiner Steib @ 2009-10-31 15:59 UTC (permalink / raw)
  To: ding; +Cc: bugs, Magnus Henoch

On Fri, Oct 30 2009, Magnus Henoch wrote:

> The attached email (slightly redacted) contains a text/plain part and a
> multipart/related part with text/html and image/jpeg children.  When I
> read it in Gnus, I can't seem to get to the image in any way, not even
> after hitting K b (gnus-summary-display-buttonized).


> --------------090000080202030501000007
> Content-Type: multipart/related;
>  boundary="------------090702090802080105090608"
>
[...]
> HTML content
> <img src="cid:part1.07030703.05070600@example.com">
> </body>
> </html>
>
> --------------090702090802080105090608
> Content-Type: image/jpeg

,----[ (info "(gnus)MIME Commands") ]
| `gnus-mime-display-multipart-related-as-mixed'
|      Display "multipart/related" parts as "multipart/mixed".
| 
|      If displaying "text/html" is discouraged, see
|      `mm-discouraged-alternatives', images or other material inside a
|      "multipart/related" part might be overlooked when this variable is
|      `nil'.  *note Display Customization: (emacs-mime)Display
|      Customization.
`----

Maybe the default of `gnus-mime-display-multipart-related-as-mixed'
should be t?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



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

* Re: Attached image not linked
  2009-10-31 15:59 ` Attached image not linked Reiner Steib
@ 2009-11-01 22:47   ` Katsumi Yamaoka
  0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2009-11-01 22:47 UTC (permalink / raw)
  To: ding; +Cc: bugs, magnus.henoch

>>>>> Reiner Steib wrote:
> Maybe the default of `gnus-mime-display-multipart-related-as-mixed'
> should be t?

Currently Gnus displays images embedded in html articles only when
`mm-text-html-renderer' is `w3m'.  So, how about this?

--- gnus-art.el~	2009-10-25 23:20:01 +0000
+++ gnus-art.el	2009-11-01 22:46:10 +0000
@@ -5702,7 +5702,8 @@
    ;; multipart/related
    ((and (equal (car handle) "multipart/related")
 	 (not (or gnus-mime-display-multipart-as-mixed
-		  gnus-mime-display-multipart-related-as-mixed)))
+		  gnus-mime-display-multipart-related-as-mixed
+		  (not (memq mm-text-html-renderer '(w3m))))))
     ;;;!!!We should find the start part, but we just default
     ;;;!!!to the first part.
     ;;(gnus-mime-display-part (cadr handle))



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

end of thread, other threads:[~2009-11-01 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <84zl78u898.fsf@linux-b2a3.site>
2009-10-31 15:59 ` Attached image not linked Reiner Steib
2009-11-01 22:47   ` 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).