From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18792: multipart/related with "cid:" image not shown Date: Wed, 22 Oct 2014 10:01:21 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413986548 5162 80.91.229.3 (22 Oct 2014 14:02:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2014 14:02:28 +0000 (UTC) To: 18792@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 22 16:02:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XgwUV-0007Aa-NR for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Oct 2014 16:02:19 +0200 Original-Received: from localhost ([::1]:57720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgwUV-0001Fi-Cn for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Oct 2014 10:02:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgwUM-0001Cg-5y for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 10:02:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgwUG-0003u0-0W for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 10:02:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgwUF-0003tT-UP for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 10:02:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XgwUE-0000Aw-FC; Wed, 22 Oct 2014 10:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 22 Oct 2014 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18792 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1413986510650 (code B ref -1); Wed, 22 Oct 2014 14:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Oct 2014 14:01:50 +0000 Original-Received: from localhost ([127.0.0.1]:59897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgwU1-0000AP-Ge for submit@debbugs.gnu.org; Wed, 22 Oct 2014 10:01:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44037) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgwTy-0000A9-EZ for submit@debbugs.gnu.org; Wed, 22 Oct 2014 10:01:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgwTm-0003iz-Sb for submit@debbugs.gnu.org; Wed, 22 Oct 2014 10:01:40 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgwTm-0003iv-Px for submit@debbugs.gnu.org; Wed, 22 Oct 2014 10:01:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgwTh-0000zU-66 for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 10:01:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgwTb-0003ha-JZ for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 10:01:29 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:32274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgwTb-0003hW-Fq for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2014 10:01:23 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjoIAIDvNVNFpY87/2dsb2JhbABZgwYBg0mpfwGPA4hRF3SCJQFcTwMBAgoTIQEcDRYhh3mff7IaF48XhCIEqRmBaoNMIQ X-IPAS-Result: AjoIAIDvNVNFpY87/2dsb2JhbABZgwYBg0mpfwGPA4hRF3SCJQFcTwMBAgoTIQEcDRYhh3mff7IaF48XhCIEqRmBaoNMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="94828137" Original-Received: from 69-165-143-59.dsl.teksavvy.com (HELO pastel.home) ([69.165.143.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Oct 2014 10:01:22 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id CC6D043AB; Wed, 22 Oct 2014 10:01:21 -0400 (EDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94910 Package: Emacs,gnus Version: 24.4.51 [ This also affects trunk, and has probably been going on for a while now. ] I regularly receive emails that contain "a tiny bit of HTML text around a picture". Often these have the following MIME structure: multipart/related multipart/alternative text/plain text/html image/jpeg where the HTML refers to the image via a "cid:" URL. Here's the problem: Gnus seems to only show me the first element of the multipart/related and does not let me get access to the image. More specifically, I get a display such as: From: "Toto" Subject: blabla To: Stefan Monnier Date: Wed, 22 Oct 2014 12:59:18 +0000 (47 minutes, 13 seconds ago) 1. (*) text/plain ( ) text/html Mira esto [cid:ED58E6891D72E141A6C22D4BAFEF436F@gnu.ca] Notice the lack of any button to view the image/jpeg subpart. The same problem shows up if I select the text/html: From: "Toto" Subject: blabla To: Stefan Monnier Date: Wed, 22 Oct 2014 12:59:18 +0000 (47 minutes, 13 seconds ago) 1. ( ) text/plain (*) text/html Mira esto * It looks marginally different because it's rendered by shr.el, but the problem remains that I have no access to the attached image. Stefan