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

2022-12-21 Thread David Bremner
Bogdan Ruslanovich Drozd  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@thb.lt
  https://nmbug.notmuchmail.org/nmweb/show/87r0x8es8e@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-le...@notmuchmail.org


[Bug] Notmuch Emacs Message Subject Can Be Truncated

2022-12-21 Thread Bogdan Ruslanovich Drozd
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.
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org