[PATCH 6/6] emacs: include tags from excluded messages in tag tab completion

Subject: [PATCH 6/6] emacs: include tags from excluded messages in tag tab completion

Date: Mon, 2 Apr 2012 01:20:53 -0700

To: Notmuch Mail

Cc:

From: Jameson Graef Rollins


The new message exclude functionality will hide tags that only exist
on excluded messages.  However, one might very well want to manually
modify excluded tags.  This makes sure tags from excluded messages are
always available in tab completion.
---
 emacs/notmuch.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 19423ea..7cba496 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -91,7 +91,7 @@ For example:
    (with-output-to-string
      (with-current-buffer standard-output
        (apply 'call-process notmuch-command nil t
-	      nil "search" "--output=tags" search-terms)))
+	      nil "search" "--output=tags" "--exclude=false" search-terms)))
    "\n+" t))
 
 (defun notmuch-select-tag-with-completion (prompt &rest search-terms)
-- 
1.7.9.1


Thread: