Re: [Bug] Notmuch Emacs Message Subject Can Be Truncated

Subject: Re: [Bug] Notmuch Emacs Message Subject Can Be Truncated

Date: Wed, 21 Dec 2022 14:24:18 -0400

To: Bogdan Ruslanovich Drozd, notmuch@notmuchmail.org

Cc:

From: David Bremner


Bogdan Ruslanovich Drozd <bogdan.ruslanovich.drozd@yandex.com> writes:

> In `notmuch-message-mode' subject can be truncated.
>
> How to reproduce:
>
> 1. Send an email message to yourself with the subject “test abcdf fdcba
>    12345 54321 qwerty ytrewq 09876 67890 =- -= zxcv vcxz m,./ /.,m asdf
>    fdsa ';lk kl;' qaz zaq ]'/ /'] йцукен некуцй ъхзщш шщзхъ” via Emacs
>    notmuch.
>
> 2. Get the message sent to yourself and view the message in Emacs
>    notmuch.  (In my case subject is truncated to “test abcdf fdcba 12345
>    54321 qwerty ytrewq 09876 67890 =- -= zxcv vcxz m,./ /.,m asdf fdsa
>    ';lk kl;' qaz zaq ]'/ /'] йцукен некуцй ъх”, i. e. “зщш шщзхъ” part
>    is lost.)
>
> If you couldn’t reproduce the bug, try eval (`M-:') `(setq
> rfc2047-encode-encoded-words nil)' and try to reproduce again.

I guess it is most likely the same bug discussed at

      https://nmbug.notmuchmail.org/nmweb/show/87wn9w4xus.fsf@thb.lt
      https://nmbug.notmuchmail.org/nmweb/show/87r0x8es8e.fsf@tethera.net
      
That one turns out to be a bug in the GMime library, fixed upstream:

    https://github.com/jstedfast/gmime/commit/1a33a55baafc73b0

As far as I know that's not part of any GMime release yet. 

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: