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

* Re: Carriage returns in subject line cause problems in unthreaded and tree mode
  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
  1 sibling, 1 reply; 8+ messages in thread
From: Tomi Ollila @ 2024-05-18 10:07 UTC (permalink / raw)
  To: Richard Stanton, notmuch

On Thu, May 16 2024, Richard Stanton wrote:

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

It depends how common it is to see those (ugly?) ^M characters there?

... and is it so that the Newline(=0A) splits the line in two.

-- and is the behavior different in some other modes (I (mostly) just use 
notmuch-search and notmuch-show modes so cannot recall how other views
look like...

The problem would be worse if carriage return (=0D) moved the cursor
to the beginning of line and following text ovewrote what were there.

Tomi

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

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

* [PATCH 1/4] test: re-enable duplicate UI tests in T460-emacs-tree
  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-05-20 11:58 ` David Bremner
  2024-05-20 11:58   ` [PATCH 2/4] test/emacs-show: add regression test for subjects with CR/NL David Bremner
                     ` (3 more replies)
  1 sibling, 4 replies; 8+ messages in thread
From: David Bremner @ 2024-05-20 11:58 UTC (permalink / raw)
  To: Richard Stanton, notmuch

These were disabled (accidentally?) in f63d14a8c12a.
---
 test/T460-emacs-tree.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/test/T460-emacs-tree.sh b/test/T460-emacs-tree.sh
index 6ef5c54a..9388a8ed 100755
--- a/test/T460-emacs-tree.sh
+++ b/test/T460-emacs-tree.sh
@@ -222,8 +222,6 @@ test_emacs '(let ((notmuch-tree-outline-enabled t))
 # folding all messages by height or depth should look the same
 test_expect_equal_file $EXPECTED/notmuch-tree-tag-inbox OUTPUT
 
-test_done
-
 add_email_corpus duplicate
 
 ID3=87r2ecrr6x.fsf@zephyr.silentflame.com
-- 
2.43.0

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

* [PATCH 2/4] test/emacs-show: add regression test for subjects with CR/NL
  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   ` David Bremner
  2024-05-20 11:58   ` [PATCH 3/4] test/emacs-tree: add known broken test for subject " David Bremner
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: David Bremner @ 2024-05-20 11:58 UTC (permalink / raw)
  To: Richard Stanton, notmuch

This subject is known to be problematic for notmuch-tree.
---
 test/T450-emacs-show.sh | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh
index 559df8aa..f7486e42 100755
--- a/test/T450-emacs-show.sh
+++ b/test/T450-emacs-show.sh
@@ -412,4 +412,19 @@ subject4=$(grep '^Subject:' $FILE4)
 subject=$(grep '^Subject:' OUTPUT)
 test_expect_equal "$subject4" "$subject"
 
+test_begin_subtest "notmuch-show for message with subject with embedded CRNL"
+add_message "[subject]=\"=?UTF-8?B?8J+Pi++4jw==?= A SALE to boost your =?UTF-8?Q?workout=0D=0A?=\" [body]=the-message-body" 
+test_emacs "(notmuch-show \"id:${gen_msg_id}\")
+	    (test-output \"OUTPUT.raw\")"
+cat <<EOF >EXPECTED
+Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-05) (inbox)
+Subject: 🏋️ A SALE to boost your workout 
+To: Notmuch Test Suite <test_suite@notmuchmail.org>
+Date: GENERATED_DATE
+
+the-message-body
+EOF
+notmuch_date_sanitize < OUTPUT.raw > OUTPUT
+test_expect_equal_file EXPECTED OUTPUT
+
 test_done
-- 
2.43.0
\r

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

* [PATCH 3/4] test/emacs-tree: add known broken test for subject with CR/NL
  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   ` 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
  3 siblings, 0 replies; 8+ messages in thread
From: David Bremner @ 2024-05-20 11:58 UTC (permalink / raw)
  To: Richard Stanton, notmuch

The test is intentionally vague as it's hard to pin down the correct
output before the code is fixed.
---
 test/T460-emacs-tree.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/test/T460-emacs-tree.sh b/test/T460-emacs-tree.sh
index 9388a8ed..69a9df74 100755
--- a/test/T460-emacs-tree.sh
+++ b/test/T460-emacs-tree.sh
@@ -222,6 +222,15 @@ test_emacs '(let ((notmuch-tree-outline-enabled t))
 # folding all messages by height or depth should look the same
 test_expect_equal_file $EXPECTED/notmuch-tree-tag-inbox OUTPUT
 
+test_begin_subtest "notmuch-tree for message with subject with embedded CRNL"
+test_subtest_known_broken
+add_message "[subject]=\"=?UTF-8?B?8J+Pi++4jw==?= A SALE to boost your =?UTF-8?Q?workout=0D=0A?=\" [body]=the-message-body" 
+test_emacs "(notmuch-tree \"id:${gen_msg_id}\")
+	    (notmuch-test-wait)
+	    (test-output)"
+# one line of output, plus "End of search results."
+test_expect_equal "$(wc -l < OUTPUT)" 2
+
 add_email_corpus duplicate
 
 ID3=87r2ecrr6x.fsf@zephyr.silentflame.com
-- 
2.43.0

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

* [PATCH 4/4] emacs/tree: sanitize subjects when drawing tree
  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   ` David Bremner
  2024-05-29 10:41   ` [PATCH 1/4] test: re-enable duplicate UI tests in T460-emacs-tree David Bremner
  3 siblings, 0 replies; 8+ messages in thread
From: David Bremner @ 2024-05-20 11:58 UTC (permalink / raw)
  To: Richard Stanton, notmuch

This fixes the bug reported in

     id:6F2EF901-8B4B-44FF-83C5-22F732BA95A6@gmail.com

Unfortunately it turns out our test data has several tabs in the
subject lines. The expected output was updated to reflect their
removal and the ripple effect of several more subjects matching the
previous ones.
---
 emacs/notmuch-tree.el                         |  4 +++-
 test/T460-emacs-tree.sh                       |  1 -
 test/emacs-tree.expected-output/inbox-outline | 14 ++++++------
 .../notmuch-tree-single-thread                |  4 ++--
 .../notmuch-tree-tag-inbox                    | 22 +++++++++----------
 .../notmuch-tree-tag-inbox-oldest-first       | 22 +++++++++----------
 .../notmuch-tree-tag-inbox-tagged             | 22 +++++++++----------
 .../notmuch-tree-tag-inbox-thread-tagged      | 22 +++++++++----------
 .../result-format-function                    | 22 +++++++++----------
 9 files changed, 67 insertions(+), 66 deletions(-)

diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
index faec89c4..2332f020 100644
--- a/emacs/notmuch-tree.el
+++ b/emacs/notmuch-tree.el
@@ -946,7 +946,9 @@ unchanged ADDRESS if parsing fails."
 		    'face face)))
 
      ((string-equal field "subject")
-      (let ((bare-subject (notmuch-show-strip-re (plist-get headers :Subject)))
+      (let ((bare-subject
+	     (notmuch-sanitize
+	      (notmuch-show-strip-re (plist-get headers :Subject))))
 	    (previous-subject notmuch-tree-previous-subject)
 	    (face (if match
 		      'notmuch-tree-match-subject-face
diff --git a/test/T460-emacs-tree.sh b/test/T460-emacs-tree.sh
index 69a9df74..4243f65a 100755
--- a/test/T460-emacs-tree.sh
+++ b/test/T460-emacs-tree.sh
@@ -223,7 +223,6 @@ test_emacs '(let ((notmuch-tree-outline-enabled t))
 test_expect_equal_file $EXPECTED/notmuch-tree-tag-inbox OUTPUT
 
 test_begin_subtest "notmuch-tree for message with subject with embedded CRNL"
-test_subtest_known_broken
 add_message "[subject]=\"=?UTF-8?B?8J+Pi++4jw==?= A SALE to boost your =?UTF-8?Q?workout=0D=0A?=\" [body]=the-message-body" 
 test_emacs "(notmuch-tree \"id:${gen_msg_id}\")
 	    (notmuch-test-wait)
diff --git a/test/emacs-tree.expected-output/inbox-outline b/test/emacs-tree.expected-output/inbox-outline
index 9119a916..4acb62a9 100644
--- a/test/emacs-tree.expected-output/inbox-outline
+++ b/test/emacs-tree.expected-output/inbox-outline
@@ -1,24 +1,24 @@
   2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (inbox unread)
   2010-12-16  Olivier Berger        ─►Essai accentué                                      (inbox unread)
   2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox unread)
-  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search	instead of going into an infinite loop (attachment inbox unread)
+  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment inbox unread)
   2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (inbox unread)
   2009-11-17  Adrian Perez de Cast  ┬►[notmuch] Introducing myself                        (inbox signed unread)
   2009-11-17  Israel Herraiz        ┬►[notmuch] New to the list                           (inbox unread)
   2009-11-17  Jan Janak             ┬►[notmuch] What a great idea!                        (inbox unread)
   2009-11-17  Jan Janak             ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox unread)
   2009-11-17  Aron Griffis          ┬►[notmuch] archive                                   (inbox unread)
-  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove	inbox (and unread) tags (inbox unread)
+  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)
   2009-11-17  Lars Kellogg-Stedman  ┬►[notmuch] Working with Maildir storage?             (inbox signed unread)
-  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message	headers (inbox unread)
-  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that	highlights URLs and uses word-wrap (inbox unread)
+  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)
+  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)
   2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (inbox unread)
   2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (inbox unread)
   2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (inbox unread)
-  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool	subdirectories into tags (inbox unread)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before	statting (inbox unread)
+  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox unread)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox unread)
   2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox unread)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++	libs. (inbox unread)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox unread)
   2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (attachment inbox signed unread)
   2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (inbox unread)
   2009-11-17  Alex Botero-Lowry     ┬►[notmuch] preliminary FreeBSD support               (attachment inbox unread)
diff --git a/test/emacs-tree.expected-output/notmuch-tree-single-thread b/test/emacs-tree.expected-output/notmuch-tree-single-thread
index 2285d10e..3da7628d 100644
--- a/test/emacs-tree.expected-output/notmuch-tree-single-thread
+++ b/test/emacs-tree.expected-output/notmuch-tree-single-thread
@@ -1,5 +1,5 @@
-  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message	headers (inbox)
-  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++	file with gcc 4.4 (inbox unread)
+  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox)
+  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++ file with gcc 4.4 (inbox unread)
   2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)
   2009-11-17  Keith Packard          ╰┬► ...                                              (inbox unread)
   2009-11-18  Carl Worth              ╰─► ...                                             (inbox unread)
diff --git a/test/emacs-tree.expected-output/notmuch-tree-tag-inbox b/test/emacs-tree.expected-output/notmuch-tree-tag-inbox
index f28d4856..3970e8e8 100644
--- a/test/emacs-tree.expected-output/notmuch-tree-tag-inbox
+++ b/test/emacs-tree.expected-output/notmuch-tree-tag-inbox
@@ -1,8 +1,8 @@
   2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (inbox unread)
   2010-12-16  Olivier Berger        ─►Essai accentué                                      (inbox unread)
   2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox unread)
-  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search	instead of going into an infinite loop (attachment inbox unread)
-  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox unread)
+  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment inbox unread)
+  2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (inbox unread)
   2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Adrian Perez de Cast  ┬►[notmuch] Introducing myself                        (inbox signed unread)
@@ -19,8 +19,8 @@
   2009-11-17  Aron Griffis          ┬►[notmuch] archive                                   (inbox unread)
   2009-11-18  Keith Packard         ╰┬► ...                                               (inbox unread)
   2009-11-18  Carl Worth             ╰─► ...                                              (inbox unread)
-  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove	inbox (and unread) tags (inbox unread)
-  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)
+  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)
+  2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Lars Kellogg-Stedman  ┬►[notmuch] Working with Maildir storage?             (inbox signed unread)
   2009-11-17  Mikhail Gusarov       ├┬► ...                                               (inbox signed unread)
   2009-11-17  Lars Kellogg-Stedman  │╰┬► ...                                              (inbox signed unread)
@@ -28,23 +28,23 @@
   2009-11-17  Keith Packard         │ ╰┬► ...                                             (inbox unread)
   2009-11-18  Lars Kellogg-Stedman  │  ╰─► ...                                            (inbox signed unread)
   2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
-  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message	headers (inbox unread)
-  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++	file with gcc 4.4 (inbox unread)
+  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)
+  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++ file with gcc 4.4 (inbox unread)
   2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)
   2009-11-17  Keith Packard          ╰┬► ...                                              (inbox unread)
   2009-11-18  Carl Worth              ╰─► ...                                             (inbox unread)
-  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that	highlights URLs and uses word-wrap (inbox unread)
-  2009-11-18  Alexander Botero-Low  ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)
+  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)
+  2009-11-18  Alexander Botero-Low  ╰─► ...                                               (inbox unread)
   2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (inbox unread)
   2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (inbox unread)
   2009-11-18  Alexander Botero-Low  ╰┬► ...                                               (inbox unread)
   2009-11-18  Jjgod Jiang            ╰┬► ...                                              (inbox unread)
   2009-11-18  Alexander Botero-Low    ╰─► ...                                             (inbox unread)
   2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (inbox unread)
-  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool	subdirectories into tags (inbox unread)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before	statting (inbox unread)
+  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox unread)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox unread)
   2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox unread)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++	libs. (inbox unread)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox unread)
   2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (attachment inbox signed unread)
   2009-11-18  Lars Kellogg-Stedman  ╰─► ...                                               (attachment inbox signed unread)
   2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (inbox unread)
diff --git a/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-oldest-first b/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-oldest-first
index 588fc583..4277eda5 100644
--- a/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-oldest-first
+++ b/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-oldest-first
@@ -1,5 +1,5 @@
-  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message	headers (inbox unread)
-  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++	file with gcc 4.4 (inbox unread)
+  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)
+  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++ file with gcc 4.4 (inbox unread)
   2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)
   2009-11-17  Keith Packard          ╰┬► ...                                              (inbox unread)
   2009-11-18  Carl Worth              ╰─► ...                                             (inbox unread)
@@ -13,8 +13,8 @@
   2009-11-17  Alex Botero-Lowry     ┬►[notmuch] preliminary FreeBSD support               (attachment inbox unread)
   2009-11-17  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (inbox unread)
-  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove	inbox (and unread) tags (inbox unread)
-  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)
+  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)
+  2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Jan Janak             ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox unread)
   2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Jan Janak             ┬►[notmuch] What a great idea!                        (inbox unread)
@@ -31,22 +31,22 @@
   2009-11-18  Carl Worth             ╰─► ...                                              (inbox unread)
   2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (inbox unread)
   2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
-  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search	instead of going into an infinite loop (attachment inbox unread)
-  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox unread)
+  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment inbox unread)
+  2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (attachment inbox signed unread)
   2009-11-18  Lars Kellogg-Stedman  ╰─► ...                                               (attachment inbox signed unread)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++	libs. (inbox unread)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox unread)
   2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox unread)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before	statting (inbox unread)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox unread)
   2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (inbox unread)
   2009-11-18  Alexander Botero-Low  ╰┬► ...                                               (inbox unread)
   2009-11-18  Jjgod Jiang            ╰┬► ...                                              (inbox unread)
   2009-11-18  Alexander Botero-Low    ╰─► ...                                             (inbox unread)
-  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool	subdirectories into tags (inbox unread)
+  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox unread)
   2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (inbox unread)
   2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (inbox unread)
-  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that	highlights URLs and uses word-wrap (inbox unread)
-  2009-11-18  Alexander Botero-Low  ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)
+  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)
+  2009-11-18  Alexander Botero-Low  ╰─► ...                                               (inbox unread)
   2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox unread)
   2010-12-16  Olivier Berger        ─►Essai accentué                                      (inbox unread)
   2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (inbox unread)
diff --git a/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-tagged b/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-tagged
index 428c0ae8..eb62e144 100644
--- a/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-tagged
+++ b/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-tagged
@@ -1,8 +1,8 @@
   2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (inbox unread)
   2010-12-16  Olivier Berger        ─►Essai accentué                                      (inbox test_tag unread)
   2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox unread)
-  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search	instead of going into an infinite loop (attachment inbox unread)
-  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox unread)
+  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment inbox unread)
+  2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (inbox unread)
   2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Adrian Perez de Cast  ┬►[notmuch] Introducing myself                        (inbox signed unread)
@@ -19,8 +19,8 @@
   2009-11-17  Aron Griffis          ┬►[notmuch] archive                                   (inbox unread)
   2009-11-18  Keith Packard         ╰┬► ...                                               (inbox unread)
   2009-11-18  Carl Worth             ╰─► ...                                              (inbox unread)
-  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove	inbox (and unread) tags (inbox unread)
-  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)
+  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)
+  2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Lars Kellogg-Stedman  ┬►[notmuch] Working with Maildir storage?             (inbox signed unread)
   2009-11-17  Mikhail Gusarov       ├┬► ...                                               (inbox signed unread)
   2009-11-17  Lars Kellogg-Stedman  │╰┬► ...                                              (inbox signed unread)
@@ -28,23 +28,23 @@
   2009-11-17  Keith Packard         │ ╰┬► ...                                             (inbox unread)
   2009-11-18  Lars Kellogg-Stedman  │  ╰─► ...                                            (inbox signed unread)
   2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
-  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message	headers (inbox unread)
-  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++	file with gcc 4.4 (inbox unread)
+  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)
+  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++ file with gcc 4.4 (inbox unread)
   2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)
   2009-11-17  Keith Packard          ╰┬► ...                                              (inbox unread)
   2009-11-18  Carl Worth              ╰─► ...                                             (inbox unread)
-  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that	highlights URLs and uses word-wrap (inbox unread)
-  2009-11-18  Alexander Botero-Low  ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)
+  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)
+  2009-11-18  Alexander Botero-Low  ╰─► ...                                               (inbox unread)
   2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (inbox unread)
   2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (inbox unread)
   2009-11-18  Alexander Botero-Low  ╰┬► ...                                               (inbox unread)
   2009-11-18  Jjgod Jiang            ╰┬► ...                                              (inbox unread)
   2009-11-18  Alexander Botero-Low    ╰─► ...                                             (inbox unread)
   2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (inbox unread)
-  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool	subdirectories into tags (inbox unread)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before	statting (inbox unread)
+  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox unread)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox unread)
   2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox unread)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++	libs. (inbox unread)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox unread)
   2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (attachment inbox signed unread)
   2009-11-18  Lars Kellogg-Stedman  ╰─► ...                                               (attachment inbox signed unread)
   2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (inbox unread)
diff --git a/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-thread-tagged b/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-thread-tagged
index 828c5251..c90d726e 100644
--- a/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-thread-tagged
+++ b/test/emacs-tree.expected-output/notmuch-tree-tag-inbox-thread-tagged
@@ -1,8 +1,8 @@
   2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (inbox unread)
   2010-12-16  Olivier Berger        ─►Essai accentué                                      (inbox unread)
   2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox unread)
-  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search	instead of going into an infinite loop (attachment inbox unread)
-  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox unread)
+  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment inbox unread)
+  2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (inbox unread)
   2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Adrian Perez de Cast  ┬►[notmuch] Introducing myself                        (inbox signed unread)
@@ -19,8 +19,8 @@
   2009-11-17  Aron Griffis          ┬►[notmuch] archive                                   (inbox unread)
   2009-11-18  Keith Packard         ╰┬► ...                                               (inbox unread)
   2009-11-18  Carl Worth             ╰─► ...                                              (inbox unread)
-  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove	inbox (and unread) tags (inbox unread)
-  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)
+  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)
+  2009-11-18  Carl Worth            ╰─► ...                                               (inbox unread)
   2009-11-17  Lars Kellogg-Stedman  ┬►[notmuch] Working with Maildir storage?             (inbox signed test_thread_tag unread)
   2009-11-17  Mikhail Gusarov       ├┬► ...                                               (inbox signed test_thread_tag unread)
   2009-11-17  Lars Kellogg-Stedman  │╰┬► ...                                              (inbox signed test_thread_tag unread)
@@ -28,23 +28,23 @@
   2009-11-17  Keith Packard         │ ╰┬► ...                                             (inbox test_thread_tag unread)
   2009-11-18  Lars Kellogg-Stedman  │  ╰─► ...                                            (inbox signed test_thread_tag unread)
   2009-11-18  Carl Worth            ╰─► ...                                               (inbox test_thread_tag unread)
-  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message	headers (inbox unread)
-  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++	file with gcc 4.4 (inbox unread)
+  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)
+  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++ file with gcc 4.4 (inbox unread)
   2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)
   2009-11-17  Keith Packard          ╰┬► ...                                              (inbox unread)
   2009-11-18  Carl Worth              ╰─► ...                                             (inbox unread)
-  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that	highlights URLs and uses word-wrap (inbox unread)
-  2009-11-18  Alexander Botero-Low  ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)
+  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)
+  2009-11-18  Alexander Botero-Low  ╰─► ...                                               (inbox unread)
   2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (inbox unread)
   2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (inbox unread)
   2009-11-18  Alexander Botero-Low  ╰┬► ...                                               (inbox unread)
   2009-11-18  Jjgod Jiang            ╰┬► ...                                              (inbox unread)
   2009-11-18  Alexander Botero-Low    ╰─► ...                                             (inbox unread)
   2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (inbox unread)
-  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool	subdirectories into tags (inbox unread)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before	statting (inbox unread)
+  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox unread)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox unread)
   2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox unread)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++	libs. (inbox unread)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox unread)
   2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (attachment inbox signed unread)
   2009-11-18  Lars Kellogg-Stedman  ╰─► ...                                               (attachment inbox signed unread)
   2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (inbox unread)
diff --git a/test/emacs-tree.expected-output/result-format-function b/test/emacs-tree.expected-output/result-format-function
index 7eb24696..42285f0e 100644
--- a/test/emacs-tree.expected-output/result-format-function
+++ b/test/emacs-tree.expected-output/result-format-function
@@ -1,8 +1,8 @@
   2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (  ui)
   2010-12-16  Olivier Berger        ─►Essai accentué                                      (  ui)
   2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (  ui)
-  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search	instead of going into an infinite loop (& ui)
-  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (  ui)
+  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (& ui)
+  2009-11-18  Carl Worth            ╰─► ...                                               (  ui)
   2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (  ui)
   2009-11-18  Carl Worth            ╰─► ...                                               (  ui)
   2009-11-17  Adrian Perez de Cast  ┬►[notmuch] Introducing myself                        ( =ui)
@@ -19,8 +19,8 @@
   2009-11-17  Aron Griffis          ┬►[notmuch] archive                                   (  ui)
   2009-11-18  Keith Packard         ╰┬► ...                                               (  ui)
   2009-11-18  Carl Worth             ╰─► ...                                              (  ui)
-  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove	inbox (and unread) tags (  ui)
-  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (  ui)
+  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (  ui)
+  2009-11-18  Carl Worth            ╰─► ...                                               (  ui)
   2009-11-17  Lars Kellogg-Stedman  ┬►[notmuch] Working with Maildir storage?             ( = i)
   2009-11-17  Mikhail Gusarov       ├┬► ...                                               ( =ui)
   2009-11-17  Lars Kellogg-Stedman  │╰┬► ...                                              ( =ui)
@@ -28,23 +28,23 @@
   2009-11-17  Keith Packard         │ ╰┬► ...                                             (  ui)
   2009-11-18  Lars Kellogg-Stedman  │  ╰─► ...                                            ( =ui)
   2009-11-18  Carl Worth            ╰─► ...                                               (  ui)
-  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message	headers (   i)
-  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++	file with gcc 4.4 (  ui)
+  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (   i)
+  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++ file with gcc 4.4 (  ui)
   2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (  ui)
   2009-11-17  Keith Packard          ╰┬► ...                                              (  ui)
   2009-11-18  Carl Worth              ╰─► ...                                             (  ui)
-  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that	highlights URLs and uses word-wrap (  ui)
-  2009-11-18  Alexander Botero-Low  ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (  ui)
+  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (  ui)
+  2009-11-18  Alexander Botero-Low  ╰─► ...                                               (  ui)
   2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (  ui)
   2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (  ui)
   2009-11-18  Alexander Botero-Low  ╰┬► ...                                               (  ui)
   2009-11-18  Jjgod Jiang            ╰┬► ...                                              (  ui)
   2009-11-18  Alexander Botero-Low    ╰─► ...                                             (  ui)
   2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (  ui)
-  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool	subdirectories into tags (  ui)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before	statting (  ui)
+  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (  ui)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (  ui)
   2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (  ui)
-  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++	libs. (  ui)
+  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (  ui)
   2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (&=ui)
   2009-11-18  Lars Kellogg-Stedman  ╰─► ...                                               (&=ui)
   2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (  ui)
-- 
2.43.0
\r

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

* Re: [PATCH 1/4] test: re-enable duplicate UI tests in T460-emacs-tree
  2024-05-20 11:58 ` [PATCH 1/4] test: re-enable duplicate UI tests in T460-emacs-tree David Bremner
                     ` (2 preceding siblings ...)
  2024-05-20 11:58   ` [PATCH 4/4] emacs/tree: sanitize subjects when drawing tree David Bremner
@ 2024-05-29 10:41   ` David Bremner
  3 siblings, 0 replies; 8+ messages in thread
From: David Bremner @ 2024-05-29 10:41 UTC (permalink / raw)
  To: notmuch

David Bremner <david@tethera.net> writes:

> These were disabled (accidentally?) in f63d14a8c12a.
> ---
>  test/T460-emacs-tree.sh | 2 --
>  1 file changed, 2 deletions(-)

applied to master.

d

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

* Re: Carriage returns in subject line cause problems in unthreaded and tree mode
  2024-05-18 10:07 ` Tomi Ollila
@ 2024-08-06 11:36   ` David Bremner
  0 siblings, 0 replies; 8+ messages in thread
From: David Bremner @ 2024-08-06 11:36 UTC (permalink / raw)
  To: Tomi Ollila, Richard Stanton, notmuch

Tomi Ollila <tomi.ollila@iki.fi> writes:

>
> -- and is the behavior different in some other modes (I (mostly) just use 
> notmuch-search and notmuch-show modes so cannot recall how other views
> look like...
>

Yes, the issue is exactly making the behaviour consistent between
modes. It's not just ^M but also tabs that cause messiness.

In the end I decided to apply the change to master, since the code
changes are relatively small (I admit the impact on the test suite is
larger than desirable).

^ 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).