unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Carriage returns in subject line cause problems in unthreaded and tree mode
@ 2024-05-16 15:47 Richard Stanton
  2024-05-18 10:07 ` Tomi Ollila
  2024-05-20 11:58 ` [PATCH 1/4] test: re-enable duplicate UI tests in T460-emacs-tree David Bremner
  0 siblings, 2 replies; 8+ messages in thread
From: Richard Stanton @ 2024-05-16 15:47 UTC (permalink / raw)
  To: notmuch


[-- Attachment #1.1: Type: text/plain, Size: 620 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 1744 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2024-08-06 11:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16 15:47 Carriage returns in subject line cause problems in unthreaded and tree mode Richard Stanton
2024-05-18 10:07 ` Tomi Ollila
2024-08-06 11:36   ` David Bremner
2024-05-20 11:58 ` [PATCH 1/4] test: re-enable duplicate UI tests in T460-emacs-tree David Bremner
2024-05-20 11:58   ` [PATCH 2/4] test/emacs-show: add regression test for subjects with CR/NL David Bremner
2024-05-20 11:58   ` [PATCH 3/4] test/emacs-tree: add known broken test for subject " David Bremner
2024-05-20 11:58   ` [PATCH 4/4] emacs/tree: sanitize subjects when drawing tree David Bremner
2024-05-29 10:41   ` [PATCH 1/4] test: re-enable duplicate UI tests in T460-emacs-tree 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).