Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / e4 / bc24481435b9f8260c81be4621328bda4cb04d
1 Return-Path: <amdragon@mit.edu>\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 671C7431FBC\r
6         for <notmuch@notmuchmail.org>; Tue, 22 Oct 2013 12:51:22 -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: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 DU-MLMIVVDfQ for <notmuch@notmuchmail.org>;\r
16         Tue, 22 Oct 2013 12:51:18 -0700 (PDT)\r
17 Received: from dmz-mailsec-scanner-3.mit.edu (dmz-mailsec-scanner-3.mit.edu\r
18         [18.9.25.14])\r
19         by olra.theworths.org (Postfix) with ESMTP id 46314431E62\r
20         for <notmuch@notmuchmail.org>; Tue, 22 Oct 2013 12:51:08 -0700 (PDT)\r
21 X-AuditID: 1209190e-b7f828e0000009cf-1c-5266d72945f4\r
22 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])\r
23         by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id 92.0E.02511.927D6625; Tue, 22 Oct 2013 15:51:05 -0400 (EDT)\r
25 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
26         by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id r9MJp39g015069; \r
27         Tue, 22 Oct 2013 15:51:04 -0400\r
28 Received: from drake.dyndns.org (31-33-57.wireless.csail.mit.edu\r
29         [128.31.33.57]) (authenticated bits=0)\r
30         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
31         by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r9MJp1VH005198\r
32         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
33         Tue, 22 Oct 2013 15:51:03 -0400\r
34 Received: from amthrax by drake.dyndns.org with local (Exim 4.77)\r
35         (envelope-from <amdragon@mit.edu>)\r
36         id 1VYhym-0006yn-Q9; Tue, 22 Oct 2013 15:51:00 -0400\r
37 From: Austin Clements <amdragon@MIT.EDU>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH 5/8] pick: Fix incorrect use of `notmuch-pick-tag'\r
40 Date: Tue, 22 Oct 2013 15:50:54 -0400\r
41 Message-Id: <1382471457-26056-6-git-send-email-amdragon@mit.edu>\r
42 X-Mailer: git-send-email 1.8.4.rc3\r
43 In-Reply-To: <1382471457-26056-1-git-send-email-amdragon@mit.edu>\r
44 References: <1382471457-26056-1-git-send-email-amdragon@mit.edu>\r
45 X-Brightmail-Tracker:\r
46  H4sIAAAAAAAAA+NgFtrAIsWRmVeSWpSXmKPExsUixCmqrKt5PS3I4OE2S4vrN2cyOzB6PFt1\r
47         izmAMYrLJiU1J7MstUjfLoErY+OGp8wFazgqprT8ZG5g7GHvYuTkkBAwkZj06yAbhC0mceHe\r
48         ejBbSGAfo8T7N3VdjFxA9kZGic/7l7FDJI4xSSycIACRmMsosfXOHVaQBJuAhsS2/csZQWwR\r
49         AWmJnXdnA8U5OJgF1CT+dKmAhIUFnCRO3PsDtoBFQFVi/9KbzCA2r4CDxIwpmxghjlCSWHhq\r
50         G9hITgFHien7/rGBjBECqjl1h2MCI/8CRoZVjLIpuVW6uYmZOcWpybrFyYl5ealFusZ6uZkl\r
51         eqkppZsYwQEjybeD8etBpUOMAhyMSjy8Fu1pQUKsiWXFlbmHGCU5mJREeSOuAoX4kvJTKjMS\r
52         izPii0pzUosPMUpwMCuJ8Db7AuV4UxIrq1KL8mFS0hwsSuK8Nznsg4QE0hNLUrNTUwtSi2Cy\r
53         MhwcShK8j0CGChalpqdWpGXmlCCkmTg4QYbzAA0/BlLDW1yQmFucmQ6RP8WoKCXOuwQkIQCS\r
54         yCjNg+uFRfQrRnGgV4Qh2nmAyQCu+xXQYCagwVOWgA0uSURISTUwKrtOmWZ0g+eY5IWZr/uO\r
55         Rcx2ef659PGi3ltZ/yvTw22TLimLLMuW56j+pvFQ+m5z0x8v1mj+87cn/jAU4s0ImrzP/uXU\r
56         ydaWojre8Ub586aLNz1rTr7xntdvvsH+QCc503Ubvs4v1/h3OiA06lKZhKtR9JMzNum5s/KF\r
57         GO3zzmUlB/d/3p6ixFKckWioxVxUnAgAEjWWO8MCAAA=\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.13\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62         <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Tue, 22 Oct 2013 19:51:22 -0000\r
71 \r
72 `notmuch-pick-tag' takes a list of tag changes, but\r
73 `notmuch-pick-archive-message' passes it a &rest argument.  This\r
74 happens to work if `notmuch-archive-tags' contains a single tag (which\r
75 it usually does), but will break if it does not.\r
76 ---\r
77  contrib/notmuch-pick/notmuch-pick.el | 3 +--\r
78  1 file changed, 1 insertion(+), 2 deletions(-)\r
79 \r
80 diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el\r
81 index 0aa651e..8f504ed 100644\r
82 --- a/contrib/notmuch-pick/notmuch-pick.el\r
83 +++ b/contrib/notmuch-pick/notmuch-pick.el\r
84 @@ -542,8 +542,7 @@ message will be \"unarchived\", i.e. the tag changes in\r
85  `notmuch-archive-tags' will be reversed."\r
86    (interactive "P")\r
87    (when notmuch-archive-tags\r
88 -    (apply 'notmuch-pick-tag\r
89 -          (notmuch-tag-change-list notmuch-archive-tags unarchive))))\r
90 +    (notmuch-pick-tag (notmuch-tag-change-list notmuch-archive-tags unarchive))))\r
91  \r
92  (defun notmuch-pick-archive-message-then-next (&optional unarchive)\r
93    "Archive the current message and move to next matching message."\r
94 -- \r
95 1.8.4.rc3\r
96 \r