[PATCH] emacs: show: exclude bug fix

Tomi Ollila tomi.ollila at iki.fi
Tue Jul 31 00:48:00 PDT 2012


On Sat, Jul 28 2012, Mark Walters wrote:

> The pipe message function (when used with a prefix) uses a search of
> the form "id:<id1> or id:<id2>" etc. Since the user says precisely
> which messages are wanted by opening them it should not use excludes.
> ---
>
> This is a small bugfix. Note that emacs how mode includes excluded
> messages in its buffer but, by default, it displays them closed.

LGTM.

Tomi

>
>  emacs/notmuch-show.el |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
> index 6335d45..dcfc190 100644
> --- a/emacs/notmuch-show.el
> +++ b/emacs/notmuch-show.el
> @@ -1617,7 +1617,7 @@ than only the current message."
>    (let (shell-command)
>      (if entire-thread
>  	(setq shell-command
> -	      (concat notmuch-command " show --format=mbox "
> +	      (concat notmuch-command " show --format=mbox --exclude=false "
>  		      (shell-quote-argument
>  		       (mapconcat 'identity (notmuch-show-get-message-ids-for-open-messages) " OR "))
>  		      " | " command))
> -- 
> 1.7.9.1
>
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list