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 E74E3431FD6
\r
6 for <notmuch@notmuchmail.org>; Sat, 7 Apr 2012 17:35:52 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 WK766wKLVmLA for <notmuch@notmuchmail.org>;
\r
16 Sat, 7 Apr 2012 17:35:52 -0700 (PDT)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id C225C431FD7
\r
20 for <notmuch@notmuchmail.org>; Sat, 7 Apr 2012 17:35:47 -0700 (PDT)
\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by fire-doxen-postvirus (Postfix) with ESMTP id 91E1B32800B
\r
23 for <notmuch@notmuchmail.org>; Sat, 7 Apr 2012 17:35:45 -0700 (PDT)
\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new
\r
25 Received: from finestructure.net (unknown [76.89.193.65])
\r
26 (Authenticated sender: jrollins)
\r
27 by fire-doxen-submit (Postfix) with ESMTP id 523102E50DD4
\r
28 for <notmuch@notmuchmail.org>; Sat, 7 Apr 2012 17:35:43 -0700 (PDT)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id 00EC87B6; Sat, 7 Apr 2012 17:35:42 -0700 (PDT)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
33 Subject: [PATCH 3/8] emacs: have tag-completion return all tags for nil input
\r
34 Date: Sat, 7 Apr 2012 17:35:33 -0700
\r
35 Message-Id: <1333845338-22960-4-git-send-email-jrollins@finestructure.net>
\r
36 X-Mailer: git-send-email 1.7.9.1
\r
37 In-Reply-To: <1333845338-22960-3-git-send-email-jrollins@finestructure.net>
\r
38 References: <1333354853-25729-1-git-send-email-jrollins@finestructure.net>
\r
39 <1333845338-22960-1-git-send-email-jrollins@finestructure.net>
\r
40 <1333845338-22960-2-git-send-email-jrollins@finestructure.net>
\r
41 <1333845338-22960-3-git-send-email-jrollins@finestructure.net>
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.13
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Sun, 08 Apr 2012 00:35:53 -0000
\r
56 Previously the function would fail if the initial input was nil. Now
\r
57 it will return a list of all tags, which obviously makes much more
\r
60 emacs/notmuch-tag.el | 2 ++
\r
61 1 files changed, 2 insertions(+), 0 deletions(-)
\r
63 diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el
\r
64 index 5240d13..b1848b4 100644
\r
65 --- a/emacs/notmuch-tag.el
\r
66 +++ b/emacs/notmuch-tag.el
\r
67 @@ -55,6 +55,8 @@ the messages that were tagged"
\r
68 `notmuch-read-tag-changes' function.")
\r
70 (defun notmuch-tag-completions (&optional search-terms)
\r
71 + (if (null search-terms)
\r
72 + (setq search-terms (list "*")))
\r
74 (with-output-to-string
\r
75 (with-current-buffer standard-output
\r