]> git.notmuchmail.org Git - notmuch/commit
emacs/tree: sanitize subjects when drawing tree
authorDavid Bremner <david@tethera.net>
Mon, 20 May 2024 11:58:58 +0000 (08:58 -0300)
committerDavid Bremner <david@tethera.net>
Tue, 6 Aug 2024 11:29:40 +0000 (08:29 -0300)
commitbf9b9fe0469d24d1f0924074ffd5904363cb49cc
tree8ea2e5031b9b54bbac634a07454ffa7f5db29f40
parentdf330eef9a6cbcd239589b13c54a451a0cf87e36
emacs/tree: sanitize subjects when drawing tree

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.
14 files changed:
emacs/notmuch-tree.el
test/T460-emacs-tree.sh
test/emacs-exclude.expected-output/notmuch-tree-tag-inbox-with-excluded
test/emacs-exclude.expected-output/notmuch-tree-tag-inbox-without-excluded
test/emacs-exclude.expected-output/notmuch-unthreaded-tag-inbox-with-excluded
test/emacs-exclude.expected-output/notmuch-unthreaded-tag-inbox-without-excluded
test/emacs-tree.expected-output/inbox-outline
test/emacs-tree.expected-output/notmuch-tree-single-thread
test/emacs-tree.expected-output/notmuch-tree-tag-inbox
test/emacs-tree.expected-output/notmuch-tree-tag-inbox-oldest-first
test/emacs-tree.expected-output/notmuch-tree-tag-inbox-tagged
test/emacs-tree.expected-output/notmuch-tree-tag-inbox-thread-tagged
test/emacs-tree.expected-output/result-format-function
test/emacs-unthreaded.expected-output/result-format-function