Re: notmuch-search not excluding excluded tags

2024-05-20 Thread David Bremner
erik colson writes: > Hi, > > I recently upgraded from an older version in which excluded tags in the > notmuch config were nicely hidden. Now I have exactly the same problem > as Stanton described. I can see notmuch-search-hide-excluded is set > globally to t, but in every search buffer it

Re: notmuch-search not excluding excluded tags

2024-05-20 Thread erik colson
David Bremner writes: > Richard Stanton writes: > >> I have spam and trash defined as excluded tags for notmuch searches and when >> I run (at the command line) the command >> >> notmuch search tag:unread >> >> I get a list of unread messages that does *not* include unread spam or trash >>

Meaning of offset in notmuch search --output=files --offset=

2024-05-20 Thread Teemu Likonen
It doesn't seem clear how offset is counted on command like notmuch search --output=files --offset=10 ... Does it skip 10 output files (which may belong to less than 10 messages) or does it skip 10 messages (so it possibly skips more than 10 files)? Manual page speaks of "results" but I

[PATCH 4/4] emacs/tree: sanitize subjects when drawing tree

2024-05-20 Thread David Bremner
This fixes the bug reported in id:6f2ef901-8b4b-44ff-83c5-22f732ba9...@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

[PATCH 1/4] test: re-enable duplicate UI tests in T460-emacs-tree

2024-05-20 Thread David Bremner
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 @@

[PATCH 2/4] test/emacs-show: add regression test for subjects with CR/NL

2024-05-20 Thread David Bremner
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

[PATCH 3/4] test/emacs-tree: add known broken test for subject with CR/NL

2024-05-20 Thread David Bremner
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 ---