]> git.notmuchmail.org Git - notmuch/commitdiff
Revert "emacs: use --exclude=false when checking for empty searches"
authorDavid Bremner <david@tethera.net>
Sat, 22 Jan 2022 17:44:39 +0000 (13:44 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 23 Jan 2022 18:21:46 +0000 (14:21 -0400)
Revert commit 8370e3cfe2dd8a79323613c2bbf2f11db6134dac, 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.

emacs/notmuch-hello.el
test/T440-emacs-hello.sh
test/emacs.expected-output/notmuch-hello-all-tags

index 9ac52c11bcc5ac716e7fab6feb67517c152f5eb8..71e91093ab5969461af9bde1e096738ae50fb440 100644 (file)
@@ -570,7 +570,7 @@ options will be handled as specified for
                                            (plist-get options :filter))))
         "\n")))
     (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 count --batch failed"
        "Please check that the notmuch CLI is new enough to support `count
index 842781a48c3512c82c259688947f8b87b1f53167..dc80cc75880d59845a02e7c5b29c7b4965d7c0ce 100755 (executable)
@@ -69,6 +69,7 @@ notmuch tag -$tag '*'
 test_expect_equal_file $EXPECTED/notmuch-hello-long-names OUTPUT
 
 test_begin_subtest "All tags show up"
+test_subtest_known_broken
 tag=exclude_me
 notmuch tag +$tag '*'
 notmuch config set search.exclude_tags $tag
index 2802a7080122d76f031013142795ac840ea4ad5c..65e479faed6b6785671738367a532e4ee02927b9 100644 (file)
@@ -1,9 +1,5 @@
    Welcome to notmuch. You have 52 messages.
 
-Saved searches: [edit]
-
-         52 inbox           52 unread          52 all mail
-
 Search:                                                                     .
 
 All tags: [hide]