aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-01-04 21:06:05 -0400
committerDavid Bremner <david@tethera.net>2022-01-20 15:31:36 -0400
commit8370e3cfe2dd8a79323613c2bbf2f11db6134dac (patch)
tree07b7b854c8981ed8ddd95664baf069caf903ec4e
parent704aa76f5dbe64098963100ec0ed89c00340d89b (diff)
emacs: use --exclude=false when checking for empty searches
In particular tags that only occur on otherwise excluded messages do not show up in "All tags" without this change. The reported numbers _do_ take excludes into account, so it is possible that searches (e.g. the aformentioned tags) will show up with a count of zero.
-rw-r--r--emacs/notmuch-hello.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index fc007c4c..50b6f303 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -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" "--batch") 0)
+ t t nil "count" "--exclude=false" "--batch") 0)
(notmuch-logged-error
"notmuch count --batch failed"
"Please check that the notmuch CLI is new enough to support `count