emacs: show: exclude bug fix

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 commit is contained in:
Mark Walters 2012-07-28 12:56:34 +01:00 committed by David Bremner
parent 7d9b430e21
commit 1efb6e7ae1

View file

@ -1617,7 +1617,7 @@ than only the current message."
(let (shell-command) (let (shell-command)
(if entire-thread (if entire-thread
(setq shell-command (setq shell-command
(concat notmuch-command " show --format=mbox " (concat notmuch-command " show --format=mbox --exclude=false "
(shell-quote-argument (shell-quote-argument
(mapconcat 'identity (notmuch-show-get-message-ids-for-open-messages) " OR ")) (mapconcat 'identity (notmuch-show-get-message-ids-for-open-messages) " OR "))
" | " command)) " | " command))