notmuch-mode: Emails with PDF attachments incorrectly tagged as text/plain expose a few issues

Leo Gaspard leo at gaspard.io
Mon Apr 6 12:23:43 PDT 2020


David Bremner <david at tethera.net> writes:
> Probably the rest of the list hasn't seen the message yet, but I did try
> it out. It doesn't actually hang emacs for me (C-g enough times gets me
> back). I agree that inserting binary data into the buffer is probably
> not a great idea.  I'm not sure offhand how notmuch should detect
> mislabeled parts. Perhaps it should just refuse to insert large parts as
> reply text.

Oh right, as it displayed the spinning wheel mouse I had assumed emacs
was frozen. So for me what happens on C-g enough times is that it gets
me back to the non-sent reply.

As for what to do… maybe something like not inserting things that are
not properly encoded would be a solution?


More information about the notmuch mailing list