Carriage returns in subject line cause problems in unthreaded and tree mode

Subject: Carriage returns in subject line cause problems in unthreaded and tree mode

Date: Thu, 16 May 2024 08:47:35 -0700

To: notmuch@notmuchmail.org

Cc:

From: Richard Stanton


Today I received an email with (raw) subject line

Subject: =?UTF-8?B?8J+Pi++4jw==?= A SALE to boost your
 =?UTF-8?Q?workout=0D=0A?=

When displayed in Emacs in either unthreaded or tree mode, “^M” appears after the word “workout”, and the displayed line is split into two, like this:

 Today 07:12  Jabra                🏋️ A SALE to boost your workout^M
                       (important inbox)

It would probably be a good idea to check for, and remove, carriage return characters in the subject line.

(Note that the message displays fine in the default threaded mode.)

Richard Stanton

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

Thread: