--- /dev/null
+Return-Path: <matt@bubblegen.co.uk>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 853CE6DE1479\r
+ for <notmuch@notmuchmail.org>; Tue, 1 Mar 2016 05:59:14 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.458\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.458 tagged_above=-999 required=5 tests=[AWL=0.262,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id xIFzJF8a-A7Y for <notmuch@notmuchmail.org>;\r
+ Tue, 1 Mar 2016 05:59:12 -0800 (PST)\r
+Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 5C9E86DE141E\r
+ for <notmuch@notmuchmail.org>; Tue, 1 Mar 2016 05:59:11 -0800 (PST)\r
+Received: from webmail04.plus.net ([84.93.228.66]) by avasout07 with smtp\r
+ id Qdz91s0031SbfYc01dzAns; Tue, 01 Mar 2016 13:59:10 +0000\r
+X-CM-Score: 0.00\r
+X-CNFS-Analysis: v=2.1 cv=QqujpgGd c=1 sm=1 tr=0\r
+ a=C5+YawzV8SR07mwocaP9vA==:117 a=G4bc5lkgapKKm1P+Twxy3Q==:17\r
+ a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=8nJEP1OIZ-IA:10\r
+ a=7OsogOcEt9IA:10 a=GmsYLbB6KjDZExrHqMUA:9 a=wPNLvfGTeEIA:10\r
+Received: from localhost ([127.0.0.1] helo=webmail.plus.net)\r
+ by webmail04.plus.net with esmtp (Exim 4.76)\r
+ (envelope-from <matt@bubblegen.co.uk>)\r
+ id 1aakpQ-0003hD-Sz; Tue, 01 Mar 2016 13:59:09 +0000\r
+Received: from 80.229.236.194 (SquirrelMail authenticated user bubblegen+matt)\r
+ by webmail.plus.net with HTTP; Tue, 1 Mar 2016 13:59:09 -0000\r
+Message-ID: <c4ff9f2c141441be10b1cb4b1e0300a7.squirrel@webmail.plus.net>\r
+In-Reply-To: <m2a8miwc6x.fsf@dme.org>\r
+References: <f50e07855e9bbbdd780ef925d8e2d879.squirrel@webmail.plus.net>\r
+ <m2a8miwc6x.fsf@dme.org>\r
+Date: Tue, 1 Mar 2016 13:59:09 -0000\r
+Subject: Re: (emacs) Parsing problems replying to encrypted html\r
+From: "Matthew Lear" <matt@bubblegen.co.uk>\r
+To: "David Edmondson" <dme@dme.org>\r
+Cc: matt@bubblegen.co.uk,\r
+ notmuch@notmuchmail.org\r
+Reply-To: matt@bubblegen.co.uk\r
+User-Agent: SquirrelMail\r
+MIME-Version: 1.0\r
+Content-Type: text/plain;charset=iso-8859-1\r
+Content-Transfer-Encoding: 8bit\r
+X-Priority: 3 (Normal)\r
+Importance: Normal\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 01 Mar 2016 13:59:14 -0000\r
+\r
+> There is probably a bug here.\r
+>\r
+> On Tue, Mar 01 2016, Matthew Lear wrote:\r
+>> Notmuch shows this as:\r
+>>\r
+>> [ multipart/encrypted ]\r
+>> [ Decryption successful ]\r
+>> [ Good signature by: xxxx ]\r
+>> [ application/pgp-encrypted ]\r
+>> Version: 1\r
+>> [ multipart/mixed ]\r
+>> [ multipart/alternative ]\r
+>> [ text/plain (hidden) ]\r
+>> [ multipart/related ]\r
+>> [ text/html (hidden) ]\r
+>> [ image.jpg: image/jpeg (hidden) ]\r
+>\r
+> You're saying here that you don't get shown the text/html part?\r
+\r
+Apologies. No, I do get shown the text/html part. I just collapsed all the\r
+parts here for illustration purposes.\r
+\r
+>> (setq notmuch-multipart/alternative-discouraged '("text/plain"\r
+>> "multipart/related"))\r
+>\r
+> I'm curious to understand why you discourage multipart/related. That's\r
+> almost always used to wrap a text/html part with an image/jpg that the\r
+> text/html part refers to by cid:.\r
+\r
+Fair point. I think I had this discouraged as a hangover from having to\r
+deal with malformatted PGP encrypted emails. I don't receive emails from\r
+people which have been encrypted with that sw any more so I should\r
+probably remove it. Even with multipart/related discouraged though, I\r
+don't have any problem with embedded images / cid etc. All displayed ok.\r
+\r
+> Are things different if you discourage only text/plain?\r
+\r
+Nope. No change.\r
+\r
+\r