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...