From: Jameson Graef Rollins <jrollins@finestructure.net>
Date: Mon, 9 Apr 2012 18:36:17 +0000 (-0700)
Subject: emacs: include tags from excluded messages in tag tab completion
X-Git-Tag: 0.13_rc1~86
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8225ff21ec85a70749b2c58283c0a9f714303b4b;p=notmuch.git

emacs: include tags from excluded messages in tag tab completion

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.
---

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 38ae0050..8b483995 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -89,7 +89,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)