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

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

Date:Wed, 05 Jan 2022 07:41:50 -0400

To:Notmuch Mail

Cc:

From:David Bremner


David Bremner <david@tethera.net> writes:

> 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

Oops, I forgot to mark the new test as fixed in this last commit. Fixed
in git.

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

Thread: