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 C633A431FD5
\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 TJv3YtDpaInU for <notmuch@notmuchmail.org>;
\r
16 Sat, 7 Apr 2012 17:35:51 -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 BF1AA431FD6
\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 B30C9328023
\r
23 for <notmuch@notmuchmail.org>; Sat, 7 Apr 2012 17:35:46 -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 A8792328010
\r
28 for <notmuch@notmuchmail.org>; Sat, 7 Apr 2012 17:35:44 -0700 (PDT)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id 0A8EE938; Sat, 7 Apr 2012 17:35:43 -0700 (PDT)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
33 Subject: [PATCH 6/8] emacs: eliminate search-tag-thread in favor of just
\r
35 Date: Sat, 7 Apr 2012 17:35:36 -0700
\r
36 Message-Id: <1333845338-22960-7-git-send-email-jrollins@finestructure.net>
\r
37 X-Mailer: git-send-email 1.7.9.1
\r
38 In-Reply-To: <1333845338-22960-6-git-send-email-jrollins@finestructure.net>
\r
39 References: <1333354853-25729-1-git-send-email-jrollins@finestructure.net>
\r
40 <1333845338-22960-1-git-send-email-jrollins@finestructure.net>
\r
41 <1333845338-22960-2-git-send-email-jrollins@finestructure.net>
\r
42 <1333845338-22960-3-git-send-email-jrollins@finestructure.net>
\r
43 <1333845338-22960-4-git-send-email-jrollins@finestructure.net>
\r
44 <1333845338-22960-5-git-send-email-jrollins@finestructure.net>
\r
45 <1333845338-22960-6-git-send-email-jrollins@finestructure.net>
\r
46 X-BeenThere: notmuch@notmuchmail.org
\r
47 X-Mailman-Version: 2.1.13
\r
49 List-Id: "Use and development of the notmuch mail system."
\r
50 <notmuch.notmuchmail.org>
\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
54 List-Post: <mailto:notmuch@notmuchmail.org>
\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
58 X-List-Received-Date: Sun, 08 Apr 2012 00:35:53 -0000
\r
60 notmuch-search-tag-thread is now completely redundant with
\r
61 notmuch-search-tag so we eliminate it to simplify the interface.
\r
63 emacs/notmuch.el | 8 +-------
\r
64 1 files changed, 1 insertions(+), 7 deletions(-)
\r
66 diff --git a/emacs/notmuch.el b/emacs/notmuch.el
\r
67 index a03a526..d79a448 100644
\r
68 --- a/emacs/notmuch.el
\r
69 +++ b/emacs/notmuch.el
\r
70 @@ -517,12 +517,6 @@ and will also appear in a buffer named \"*Notmuch errors*\"."
\r
74 -(defun notmuch-search-tag-thread (&rest tag-changes)
\r
75 - "Change tags for the currently selected thread.
\r
77 -See `notmuch-search-tag-region' for details."
\r
78 - (apply 'notmuch-search-tag-region (point) (point) tag-changes))
\r
80 (defun notmuch-search-tag-region (beg end &optional tag-changes)
\r
81 "Change tags for threads in the given region."
\r
82 (let ((search-string (notmuch-search-find-thread-id-region-search beg end)))
\r
83 @@ -560,7 +554,7 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."
\r
85 This function advances the next thread when finished."
\r
87 - (notmuch-search-tag-thread "-inbox")
\r
88 + (notmuch-search-tag "-inbox")
\r
89 (notmuch-search-next-thread))
\r
91 (defvar notmuch-search-process-filter-data nil
\r