Re: notmuch and "mute" -- useful to anyone?
[notmuch-archives.git] / 07 / a937c55b5c2e1c789a5d3e8d623ac2d5eeadee
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 1CD3B431FBC\r
6         for <notmuch@notmuchmail.org>; Tue, 22 Oct 2013 12:51:19 -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 4FHwLdGFNKVp for <notmuch@notmuchmail.org>;\r
16         Tue, 22 Oct 2013 12:51:13 -0700 (PDT)\r
17 Received: from dmz-mailsec-scanner-7.mit.edu (dmz-mailsec-scanner-7.mit.edu\r
18         [18.7.68.36])\r
19         by olra.theworths.org (Postfix) with ESMTP id 9A696431FDF\r
20         for <notmuch@notmuchmail.org>; Tue, 22 Oct 2013 12:51:07 -0700 (PDT)\r
21 X-AuditID: 12074424-b7f528e0000009aa-a0-5266d72a6726\r
22 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])\r
23         by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id 38.D9.02474.A27D6625; Tue, 22 Oct 2013 15:51:06 -0400 (EDT)\r
25 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
26         by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id r9MJp3kU016700; \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 r9MJp1KR005200\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 1VYhyn-0006yp-4U; Tue, 22 Oct 2013 15:51:01 -0400\r
37 From: Austin Clements <amdragon@MIT.EDU>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH 6/8] pick: Use list form of tag-changes in test\r
40 Date: Tue, 22 Oct 2013 15:50:55 -0400\r
41 Message-Id: <1382471457-26056-7-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+NgFtrAIsWRmVeSWpSXmKPExsUixG6noqt1PS3IYMo0JYvrN2cyOzB6PFt1\r
47         izmAMYrLJiU1J7MstUjfLoEro/noU+aCXoGK+6vLGxgn8nYxcnJICJhIfPm8gh3CFpO4cG89\r
48         G4gtJLCPUaLhh1AXIxeQvZFR4t7vC8wQzjEmiYnHXkI5cxkl1kz9xwLSwiagIbFt/3JGEFtE\r
49         QFpi593ZrF2MHBzMAmoSf7pUQMLCAvYSh1+9BythEVCVuLe4nRnE5hVwkDg+9woLxBVKEgtP\r
50         bWMFsTkFHCWm7/vHBjJGCKjm1B2OCYz8CxgZVjHKpuRW6eYmZuYUpybrFicn5uWlFuma6+Vm\r
51         luilppRuYgQHjIvKDsbmQ0qHGAU4GJV4eB+0pAUJsSaWFVfmHmKU5GBSEuWNuAoU4kvKT6nM\r
52         SCzOiC8qzUktPsQowcGsJMLb7AuU401JrKxKLcqHSUlzsCiJ897isA8SEkhPLEnNTk0tSC2C\r
53         ycpwcChJ8ApdA2oULEpNT61Iy8wpQUgzcXCCDOcBGn4MZDFvcUFibnFmOkT+FKOilDivMEiz\r
54         AEgiozQPrhcW0a8YxYFeEeZ1AKniASYDuO5XQIOZgAZPWQI2uCQRISXVwGijt3qy7TqZAzxr\r
55         Y9a7P4mcfXPaZjndpVO1VDZVHn0706Ot7KDQuu2r5rr93HzzVMtk3j+G13Pux6ZkPNUvrP7a\r
56         GPy+5kCmwGKJh1GxWf5R6VFP1e9bML55p2Ii1T53TeS1KolddzQPBdYer+2Y6ZEnXnjzdsTx\r
57         E6L/ZAr4I996tirL7z7hq6vEUpyRaKjFXFScCABk0n/gwwIAAA==\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:19 -0000\r
71 \r
72 Currently we support both string and list forms of tag-changes for\r
73 historical reasons.  This is about to change, so fix pick's tests that\r
74 use the legacy string form of tag-changes.\r
75 ---\r
76  contrib/notmuch-pick/test/emacs-pick | 8 ++++----\r
77  1 file changed, 4 insertions(+), 4 deletions(-)\r
78 \r
79 diff --git a/contrib/notmuch-pick/test/emacs-pick b/contrib/notmuch-pick/test/emacs-pick\r
80 index a802d0e..40b0738 100755\r
81 --- a/contrib/notmuch-pick/test/emacs-pick\r
82 +++ b/contrib/notmuch-pick/test/emacs-pick\r
83 @@ -44,7 +44,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
84             (notmuch-pick "tag:inbox")\r
85             (notmuch-test-wait)\r
86             (forward-line)\r
87 -           (notmuch-pick-tag "+test_tag")\r
88 +           (notmuch-pick-tag (list "+test_tag"))\r
89             (test-output)\r
90             (delete-other-windows)'\r
91  test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox-tagged\r
92 @@ -59,7 +59,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
93             (notmuch-pick "tag:inbox")\r
94             (notmuch-test-wait)\r
95             (forward-line)\r
96 -           (notmuch-pick-tag "-test_tag")\r
97 +           (notmuch-pick-tag (list "-test_tag"))\r
98             (test-output)\r
99             (delete-other-windows)'\r
100  test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
101 @@ -75,7 +75,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
102             (notmuch-test-wait)\r
103             ;; move to a sizable thread\r
104             (forward-line 26)\r
105 -           (notmuch-pick-tag-thread "+test_thread_tag")\r
106 +           (notmuch-pick-tag-thread (list "+test_thread_tag"))\r
107             (test-output)\r
108             (delete-other-windows)'\r
109  test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox-thread-tagged\r
110 @@ -98,7 +98,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
111             (notmuch-test-wait)\r
112             ;; move to the same sizable thread as above\r
113             (forward-line 26)\r
114 -           (notmuch-pick-tag-thread "-test_thread_tag")\r
115 +           (notmuch-pick-tag-thread (list "-test_thread_tag"))\r
116             (test-output)\r
117             (delete-other-windows)'\r
118  test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
119 -- \r
120 1.8.4.rc3\r
121 \r