[PATCH 2/8] emacs: update tag-completion function
[notmuch-archives.git] / 1e / f3163f42e010713cab751a60dd98fc22a04ddd
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 AC637431FD9\r
6         for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 17:35:50 -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 uMx2bQCI+yVz for <notmuch@notmuchmail.org>;\r
16         Sat,  7 Apr 2012 17:35:50 -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 B885C431FCF\r
20         for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 17:35:47 -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 3C9EA66E00E3\r
23         for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 17:35:45 -0700 (PDT)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (unknown [76.89.193.65])\r
26         (Authenticated sender: jrollins)\r
27         by earth-doxen-submit (Postfix) with ESMTP id 6A84666E00DB\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 F256075E; 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 2/8] emacs: update tag-completion function\r
34 Date: Sat,  7 Apr 2012 17:35:32 -0700\r
35 Message-Id: <1333845338-22960-3-git-send-email-jrollins@finestructure.net>\r
36 X-Mailer: git-send-email 1.7.9.1\r
37 In-Reply-To: <1333845338-22960-2-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 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: Sun, 08 Apr 2012 00:35:51 -0000\r
54 \r
55 "search-tags" is deprecated, so we move to the more modern and\r
56 supported "search --output=tags".\r
57 ---\r
58  emacs/notmuch-tag.el |    2 +-\r
59  1 files changed, 1 insertions(+), 1 deletions(-)\r
60 \r
61 diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el\r
62 index 81b4b00..5240d13 100644\r
63 --- a/emacs/notmuch-tag.el\r
64 +++ b/emacs/notmuch-tag.el\r
65 @@ -59,7 +59,7 @@ the messages that were tagged"\r
66     (with-output-to-string\r
67       (with-current-buffer standard-output\r
68         (apply 'call-process notmuch-command nil t\r
69 -             nil "search-tags" search-terms)))\r
70 +             nil "search" "--output=tags" search-terms)))\r
71     "\n+" t))\r
72  \r
73  (defun notmuch-select-tag-with-completion (prompt &rest search-terms)\r
74 -- \r
75 1.7.9.1\r
76 \r