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 11799403E4C
\r
6 for <notmuch@notmuchmail.org>; Mon, 9 Apr 2012 11:36:27 -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 tvA-7qGWTCe6 for <notmuch@notmuchmail.org>;
\r
16 Mon, 9 Apr 2012 11:36:26 -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 9D886429E44
\r
20 for <notmuch@notmuchmail.org>; Mon, 9 Apr 2012 11:36:26 -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 B08AC328030
\r
23 for <notmuch@notmuchmail.org>; Mon, 9 Apr 2012 11:36:24 -0700 (PDT)
\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-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 fire-doxen-submit
\r
27 (Postfix) with ESMTP id 6E26C2E50DBB 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 170C478D; 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 3/3] emacs: have tag-completion return all tags for nil input
\r
34 Date: Mon, 9 Apr 2012 11:36:18 -0700
\r
35 Message-Id: <1333996578-24772-4-git-send-email-jrollins@finestructure.net>
\r
36 X-Mailer: git-send-email 1.7.9.1
\r
37 In-Reply-To: <1333996578-24772-3-git-send-email-jrollins@finestructure.net>
\r
38 References: <1333996578-24772-1-git-send-email-jrollins@finestructure.net>
\r
39 <1333996578-24772-2-git-send-email-jrollins@finestructure.net>
\r
40 <1333996578-24772-3-git-send-email-jrollins@finestructure.net>
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\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:27 -0000
\r
55 Previously the function would fail if the initial input was nil. Now
\r
56 it will return a list of all tags, which obviously makes much more
\r
59 emacs/notmuch.el | 2 ++
\r
60 1 files changed, 2 insertions(+), 0 deletions(-)
\r
62 diff --git a/emacs/notmuch.el b/emacs/notmuch.el
\r
63 index 8b48399..ba833e6 100644
\r
64 --- a/emacs/notmuch.el
\r
65 +++ b/emacs/notmuch.el
\r
66 @@ -85,6 +85,8 @@ For example:
\r
67 `notmuch-read-tag-changes' function.")
\r
69 (defun notmuch-tag-completions (&optional search-terms)
\r
70 + (if (null search-terms)
\r
71 + (setq search-terms (list "*")))
\r
73 (with-output-to-string
\r
74 (with-current-buffer standard-output
\r