[PATCH v2 01/14] test: Include generated dependencies for test sources
[notmuch-archives.git] / fb / 85284e5f5d21d5c3b6b3b9b68832f43303357f
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 92AAF41ED8C\r
6         for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:21:10 -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 He499kO3vZvV for <notmuch@notmuchmail.org>;\r
16         Mon,  2 Apr 2012 01:21:08 -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 F09F441ED8E\r
20         for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:21:01 -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 C47262E509DC\r
23         for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:21:01 -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 142DA2E50C6E\r
28         for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:20:57 -0700 (PDT)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 9784719E6; Mon,  2 Apr 2012 01:20:56 -0700 (PDT)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: [PATCH 4/6] emacs: remove redundant notmuch-search-tag-thread\r
34  function\r
35 Date: Mon,  2 Apr 2012 01:20:51 -0700\r
36 Message-Id: <1333354853-25729-5-git-send-email-jrollins@finestructure.net>\r
37 X-Mailer: git-send-email 1.7.9.1\r
38 In-Reply-To: <1333354853-25729-4-git-send-email-jrollins@finestructure.net>\r
39 References: <1333354853-25729-1-git-send-email-jrollins@finestructure.net>\r
40         <1333354853-25729-2-git-send-email-jrollins@finestructure.net>\r
41         <1333354853-25729-3-git-send-email-jrollins@finestructure.net>\r
42         <1333354853-25729-4-git-send-email-jrollins@finestructure.net>\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Mon, 02 Apr 2012 08:21:11 -0000\r
56 \r
57 Now that the notmuch-search-tag functions provides the exact same\r
58 functionality, this function is now entirely redundant.  Keeping it\r
59 around would just be bloat and confusion.  notmuch-search-tag should\r
60 now be the canonical function for search-mode tag changes.\r
61 \r
62 The archive-thread function (which was the only function to use\r
63 tag-thread) is updating accordingly.\r
64 ---\r
65  emacs/notmuch.el |    8 +-------\r
66  1 files changed, 1 insertions(+), 7 deletions(-)\r
67 \r
68 diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
69 index 3b78584..e1bff42 100644\r
70 --- a/emacs/notmuch.el\r
71 +++ b/emacs/notmuch.el\r
72 @@ -624,12 +624,6 @@ the messages that were tagged"\r
73         (forward-line 1))\r
74        output)))\r
75  \r
76 -(defun notmuch-search-tag-thread (&rest tag-changes)\r
77 -  "Change tags for the currently selected thread.\r
78 -\r
79 -See `notmuch-search-tag-region' for details."\r
80 -  (apply 'notmuch-search-tag-region (point) (point) tag-changes))\r
81 -\r
82  (defun notmuch-search-tag-region (beg end &rest tag-changes)\r
83    "Change tags for threads in the given region.\r
84  \r
85 @@ -678,7 +672,7 @@ tab completion)."\r
86  \r
87  This function advances the next thread when finished."\r
88    (interactive)\r
89 -  (notmuch-search-tag-thread "-inbox")\r
90 +  (notmuch-search-tag "-inbox")\r
91    (notmuch-search-next-thread))\r
92  \r
93  (defvar notmuch-search-process-filter-data nil\r
94 -- \r
95 1.7.9.1\r
96 \r