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