From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 878ED431FC2 for ; Wed, 21 Aug 2013 10:26:26 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BXnbQnZ0KSoH for ; Wed, 21 Aug 2013 10:26:21 -0700 (PDT) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id 0B532431FAF for ; Wed, 21 Aug 2013 10:26:21 -0700 (PDT) Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) by fire-doxen-postvirus (Postfix) with ESMTP id 55F03328027; Wed, 21 Aug 2013 10:26:20 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new Received: from finestructure.net (DHCP-123-216.caltech.edu [131.215.123.216]) (Authenticated sender: jrollins) by fire-doxen-submit (Postfix) with ESMTP id 970D8328044; Wed, 21 Aug 2013 10:26:16 -0700 (PDT) Received: by finestructure.net (Postfix, from userid 1000) id 222E661736; Wed, 21 Aug 2013 10:26:16 -0700 (PDT) From: Jameson Graef Rollins To: Mark Walters , Istvan Marko , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: add buttons for all multipart/related parts In-Reply-To: <87ob8ste5f.fsf@qmul.ac.uk> References: <87fvu4fl25.fsf@servo.finestructure.net> <87ob8ste5f.fsf@qmul.ac.uk> User-Agent: Notmuch/0.16+1~g9f861e2 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Wed, 21 Aug 2013 10:26:13 -0700 Message-ID: <87a9kbc5vu.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2013 17:26:26 -0000 --=-=-= Content-Type: text/plain On Tue, Aug 20 2013, Mark Walters wrote: > What does the (mis-behaving) part button say? is it [image/jpeg] or > [application/octet-stream as image/jpeg] or? and what do correctly > behaving part buttons say? Hey, Mark. That's the perplexing part: the parts seem otherwise very similar. For the case of the part that is *not* handled correctly, the Content info and button are: Content-Type: image/jpeg; name="photo.JPG" Content-Transfer-Encoding: base64 Content-Id: <...> Content-Disposition: inline; filename="photo.JPG" [ photo.JPG: image/jpeg ] And in the case of a test message that seems to behave as expected: Content-Type: image/jpeg Content-Disposition: inline; filename=monkey.jpg Content-Transfer-Encoding: base64 Content-Description: monkey! [ monkey.jpg: image/jpeg ] In the first case clicking on the part button has no effect. In the later case the image opens fine in the external viewer. I guess the only other difference is the rest of the MIME structure that these parts are embedded in... jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBCAAGBQJSFPg1AAoJEO00zqvie6q8hzoQAI5kCuwjD23luwVFTiW3NIwY tQFR/s4xhQ0ZKEOG9OsYN6tHEobH/h0AIdm0+c5CDxWJU9jURnfzIVtGDWf5qJJ0 Xu+GGtE+MusjNAa1ItPOKosSv2VIbwk3QQeiY/6X2++MJ+/dAbfxTu28kAzKfyay pbPjEmLMbwdFZsBbvq/mU1TPTyexTg8QRhDg8mAEkoA73W3nVRA41NCUCGnIx/hA YPg3YF6SbzlmehpKknGdhfa3deUb/Gm1bOXfNPL+GazQI383Len/cZZKc1s4TJSU KzmJKHy8t2RiB5g1DoKGW7Sd13soEUhBmowNS/C9Jdk+nkzOVnUtC5NO+pAZdTY5 nR5FzvYxqzTwHOABtt/EIiwTKVHqxzAvsrAzHxVH5YZVCFprcDe/SYwnEg+4qSTU Qdk8sC3XKQBKhPFgDArHQtWb6wWsl2IIgy9UTmYdFJ9D0lvOTw8eo++mirIjNNTZ rwJX9jij4scu0/AaRNs7kSp/30zuuXwrKNTZIcjbO8+i8+c3xdicXPfTvxcx9S1P YA0oTmCtLbhNTl01TXaUFmebyE8VoCFXqGhepdtSYVdrcS60p3yII7X0tb+gQ3Ry AxTrEBu5GKM8Mruvq8ipJY9ePCmIOmn9GjXZwIEgIzfxsrbOIsJR4uUghut3/jJN 9x/W8Y1MgrWRGYA2Pjmg =xwyg -----END PGP SIGNATURE----- --=-=-=--