Links in email messages
[notmuch-archives.git] / c6 / d65e230cdafac2c76d741fc033531985c4f5e1
1 Return-Path: <jrollins@finestructure.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 0E04F403E4C\r
6         for <notmuch@notmuchmail.org>; Mon,  9 Apr 2012 11:36:26 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id oDZOkBH5E8ri for <notmuch@notmuchmail.org>;\r
16         Mon,  9 Apr 2012 11:36:25 -0700 (PDT)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 73D70429E44\r
20         for <notmuch@notmuchmail.org>; Mon,  9 Apr 2012 11:36:25 -0700 (PDT)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id F2BF566E00DF\r
23         for <notmuch@notmuchmail.org>; Mon,  9 Apr 2012 11:36:22 -0700 (PDT)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (gwave-225.ligo.caltech.edu\r
26  [131.215.114.225])     (Authenticated sender: jrollins)        by earth-doxen-submit\r
27  (Postfix) with ESMTP id 4257566E0120   for <notmuch@notmuchmail.org>; Mon,  9\r
28  Apr 2012 11:36:21 -0700 (PDT)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 14294768; Mon,  9 Apr 2012 11:36:21 -0700 (PDT)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: [PATCH 2/3] emacs: include tags from excluded messages in tag tab\r
34         completion\r
35 Date: Mon,  9 Apr 2012 11:36:17 -0700\r
36 Message-Id: <1333996578-24772-3-git-send-email-jrollins@finestructure.net>\r
37 X-Mailer: git-send-email 1.7.9.1\r
38 In-Reply-To: <1333996578-24772-2-git-send-email-jrollins@finestructure.net>\r
39 References: <1333996578-24772-1-git-send-email-jrollins@finestructure.net>\r
40         <1333996578-24772-2-git-send-email-jrollins@finestructure.net>\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Mon, 09 Apr 2012 18:36:26 -0000\r
54 \r
55 The new message exclude functionality will hide tags that only exist\r
56 on excluded messages.  However, one might very well want to manually\r
57 modify excluded tags.  This makes sure tags from excluded messages are\r
58 always available in tab completion.\r
59 ---\r
60  emacs/notmuch.el |    2 +-\r
61  1 files changed, 1 insertions(+), 1 deletions(-)\r
62 \r
63 diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
64 index 38ae005..8b48399 100644\r
65 --- a/emacs/notmuch.el\r
66 +++ b/emacs/notmuch.el\r
67 @@ -89,7 +89,7 @@ For example:\r
68     (with-output-to-string\r
69       (with-current-buffer standard-output\r
70         (apply 'call-process notmuch-command nil t\r
71 -             nil "search" "--output=tags" search-terms)))\r
72 +             nil "search" "--output=tags" "--exclude=false" search-terms)))\r
73     "\n+" t))\r
74  \r
75  (defun notmuch-select-tag-with-completion (prompt &rest search-terms)\r
76 -- \r
77 1.7.9.1\r
78 \r