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

2020-04-06 Thread David Bremner
Tomi Ollila writes: > On Mon, Apr 06 2020, David Bremner wrote: > >> Leo Gaspard writes: >> >>> David Bremner writes: >>> Leo Gaspard writes: > Hello, > > I have recently started conversing with someone whose email client > incorrectly tags PDF attachments as text/pla

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

2020-04-06 Thread Tomi Ollila
On Mon, Apr 06 2020, David Bremner wrote: > Leo Gaspard writes: > >> David Bremner writes: >> >>> Leo Gaspard writes: >>> Hello, I have recently started conversing with someone whose email client incorrectly tags PDF attachments as text/plain. >>> >>> Hi Leo; >>> >>> As

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

2020-04-06 Thread Leo Gaspard
David Bremner 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 s

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

2020-04-06 Thread David Bremner
Leo Gaspard writes: > David Bremner writes: > >> Leo Gaspard writes: >> >>> Hello, >>> >>> I have recently started conversing with someone whose email client >>> incorrectly tags PDF attachments as text/plain. >>> >> >> Hi Leo; >> >> As I mentioned on IRC, we most likely need a reproducer messa

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

2020-04-06 Thread David Bremner
Leo Gaspard writes: > Hello, > > I have recently started conversing with someone whose email client > incorrectly tags PDF attachments as text/plain. > Hi Leo; As I mentioned on IRC, we most likely need a reproducer message before making any progress on this. Maybe you can ask your corresponden

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

2020-04-05 Thread Leo Gaspard
Hello, I have recently started conversing with someone whose email client incorrectly tags PDF attachments as text/plain. This triggered at least three bugs in what I assume to be notmuch: - `w` on the notmuch-show window, to save the attachments, corrupts the PDF before writing it (checked by