From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 3D5E26DE0274 for ; Mon, 7 Mar 2016 01:34:13 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.505 X-Spam-Level: X-Spam-Status: No, score=-0.505 tagged_above=-999 required=5 tests=[AWL=0.215, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ahqwd5f1R9s3 for ; Mon, 7 Mar 2016 01:34:11 -0800 (PST) X-Greylist: delayed 458 seconds by postgrey-1.35 at arlo; Mon, 07 Mar 2016 01:34:10 PST Received: from avasout06.plus.net (avasout06.plus.net [212.159.14.18]) by arlo.cworth.org (Postfix) with ESMTPS id CCF376DE0244 for ; Mon, 7 Mar 2016 01:34:10 -0800 (PST) Received: from mail.bubblegen.co.uk ([80.229.236.194]) by avasout06 with smtp id SxST1s00A4CLJ5401xSUiG; Mon, 07 Mar 2016 09:26:29 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=Rr04V3SK c=1 sm=1 tr=0 a=G4bc5lkgapKKm1P+Twxy3Q==:117 a=G4bc5lkgapKKm1P+Twxy3Q==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=3pgnp_W3OlOENp3nLmEA:9 a=QEXdDO2ut3YA:10 Subject: Re: (emacs) Parsing problems replying to encrypted html To: David Edmondson References: Cc: notmuch@notmuchmail.org From: Matthew Lear Message-ID: <56DD48B3.90604@bubblegen.co.uk> Date: Mon, 7 Mar 2016 09:24:03 +0000 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 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: Mon, 07 Mar 2016 09:34:13 -0000 On 01/03/16 13:59, Matthew Lear wrote: >> There is probably a bug here. >> >> On Tue, Mar 01 2016, Matthew Lear wrote: >>> Notmuch shows this as: >>> >>> [ multipart/encrypted ] >>> [ Decryption successful ] >>> [ Good signature by: xxxx ] >>> [ application/pgp-encrypted ] >>> Version: 1 >>> [ multipart/mixed ] >>> [ multipart/alternative ] >>> [ text/plain (hidden) ] >>> [ multipart/related ] >>> [ text/html (hidden) ] >>> [ image.jpg: image/jpeg (hidden) ] >> >> You're saying here that you don't get shown the text/html part? > > Apologies. No, I do get shown the text/html part. I just collapsed all the > parts here for illustration purposes. > >>> (setq notmuch-multipart/alternative-discouraged '("text/plain" >>> "multipart/related")) >> >> I'm curious to understand why you discourage multipart/related. That's >> almost always used to wrap a text/html part with an image/jpg that the >> text/html part refers to by cid:. > > Fair point. I think I had this discouraged as a hangover from having to > deal with malformatted PGP encrypted emails. I don't receive emails from > people which have been encrypted with that sw any more so I should > probably remove it. Even with multipart/related discouraged though, I > don't have any problem with embedded images / cid etc. All displayed ok. > >> Are things different if you discourage only text/plain? > > Nope. No change. This is easy to reproduce on linux with thunderbird (I'm using v38.5.0). Edit -> Account Settings -> Composition & Addressing and check 'Compose messages in HTML format' and send yourself a pgp encrypted email using PGP/MIME, open it in notmuch-emacs and reply to it. You'll see the 'Bodypart insert error'. If you need any more info let me know...