[PATCH 3/3] emacs: use --exclude=false when counting total messages

Subject:[PATCH 3/3] emacs: use --exclude=false when counting total messages

Date:Tue, 4 Jan 2022 21:06:06 -0400

To:Tomi Ollila ,Gregor Zattler ,Notmuch Mail

Cc:

From:David Bremner


Even if a user excludes a large fraction of their messages, they still
nonetheless exist and are searchable.
---
 emacs/notmuch-hello.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index fcf7a6aa..cd7ac39c 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -785,7 +785,7 @@ Complete list of currently available key bindings:
 		   :help-echo "Refresh"
 		   (notmuch-hello-nice-number
 		    (string-to-number
-		     (car (notmuch--process-lines notmuch-command "count")))))
+		     (car (notmuch--process-lines notmuch-command "count" "--exclude=false")))))
     (widget-insert " messages.\n")))
 
 (defun notmuch-hello-insert-saved-searches ()
-- 
2.34.1

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: