[PATCH] emacs: show: exclude bug fix

Subject: [PATCH] emacs: show: exclude bug fix

Date: Sat, 28 Jul 2012 12:56:34 +0100

To: notmuch@notmuchmail.org

Cc:

From: Mark Walters


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.

 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


Thread: