unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [Bug] Notmuch Emacs Message Subject Can Be Truncated
@ 2022-12-21 17:08 Bogdan Ruslanovich Drozd
  2022-12-21 18:24 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: Bogdan Ruslanovich Drozd @ 2022-12-21 17:08 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bug] Notmuch Emacs Message Subject Can Be Truncated
  2022-12-21 17:08 [Bug] Notmuch Emacs Message Subject Can Be Truncated Bogdan Ruslanovich Drozd
@ 2022-12-21 18:24 ` David Bremner
  0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2022-12-21 18:24 UTC (permalink / raw)
  To: Bogdan Ruslanovich Drozd, notmuch

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-21 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-21 17:08 [Bug] Notmuch Emacs Message Subject Can Be Truncated Bogdan Ruslanovich Drozd
2022-12-21 18:24 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).