mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
Revert "emacs: use --exclude=false when checking for empty searches"
Revert commit 8370e3cfe2
, and remark the
corresponding test as broken. Also update the expected output of the
broken test to show excludes active in the user defined saved searches.
This commit is contained in:
parent
2786aa4d54
commit
68640fd967
3 changed files with 2 additions and 5 deletions
|
@ -570,7 +570,7 @@ options will be handled as specified for
|
||||||
(plist-get options :filter))))
|
(plist-get options :filter))))
|
||||||
"\n")))
|
"\n")))
|
||||||
(unless (= (notmuch--call-process-region (point-min) (point-max) notmuch-command
|
(unless (= (notmuch--call-process-region (point-min) (point-max) notmuch-command
|
||||||
t t nil "count" "--exclude=false" "--batch") 0)
|
t t nil "count" "--batch") 0)
|
||||||
(notmuch-logged-error
|
(notmuch-logged-error
|
||||||
"notmuch count --batch failed"
|
"notmuch count --batch failed"
|
||||||
"Please check that the notmuch CLI is new enough to support `count
|
"Please check that the notmuch CLI is new enough to support `count
|
||||||
|
|
|
@ -69,6 +69,7 @@ notmuch tag -$tag '*'
|
||||||
test_expect_equal_file $EXPECTED/notmuch-hello-long-names OUTPUT
|
test_expect_equal_file $EXPECTED/notmuch-hello-long-names OUTPUT
|
||||||
|
|
||||||
test_begin_subtest "All tags show up"
|
test_begin_subtest "All tags show up"
|
||||||
|
test_subtest_known_broken
|
||||||
tag=exclude_me
|
tag=exclude_me
|
||||||
notmuch tag +$tag '*'
|
notmuch tag +$tag '*'
|
||||||
notmuch config set search.exclude_tags $tag
|
notmuch config set search.exclude_tags $tag
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
Welcome to notmuch. You have 52 messages.
|
Welcome to notmuch. You have 52 messages.
|
||||||
|
|
||||||
Saved searches: [edit]
|
|
||||||
|
|
||||||
52 inbox 52 unread 52 all mail
|
|
||||||
|
|
||||||
Search: .
|
Search: .
|
||||||
|
|
||||||
All tags: [hide]
|
All tags: [hide]
|
||||||
|
|
Loading…
Reference in a new issue