Re: [PATCH] Fix typo in Message.maildir_flags_to_tags
[notmuch-archives.git] / 0b / d4ef9133654369ccc7ddedef3331437fdaa282
1 Return-Path: <markwalters1009@gmail.com>\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 3AF89431FCF\r
6         for <notmuch@notmuchmail.org>; Sun, 20 Oct 2013 01:33:58 -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: 1.514\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.514 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         RCVD_IN_DNSWL_LOW=-0.7, URI_HEX=1.313] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id MIACuxJiYYUd for <notmuch@notmuchmail.org>;\r
18         Sun, 20 Oct 2013 01:33:52 -0700 (PDT)\r
19 Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com\r
20         [209.85.212.180]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 60B1E431FCB\r
23         for <notmuch@notmuchmail.org>; Sun, 20 Oct 2013 01:33:52 -0700 (PDT)\r
24 Received: by mail-wi0-f180.google.com with SMTP id ey11so2693761wid.7\r
25         for <notmuch@notmuchmail.org>; Sun, 20 Oct 2013 01:33:51 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:in-reply-to:references\r
28         :mime-version:content-type:content-transfer-encoding;\r
29         bh=8WhHHtDztnZt71XB5qPZmEHSPlt4LP9eaXFX5On7qDk=;\r
30         b=tcpqy+DzF6wJDw8LVWpqVw09ufdDob4L0e34ButBE6yEANLPBe3MKgE/OQU0IsZmpC\r
31         z43fa79U/u70SJCTtlx+8E0hXg2fdZt4Vz9gWUJ0fVMbdyds/1RM0vIq0Yo6xxqDTzaY\r
32         feWxWVP25OyTrh5xpzCqfjhI4kUhYyWo3iNjpwtoSQp2m8CP6k2sNN4zmLQOXM7ejHRN\r
33         DmflQvCAdhi0V/Rc3/DSI5MSi5eBD1x71ekZliH9N79cqHipni2Psc7Vs5eLXfpDaB45\r
34         2JAgjG6tYpATZbgwekRIZGh4PvP8XuIF8h/+8PhLM7l/JwkUNbGFsGPY92jHVAqbKd/3\r
35         9SWg==\r
36 X-Received: by 10.194.23.73 with SMTP id k9mr9407624wjf.24.1382257708999;\r
37         Sun, 20 Oct 2013 01:28:28 -0700 (PDT)\r
38 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
39         by mx.google.com with ESMTPSA id\r
40         dq11sm43728204wid.3.2013.10.20.01.28.27 for <multiple recipients>\r
41         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
42         Sun, 20 Oct 2013 01:28:28 -0700 (PDT)\r
43 From: Mark Walters <markwalters1009@gmail.com>\r
44 To: notmuch@notmuchmail.org\r
45 Subject: [PATCH 3/5] test: move the pick tests to the main test directory\r
46 Date: Sun, 20 Oct 2013 09:28:17 +0100\r
47 Message-Id: <1382257699-29860-4-git-send-email-markwalters1009@gmail.com>\r
48 X-Mailer: git-send-email 1.7.9.1\r
49 In-Reply-To: <1382257699-29860-1-git-send-email-markwalters1009@gmail.com>\r
50 References: <1382257699-29860-1-git-send-email-markwalters1009@gmail.com>\r
51 MIME-Version: 1.0\r
52 Content-Type: text/plain; charset=UTF-8\r
53 Content-Transfer-Encoding: 8bit\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Sun, 20 Oct 2013 08:33:58 -0000\r
67 \r
68 The files are all unchanged in the move. No other changes are made in\r
69 this commit.\r
70 \r
71 Note the tests do not need to be changed because pick used a script\r
72 run-tests.sh to run the test and this linked the test into the test\r
73 directory before running it: i.e., the tests have always been run in\r
74 the test directory.\r
75 ---\r
76  contrib/notmuch-pick/test/emacs-pick               |  210 --------------------\r
77  .../pick.expected-output/notmuch-pick-show-window  |   40 ----\r
78  .../notmuch-pick-single-thread                     |    6 -\r
79  .../pick.expected-output/notmuch-pick-tag-inbox    |   53 -----\r
80  .../notmuch-pick-tag-inbox-tagged                  |   53 -----\r
81  .../notmuch-pick-tag-inbox-thread-tagged           |   53 -----\r
82  test/emacs-pick                                    |  210 ++++++++++++++++++++\r
83  test/pick.expected-output/notmuch-pick-show-window |   40 ++++\r
84  .../notmuch-pick-single-thread                     |    6 +\r
85  test/pick.expected-output/notmuch-pick-tag-inbox   |   53 +++++\r
86  .../notmuch-pick-tag-inbox-tagged                  |   53 +++++\r
87  .../notmuch-pick-tag-inbox-thread-tagged           |   53 +++++\r
88  12 files changed, 415 insertions(+), 415 deletions(-)\r
89  delete mode 100755 contrib/notmuch-pick/test/emacs-pick\r
90  delete mode 100644 contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-show-window\r
91  delete mode 100644 contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-single-thread\r
92  delete mode 100644 contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox\r
93  delete mode 100644 contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-tagged\r
94  delete mode 100644 contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged\r
95  create mode 100755 test/emacs-pick\r
96  create mode 100644 test/pick.expected-output/notmuch-pick-show-window\r
97  create mode 100644 test/pick.expected-output/notmuch-pick-single-thread\r
98  create mode 100644 test/pick.expected-output/notmuch-pick-tag-inbox\r
99  create mode 100644 test/pick.expected-output/notmuch-pick-tag-inbox-tagged\r
100  create mode 100644 test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged\r
101 \r
102 diff --git a/contrib/notmuch-pick/test/emacs-pick b/contrib/notmuch-pick/test/emacs-pick\r
103 deleted file mode 100755\r
104 index a802d0e..0000000\r
105 --- a/contrib/notmuch-pick/test/emacs-pick\r
106 +++ /dev/null\r
107 @@ -1,210 +0,0 @@\r
108 -#!/usr/bin/env bash\r
109 -\r
110 -test_description="emacs pick interface"\r
111 -. test-lib.sh\r
112 -\r
113 -EXPECTED=$TEST_DIRECTORY/pick.expected-output\r
114 -\r
115 -add_email_corpus\r
116 -test_begin_subtest "Do we have emacs"\r
117 -test_emacs '(insert "hello\n")\r
118 -           (test-output)'\r
119 -cat <<EOF >EXPECTED\r
120 -hello\r
121 -EOF\r
122 -test_expect_equal_file OUTPUT EXPECTED\r
123 -\r
124 -test_begin_subtest "Basic notmuch-pick view in emacs"\r
125 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
126 -           (require (quote notmuch-pick))\r
127 -           (notmuch-pick "tag:inbox")\r
128 -           (notmuch-test-wait)\r
129 -           (test-output)\r
130 -           (delete-other-windows)'\r
131 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
132 -\r
133 -test_begin_subtest "Refreshed notmuch-pick view in emacs"\r
134 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
135 -           (require (quote notmuch-pick))\r
136 -           (notmuch-pick "tag:inbox")\r
137 -           (notmuch-test-wait)\r
138 -           (notmuch-pick-refresh-view)\r
139 -           (notmuch-test-wait)\r
140 -           (test-output)\r
141 -           (delete-other-windows)'\r
142 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
143 -\r
144 -# In the following tag tests we make sure the display is updated\r
145 -# correctly and, in a separate test, that the database is updated\r
146 -# correctly.\r
147 -\r
148 -test_begin_subtest "Tag message in notmuch pick view (display)"\r
149 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
150 -           (require (quote notmuch-pick))\r
151 -           (notmuch-pick "tag:inbox")\r
152 -           (notmuch-test-wait)\r
153 -           (forward-line)\r
154 -           (notmuch-pick-tag "+test_tag")\r
155 -           (test-output)\r
156 -           (delete-other-windows)'\r
157 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox-tagged\r
158 -\r
159 -test_begin_subtest "Tag message in notmuch pick view (database)"\r
160 -output=$(notmuch search --output=messages 'tag:test_tag')\r
161 -test_expect_equal "$output" "id:877h1wv7mg.fsf@inf-8657.int-evry.fr"\r
162 -\r
163 -test_begin_subtest "Untag message in notmuch pick view"\r
164 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
165 -           (require (quote notmuch-pick))\r
166 -           (notmuch-pick "tag:inbox")\r
167 -           (notmuch-test-wait)\r
168 -           (forward-line)\r
169 -           (notmuch-pick-tag "-test_tag")\r
170 -           (test-output)\r
171 -           (delete-other-windows)'\r
172 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
173 -\r
174 -test_begin_subtest "Untag message in notmuch pick view (database)"\r
175 -output=$(notmuch search --output=messages 'tag:test_tag')\r
176 -test_expect_equal "$output" ""\r
177 -\r
178 -test_begin_subtest "Tag thread in notmuch pick view"\r
179 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
180 -           (require (quote notmuch-pick))\r
181 -           (notmuch-pick "tag:inbox")\r
182 -           (notmuch-test-wait)\r
183 -           ;; move to a sizable thread\r
184 -           (forward-line 26)\r
185 -           (notmuch-pick-tag-thread "+test_thread_tag")\r
186 -           (test-output)\r
187 -           (delete-other-windows)'\r
188 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox-thread-tagged\r
189 -\r
190 -test_begin_subtest "Tag message in notmuch pick view (database)"\r
191 -output=$(notmuch search --output=messages 'tag:test_thread_tag')\r
192 -test_expect_equal "$output" \\r
193 -"id:87ocn0qh6d.fsf@yoom.home.cworth.org\r
194 -id:20091118005040.GA25380@dottiness.seas.harvard.edu\r
195 -id:yunaayketfm.fsf@aiko.keithp.com\r
196 -id:87fx8can9z.fsf@vertex.dottedmag\r
197 -id:20091117203301.GV3165@dottiness.seas.harvard.edu\r
198 -id:87iqd9rn3l.fsf@vertex.dottedmag\r
199 -id:20091117190054.GU3165@dottiness.seas.harvard.edu"\r
200 -\r
201 -test_begin_subtest "Untag thread in notmuch pick view"\r
202 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
203 -           (require (quote notmuch-pick))\r
204 -           (notmuch-pick "tag:inbox")\r
205 -           (notmuch-test-wait)\r
206 -           ;; move to the same sizable thread as above\r
207 -           (forward-line 26)\r
208 -           (notmuch-pick-tag-thread "-test_thread_tag")\r
209 -           (test-output)\r
210 -           (delete-other-windows)'\r
211 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
212 -\r
213 -test_begin_subtest "Untag message in notmuch pick view (database)"\r
214 -output=$(notmuch search --output=messages 'tag:test_thread_tag')\r
215 -test_expect_equal "$output" ""\r
216 -\r
217 -test_begin_subtest "Navigation of notmuch-hello to search results"\r
218 -test_emacs '(notmuch-hello)\r
219 -           (goto-char (point-min))\r
220 -           (re-search-forward "inbox")\r
221 -           (widget-button-press (1- (point)))\r
222 -           (notmuch-test-wait)\r
223 -           (notmuch-pick-from-search-current-query)\r
224 -           (notmuch-test-wait)\r
225 -           (test-output)\r
226 -           (delete-other-windows)'\r
227 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
228 -\r
229 -test_begin_subtest "Pick of a single thread (from search)"\r
230 -test_emacs '(notmuch-hello)\r
231 -           (goto-char (point-min))\r
232 -           (re-search-forward "inbox")\r
233 -           (widget-button-press (1- (point)))\r
234 -           (notmuch-test-wait)\r
235 -           (notmuch-pick-from-search-thread)\r
236 -           (notmuch-test-wait)\r
237 -           (test-output)\r
238 -           (delete-other-windows)'\r
239 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread\r
240 -\r
241 -test_begin_subtest "Pick of a single thread (from show)"\r
242 -test_emacs '(notmuch-hello)\r
243 -           (goto-char (point-min))\r
244 -           (re-search-forward "inbox")\r
245 -           (widget-button-press (1- (point)))\r
246 -           (notmuch-test-wait)\r
247 -           (notmuch-search-show-thread)\r
248 -           (notmuch-pick-from-show-current-query)\r
249 -           (notmuch-test-wait)\r
250 -           (test-output)\r
251 -           (delete-other-windows)'\r
252 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread\r
253 -\r
254 -test_begin_subtest "Message window of pick"\r
255 -test_emacs '(notmuch-hello)\r
256 -           (goto-char (point-min))\r
257 -           (re-search-forward "inbox")\r
258 -           (widget-button-press (1- (point)))\r
259 -           (notmuch-test-wait)\r
260 -           (notmuch-search-next-thread)\r
261 -           (notmuch-pick-from-search-thread)\r
262 -           (notmuch-test-wait)\r
263 -           (select-window notmuch-pick-message-window)\r
264 -           (test-output)\r
265 -           (delete-other-windows)'\r
266 -cp OUTPUT /tmp/mjwout\r
267 -test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-show-window\r
268 -\r
269 -test_begin_subtest "Stash id"\r
270 -output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
271 -                    (require (quote notmuch-pick))\r
272 -                    (notmuch-pick "id:1258498485-sup-142@elly")\r
273 -                    (notmuch-test-wait)\r
274 -                    (notmuch-show-stash-message-id)')\r
275 -test_expect_equal "$output" "\"Stashed: id:1258498485-sup-142@elly\""\r
276 -\r
277 -test_begin_subtest "Move to next matching message"\r
278 -output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
279 -                    (require (quote notmuch-pick))\r
280 -                    (notmuch-pick "from:cworth")\r
281 -                    (notmuch-test-wait)\r
282 -                    (notmuch-pick-next-matching-message)\r
283 -                    (notmuch-show-stash-message-id)')\r
284 -test_expect_equal "$output" "\"Stashed: id:878we4qdqf.fsf@yoom.home.cworth.org\""\r
285 -\r
286 -test_begin_subtest "Move to next thread"\r
287 -output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
288 -                    (require (quote notmuch-pick))\r
289 -                    (notmuch-pick "tag:inbox")\r
290 -                    (notmuch-test-wait)\r
291 -                    (forward-line 26)\r
292 -                    (notmuch-pick-next-thread)\r
293 -                    (notmuch-show-stash-message-id)')\r
294 -test_expect_equal "$output" "\"Stashed: id:1258471718-6781-1-git-send-email-dottedmag@dottedmag.net\""\r
295 -\r
296 -test_begin_subtest "Move to previous thread"\r
297 -output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
298 -                    (require (quote notmuch-pick))\r
299 -                    (notmuch-pick "tag:inbox")\r
300 -                    (notmuch-test-wait)\r
301 -                    (forward-line 26)\r
302 -                    (notmuch-pick-prev-thread)\r
303 -                    (notmuch-show-stash-message-id)')\r
304 -test_expect_equal "$output" "\"Stashed: id:20091117190054.GU3165@dottiness.seas.harvard.edu\""\r
305 -\r
306 -test_begin_subtest "Move to previous previous thread"\r
307 -output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
308 -                    (require (quote notmuch-pick))\r
309 -                    (notmuch-pick "tag:inbox")\r
310 -                    (notmuch-test-wait)\r
311 -                    (forward-line 26)\r
312 -                    (notmuch-pick-prev-thread)\r
313 -                    (notmuch-pick-prev-thread)\r
314 -                    (notmuch-show-stash-message-id)')\r
315 -test_expect_equal "$output" "\"Stashed: id:1258493565-13508-1-git-send-email-keithp@keithp.com\""\r
316 -\r
317 -test_done\r
318 diff --git a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-show-window b/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-show-window\r
319 deleted file mode 100644\r
320 index e16792b..0000000\r
321 --- a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-show-window\r
322 +++ /dev/null\r
323 @@ -1,40 +0,0 @@\r
324 -Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed)\r
325 -Subject: [notmuch] Working with Maildir storage?\r
326 -To: notmuch@notmuchmail.org\r
327 -Date: Tue, 17 Nov 2009 14:00:54 -0500\r
328 -\r
329 -[ multipart/mixed ]\r
330 -[ multipart/signed ]\r
331 -[ text/plain ]\r
332 -I saw the LWN article and decided to take a look at notmuch.  I'm\r
333 -currently using mutt and mairix to index and read a collection of\r
334 -Maildir mail folders (around 40,000 messages total).\r
335 -\r
336 -notmuch indexed the messages without complaint, but my attempt at\r
337 -searching bombed out. Running, for example:\r
338 -\r
339 -  notmuch search storage\r
340 -\r
341 -Resulted in 4604 lines of errors along the lines of:\r
342 -\r
343 -  Error opening\r
344 -  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
345 -  Too many open files\r
346 -\r
347 -I'm curious if this is expected behavior (i.e., notmuch does not work\r
348 -with Maildir) or if something else is going on.\r
349 -\r
350 -Cheers,\r
351 -\r
352 -[ 4-line signature. Click/Enter to show. ]\r
353 --- \r
354 -Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
355 -Senior Technologist, Computing and Information Technology\r
356 -Harvard University School of Engineering and Applied Sciences\r
357 -[ application/pgp-signature ]\r
358 -[ text/plain ]\r
359 -[ 4-line signature. Click/Enter to show. ]\r
360 -_______________________________________________\r
361 -notmuch mailing list\r
362 -notmuch@notmuchmail.org\r
363 -http://notmuchmail.org/mailman/listinfo/notmuch\r
364 diff --git a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-single-thread b/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-single-thread\r
365 deleted file mode 100644\r
366 index c9e5ef8..0000000\r
367 --- a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-single-thread\r
368 +++ /dev/null\r
369 @@ -1,6 +0,0 @@\r
370 -  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message       headers (inbox)\r
371 -  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++   file with gcc 4.4 (inbox, unread)\r
372 -  2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread)\r
373 -  2009-11-17  Keith Packard          ╰┬► ...                                              (inbox, unread)\r
374 -  2009-11-18  Carl Worth              ╰─► ...                                             (inbox, unread)\r
375 -End of search results.\r
376 diff --git a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox b/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox\r
377 deleted file mode 100644\r
378 index 484141e..0000000\r
379 --- a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox\r
380 +++ /dev/null\r
381 @@ -1,53 +0,0 @@\r
382 -  2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (inbox, unread)\r
383 -  2010-12-16  Olivier Berger        ─►Essai accentué                                      (inbox, unread)\r
384 -  2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread)\r
385 -  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search        instead of going into an infinite loop (attachment, inbox, unread)\r
386 -  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread)\r
387 -  2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (inbox, unread)\r
388 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
389 -  2009-11-17  Adrian Perez de Cast  ┬►[notmuch] Introducing myself                        (inbox, signed, unread)\r
390 -  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
391 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
392 -  2009-11-17  Israel Herraiz        ┬►[notmuch] New to the list                           (inbox, unread)\r
393 -  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
394 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
395 -  2009-11-17  Jan Janak             ┬►[notmuch] What a great idea!                        (inbox, unread)\r
396 -  2009-11-17  Jan Janak             ├─► ...                                               (inbox, unread)\r
397 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
398 -  2009-11-17  Jan Janak             ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread)\r
399 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
400 -  2009-11-17  Aron Griffis          ┬►[notmuch] archive                                   (inbox, unread)\r
401 -  2009-11-18  Keith Packard         ╰┬► ...                                               (inbox, unread)\r
402 -  2009-11-18  Carl Worth             ╰─► ...                                              (inbox, unread)\r
403 -  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove    inbox (and unread) tags (inbox, unread)\r
404 -  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread)\r
405 -  2009-11-17  Lars Kellogg-Stedman  ┬►[notmuch] Working with Maildir storage?             (inbox, signed, unread)\r
406 -  2009-11-17  Mikhail Gusarov       ├┬► ...                                               (inbox, signed, unread)\r
407 -  2009-11-17  Lars Kellogg-Stedman  │╰┬► ...                                              (inbox, signed, unread)\r
408 -  2009-11-17  Mikhail Gusarov       │ ├─► ...                                             (inbox, unread)\r
409 -  2009-11-17  Keith Packard         │ ╰┬► ...                                             (inbox, unread)\r
410 -  2009-11-18  Lars Kellogg-Stedman  │  ╰─► ...                                            (inbox, signed, unread)\r
411 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
412 -  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message       headers (inbox, unread)\r
413 -  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++   file with gcc 4.4 (inbox, unread)\r
414 -  2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread)\r
415 -  2009-11-17  Keith Packard          ╰┬► ...                                              (inbox, unread)\r
416 -  2009-11-18  Carl Worth              ╰─► ...                                             (inbox, unread)\r
417 -  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that    highlights URLs and uses word-wrap (inbox, unread)\r
418 -  2009-11-18  Alexander Botero-Low  ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread)\r
419 -  2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (inbox, unread)\r
420 -  2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (inbox, unread)\r
421 -  2009-11-18  Alexander Botero-Low  ╰┬► ...                                               (inbox, unread)\r
422 -  2009-11-18  Jjgod Jiang            ╰┬► ...                                              (inbox, unread)\r
423 -  2009-11-18  Alexander Botero-Low    ╰─► ...                                             (inbox, unread)\r
424 -  2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (inbox, unread)\r
425 -  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool       subdirectories into tags (inbox, unread)\r
426 -  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before  statting (inbox, unread)\r
427 -  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread)\r
428 -  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++     libs. (inbox, unread)\r
429 -  2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (attachment, inbox, signed, unread)\r
430 -  2009-11-18  Lars Kellogg-Stedman  ╰─► ...                                               (attachment, inbox, signed, unread)\r
431 -  2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (inbox, unread)\r
432 -  2009-11-17  Alex Botero-Lowry     ┬►[notmuch] preliminary FreeBSD support               (attachment, inbox, unread)\r
433 -  2009-11-17  Carl Worth            ╰─► ...                                               (inbox, unread)\r
434 -End of search results.\r
435 diff --git a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-tagged b/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-tagged\r
436 deleted file mode 100644\r
437 index 1f75a34..0000000\r
438 --- a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-tagged\r
439 +++ /dev/null\r
440 @@ -1,53 +0,0 @@\r
441 -  2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (inbox, unread)\r
442 -  2010-12-16  Olivier Berger        ─►Essai accentué                                      (inbox, test_tag, unread)\r
443 -  2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread)\r
444 -  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search        instead of going into an infinite loop (attachment, inbox, unread)\r
445 -  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread)\r
446 -  2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (inbox, unread)\r
447 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
448 -  2009-11-17  Adrian Perez de Cast  ┬►[notmuch] Introducing myself                        (inbox, signed, unread)\r
449 -  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
450 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
451 -  2009-11-17  Israel Herraiz        ┬►[notmuch] New to the list                           (inbox, unread)\r
452 -  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
453 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
454 -  2009-11-17  Jan Janak             ┬►[notmuch] What a great idea!                        (inbox, unread)\r
455 -  2009-11-17  Jan Janak             ├─► ...                                               (inbox, unread)\r
456 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
457 -  2009-11-17  Jan Janak             ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread)\r
458 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
459 -  2009-11-17  Aron Griffis          ┬►[notmuch] archive                                   (inbox, unread)\r
460 -  2009-11-18  Keith Packard         ╰┬► ...                                               (inbox, unread)\r
461 -  2009-11-18  Carl Worth             ╰─► ...                                              (inbox, unread)\r
462 -  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove    inbox (and unread) tags (inbox, unread)\r
463 -  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread)\r
464 -  2009-11-17  Lars Kellogg-Stedman  ┬►[notmuch] Working with Maildir storage?             (inbox, signed, unread)\r
465 -  2009-11-17  Mikhail Gusarov       ├┬► ...                                               (inbox, signed, unread)\r
466 -  2009-11-17  Lars Kellogg-Stedman  │╰┬► ...                                              (inbox, signed, unread)\r
467 -  2009-11-17  Mikhail Gusarov       │ ├─► ...                                             (inbox, unread)\r
468 -  2009-11-17  Keith Packard         │ ╰┬► ...                                             (inbox, unread)\r
469 -  2009-11-18  Lars Kellogg-Stedman  │  ╰─► ...                                            (inbox, signed, unread)\r
470 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
471 -  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message       headers (inbox, unread)\r
472 -  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++   file with gcc 4.4 (inbox, unread)\r
473 -  2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread)\r
474 -  2009-11-17  Keith Packard          ╰┬► ...                                              (inbox, unread)\r
475 -  2009-11-18  Carl Worth              ╰─► ...                                             (inbox, unread)\r
476 -  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that    highlights URLs and uses word-wrap (inbox, unread)\r
477 -  2009-11-18  Alexander Botero-Low  ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread)\r
478 -  2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (inbox, unread)\r
479 -  2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (inbox, unread)\r
480 -  2009-11-18  Alexander Botero-Low  ╰┬► ...                                               (inbox, unread)\r
481 -  2009-11-18  Jjgod Jiang            ╰┬► ...                                              (inbox, unread)\r
482 -  2009-11-18  Alexander Botero-Low    ╰─► ...                                             (inbox, unread)\r
483 -  2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (inbox, unread)\r
484 -  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool       subdirectories into tags (inbox, unread)\r
485 -  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before  statting (inbox, unread)\r
486 -  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread)\r
487 -  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++     libs. (inbox, unread)\r
488 -  2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (attachment, inbox, signed, unread)\r
489 -  2009-11-18  Lars Kellogg-Stedman  ╰─► ...                                               (attachment, inbox, signed, unread)\r
490 -  2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (inbox, unread)\r
491 -  2009-11-17  Alex Botero-Lowry     ┬►[notmuch] preliminary FreeBSD support               (attachment, inbox, unread)\r
492 -  2009-11-17  Carl Worth            ╰─► ...                                               (inbox, unread)\r
493 -End of search results.\r
494 diff --git a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged b/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged\r
495 deleted file mode 100644\r
496 index a7aba6e..0000000\r
497 --- a/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged\r
498 +++ /dev/null\r
499 @@ -1,53 +0,0 @@\r
500 -  2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (inbox, unread)\r
501 -  2010-12-16  Olivier Berger        ─►Essai accentué                                      (inbox, unread)\r
502 -  2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread)\r
503 -  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search        instead of going into an infinite loop (attachment, inbox, unread)\r
504 -  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread)\r
505 -  2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (inbox, unread)\r
506 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
507 -  2009-11-17  Adrian Perez de Cast  ┬►[notmuch] Introducing myself                        (inbox, signed, unread)\r
508 -  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
509 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
510 -  2009-11-17  Israel Herraiz        ┬►[notmuch] New to the list                           (inbox, unread)\r
511 -  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
512 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
513 -  2009-11-17  Jan Janak             ┬►[notmuch] What a great idea!                        (inbox, unread)\r
514 -  2009-11-17  Jan Janak             ├─► ...                                               (inbox, unread)\r
515 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
516 -  2009-11-17  Jan Janak             ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread)\r
517 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
518 -  2009-11-17  Aron Griffis          ┬►[notmuch] archive                                   (inbox, unread)\r
519 -  2009-11-18  Keith Packard         ╰┬► ...                                               (inbox, unread)\r
520 -  2009-11-18  Carl Worth             ╰─► ...                                              (inbox, unread)\r
521 -  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove    inbox (and unread) tags (inbox, unread)\r
522 -  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread)\r
523 -  2009-11-17  Lars Kellogg-Stedman  ┬►[notmuch] Working with Maildir storage?             (inbox, signed, test_thread_tag, unread)\r
524 -  2009-11-17  Mikhail Gusarov       ├┬► ...                                               (inbox, signed, test_thread_tag, unread)\r
525 -  2009-11-17  Lars Kellogg-Stedman  │╰┬► ...                                              (inbox, signed, test_thread_tag, unread)\r
526 -  2009-11-17  Mikhail Gusarov       │ ├─► ...                                             (inbox, test_thread_tag, unread)\r
527 -  2009-11-17  Keith Packard         │ ╰┬► ...                                             (inbox, test_thread_tag, unread)\r
528 -  2009-11-18  Lars Kellogg-Stedman  │  ╰─► ...                                            (inbox, signed, test_thread_tag, unread)\r
529 -  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, test_thread_tag, unread)\r
530 -  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message       headers (inbox, unread)\r
531 -  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++   file with gcc 4.4 (inbox, unread)\r
532 -  2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread)\r
533 -  2009-11-17  Keith Packard          ╰┬► ...                                              (inbox, unread)\r
534 -  2009-11-18  Carl Worth              ╰─► ...                                             (inbox, unread)\r
535 -  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that    highlights URLs and uses word-wrap (inbox, unread)\r
536 -  2009-11-18  Alexander Botero-Low  ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread)\r
537 -  2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (inbox, unread)\r
538 -  2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (inbox, unread)\r
539 -  2009-11-18  Alexander Botero-Low  ╰┬► ...                                               (inbox, unread)\r
540 -  2009-11-18  Jjgod Jiang            ╰┬► ...                                              (inbox, unread)\r
541 -  2009-11-18  Alexander Botero-Low    ╰─► ...                                             (inbox, unread)\r
542 -  2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (inbox, unread)\r
543 -  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool       subdirectories into tags (inbox, unread)\r
544 -  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before  statting (inbox, unread)\r
545 -  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread)\r
546 -  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++     libs. (inbox, unread)\r
547 -  2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (attachment, inbox, signed, unread)\r
548 -  2009-11-18  Lars Kellogg-Stedman  ╰─► ...                                               (attachment, inbox, signed, unread)\r
549 -  2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (inbox, unread)\r
550 -  2009-11-17  Alex Botero-Lowry     ┬►[notmuch] preliminary FreeBSD support               (attachment, inbox, unread)\r
551 -  2009-11-17  Carl Worth            ╰─► ...                                               (inbox, unread)\r
552 -End of search results.\r
553 diff --git a/test/emacs-pick b/test/emacs-pick\r
554 new file mode 100755\r
555 index 0000000..a802d0e\r
556 --- /dev/null\r
557 +++ b/test/emacs-pick\r
558 @@ -0,0 +1,210 @@\r
559 +#!/usr/bin/env bash\r
560 +\r
561 +test_description="emacs pick interface"\r
562 +. test-lib.sh\r
563 +\r
564 +EXPECTED=$TEST_DIRECTORY/pick.expected-output\r
565 +\r
566 +add_email_corpus\r
567 +test_begin_subtest "Do we have emacs"\r
568 +test_emacs '(insert "hello\n")\r
569 +           (test-output)'\r
570 +cat <<EOF >EXPECTED\r
571 +hello\r
572 +EOF\r
573 +test_expect_equal_file OUTPUT EXPECTED\r
574 +\r
575 +test_begin_subtest "Basic notmuch-pick view in emacs"\r
576 +test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
577 +           (require (quote notmuch-pick))\r
578 +           (notmuch-pick "tag:inbox")\r
579 +           (notmuch-test-wait)\r
580 +           (test-output)\r
581 +           (delete-other-windows)'\r
582 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
583 +\r
584 +test_begin_subtest "Refreshed notmuch-pick view in emacs"\r
585 +test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
586 +           (require (quote notmuch-pick))\r
587 +           (notmuch-pick "tag:inbox")\r
588 +           (notmuch-test-wait)\r
589 +           (notmuch-pick-refresh-view)\r
590 +           (notmuch-test-wait)\r
591 +           (test-output)\r
592 +           (delete-other-windows)'\r
593 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
594 +\r
595 +# In the following tag tests we make sure the display is updated\r
596 +# correctly and, in a separate test, that the database is updated\r
597 +# correctly.\r
598 +\r
599 +test_begin_subtest "Tag message in notmuch pick view (display)"\r
600 +test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
601 +           (require (quote notmuch-pick))\r
602 +           (notmuch-pick "tag:inbox")\r
603 +           (notmuch-test-wait)\r
604 +           (forward-line)\r
605 +           (notmuch-pick-tag "+test_tag")\r
606 +           (test-output)\r
607 +           (delete-other-windows)'\r
608 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox-tagged\r
609 +\r
610 +test_begin_subtest "Tag message in notmuch pick view (database)"\r
611 +output=$(notmuch search --output=messages 'tag:test_tag')\r
612 +test_expect_equal "$output" "id:877h1wv7mg.fsf@inf-8657.int-evry.fr"\r
613 +\r
614 +test_begin_subtest "Untag message in notmuch pick view"\r
615 +test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
616 +           (require (quote notmuch-pick))\r
617 +           (notmuch-pick "tag:inbox")\r
618 +           (notmuch-test-wait)\r
619 +           (forward-line)\r
620 +           (notmuch-pick-tag "-test_tag")\r
621 +           (test-output)\r
622 +           (delete-other-windows)'\r
623 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
624 +\r
625 +test_begin_subtest "Untag message in notmuch pick view (database)"\r
626 +output=$(notmuch search --output=messages 'tag:test_tag')\r
627 +test_expect_equal "$output" ""\r
628 +\r
629 +test_begin_subtest "Tag thread in notmuch pick view"\r
630 +test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
631 +           (require (quote notmuch-pick))\r
632 +           (notmuch-pick "tag:inbox")\r
633 +           (notmuch-test-wait)\r
634 +           ;; move to a sizable thread\r
635 +           (forward-line 26)\r
636 +           (notmuch-pick-tag-thread "+test_thread_tag")\r
637 +           (test-output)\r
638 +           (delete-other-windows)'\r
639 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox-thread-tagged\r
640 +\r
641 +test_begin_subtest "Tag message in notmuch pick view (database)"\r
642 +output=$(notmuch search --output=messages 'tag:test_thread_tag')\r
643 +test_expect_equal "$output" \\r
644 +"id:87ocn0qh6d.fsf@yoom.home.cworth.org\r
645 +id:20091118005040.GA25380@dottiness.seas.harvard.edu\r
646 +id:yunaayketfm.fsf@aiko.keithp.com\r
647 +id:87fx8can9z.fsf@vertex.dottedmag\r
648 +id:20091117203301.GV3165@dottiness.seas.harvard.edu\r
649 +id:87iqd9rn3l.fsf@vertex.dottedmag\r
650 +id:20091117190054.GU3165@dottiness.seas.harvard.edu"\r
651 +\r
652 +test_begin_subtest "Untag thread in notmuch pick view"\r
653 +test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
654 +           (require (quote notmuch-pick))\r
655 +           (notmuch-pick "tag:inbox")\r
656 +           (notmuch-test-wait)\r
657 +           ;; move to the same sizable thread as above\r
658 +           (forward-line 26)\r
659 +           (notmuch-pick-tag-thread "-test_thread_tag")\r
660 +           (test-output)\r
661 +           (delete-other-windows)'\r
662 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
663 +\r
664 +test_begin_subtest "Untag message in notmuch pick view (database)"\r
665 +output=$(notmuch search --output=messages 'tag:test_thread_tag')\r
666 +test_expect_equal "$output" ""\r
667 +\r
668 +test_begin_subtest "Navigation of notmuch-hello to search results"\r
669 +test_emacs '(notmuch-hello)\r
670 +           (goto-char (point-min))\r
671 +           (re-search-forward "inbox")\r
672 +           (widget-button-press (1- (point)))\r
673 +           (notmuch-test-wait)\r
674 +           (notmuch-pick-from-search-current-query)\r
675 +           (notmuch-test-wait)\r
676 +           (test-output)\r
677 +           (delete-other-windows)'\r
678 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox\r
679 +\r
680 +test_begin_subtest "Pick of a single thread (from search)"\r
681 +test_emacs '(notmuch-hello)\r
682 +           (goto-char (point-min))\r
683 +           (re-search-forward "inbox")\r
684 +           (widget-button-press (1- (point)))\r
685 +           (notmuch-test-wait)\r
686 +           (notmuch-pick-from-search-thread)\r
687 +           (notmuch-test-wait)\r
688 +           (test-output)\r
689 +           (delete-other-windows)'\r
690 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread\r
691 +\r
692 +test_begin_subtest "Pick of a single thread (from show)"\r
693 +test_emacs '(notmuch-hello)\r
694 +           (goto-char (point-min))\r
695 +           (re-search-forward "inbox")\r
696 +           (widget-button-press (1- (point)))\r
697 +           (notmuch-test-wait)\r
698 +           (notmuch-search-show-thread)\r
699 +           (notmuch-pick-from-show-current-query)\r
700 +           (notmuch-test-wait)\r
701 +           (test-output)\r
702 +           (delete-other-windows)'\r
703 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-single-thread\r
704 +\r
705 +test_begin_subtest "Message window of pick"\r
706 +test_emacs '(notmuch-hello)\r
707 +           (goto-char (point-min))\r
708 +           (re-search-forward "inbox")\r
709 +           (widget-button-press (1- (point)))\r
710 +           (notmuch-test-wait)\r
711 +           (notmuch-search-next-thread)\r
712 +           (notmuch-pick-from-search-thread)\r
713 +           (notmuch-test-wait)\r
714 +           (select-window notmuch-pick-message-window)\r
715 +           (test-output)\r
716 +           (delete-other-windows)'\r
717 +cp OUTPUT /tmp/mjwout\r
718 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-show-window\r
719 +\r
720 +test_begin_subtest "Stash id"\r
721 +output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
722 +                    (require (quote notmuch-pick))\r
723 +                    (notmuch-pick "id:1258498485-sup-142@elly")\r
724 +                    (notmuch-test-wait)\r
725 +                    (notmuch-show-stash-message-id)')\r
726 +test_expect_equal "$output" "\"Stashed: id:1258498485-sup-142@elly\""\r
727 +\r
728 +test_begin_subtest "Move to next matching message"\r
729 +output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
730 +                    (require (quote notmuch-pick))\r
731 +                    (notmuch-pick "from:cworth")\r
732 +                    (notmuch-test-wait)\r
733 +                    (notmuch-pick-next-matching-message)\r
734 +                    (notmuch-show-stash-message-id)')\r
735 +test_expect_equal "$output" "\"Stashed: id:878we4qdqf.fsf@yoom.home.cworth.org\""\r
736 +\r
737 +test_begin_subtest "Move to next thread"\r
738 +output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
739 +                    (require (quote notmuch-pick))\r
740 +                    (notmuch-pick "tag:inbox")\r
741 +                    (notmuch-test-wait)\r
742 +                    (forward-line 26)\r
743 +                    (notmuch-pick-next-thread)\r
744 +                    (notmuch-show-stash-message-id)')\r
745 +test_expect_equal "$output" "\"Stashed: id:1258471718-6781-1-git-send-email-dottedmag@dottedmag.net\""\r
746 +\r
747 +test_begin_subtest "Move to previous thread"\r
748 +output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
749 +                    (require (quote notmuch-pick))\r
750 +                    (notmuch-pick "tag:inbox")\r
751 +                    (notmuch-test-wait)\r
752 +                    (forward-line 26)\r
753 +                    (notmuch-pick-prev-thread)\r
754 +                    (notmuch-show-stash-message-id)')\r
755 +test_expect_equal "$output" "\"Stashed: id:20091117190054.GU3165@dottiness.seas.harvard.edu\""\r
756 +\r
757 +test_begin_subtest "Move to previous previous thread"\r
758 +output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")\r
759 +                    (require (quote notmuch-pick))\r
760 +                    (notmuch-pick "tag:inbox")\r
761 +                    (notmuch-test-wait)\r
762 +                    (forward-line 26)\r
763 +                    (notmuch-pick-prev-thread)\r
764 +                    (notmuch-pick-prev-thread)\r
765 +                    (notmuch-show-stash-message-id)')\r
766 +test_expect_equal "$output" "\"Stashed: id:1258493565-13508-1-git-send-email-keithp@keithp.com\""\r
767 +\r
768 +test_done\r
769 diff --git a/test/pick.expected-output/notmuch-pick-show-window b/test/pick.expected-output/notmuch-pick-show-window\r
770 new file mode 100644\r
771 index 0000000..e16792b\r
772 --- /dev/null\r
773 +++ b/test/pick.expected-output/notmuch-pick-show-window\r
774 @@ -0,0 +1,40 @@\r
775 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed)\r
776 +Subject: [notmuch] Working with Maildir storage?\r
777 +To: notmuch@notmuchmail.org\r
778 +Date: Tue, 17 Nov 2009 14:00:54 -0500\r
779 +\r
780 +[ multipart/mixed ]\r
781 +[ multipart/signed ]\r
782 +[ text/plain ]\r
783 +I saw the LWN article and decided to take a look at notmuch.  I'm\r
784 +currently using mutt and mairix to index and read a collection of\r
785 +Maildir mail folders (around 40,000 messages total).\r
786 +\r
787 +notmuch indexed the messages without complaint, but my attempt at\r
788 +searching bombed out. Running, for example:\r
789 +\r
790 +  notmuch search storage\r
791 +\r
792 +Resulted in 4604 lines of errors along the lines of:\r
793 +\r
794 +  Error opening\r
795 +  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
796 +  Too many open files\r
797 +\r
798 +I'm curious if this is expected behavior (i.e., notmuch does not work\r
799 +with Maildir) or if something else is going on.\r
800 +\r
801 +Cheers,\r
802 +\r
803 +[ 4-line signature. Click/Enter to show. ]\r
804 +-- \r
805 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
806 +Senior Technologist, Computing and Information Technology\r
807 +Harvard University School of Engineering and Applied Sciences\r
808 +[ application/pgp-signature ]\r
809 +[ text/plain ]\r
810 +[ 4-line signature. Click/Enter to show. ]\r
811 +_______________________________________________\r
812 +notmuch mailing list\r
813 +notmuch@notmuchmail.org\r
814 +http://notmuchmail.org/mailman/listinfo/notmuch\r
815 diff --git a/test/pick.expected-output/notmuch-pick-single-thread b/test/pick.expected-output/notmuch-pick-single-thread\r
816 new file mode 100644\r
817 index 0000000..c9e5ef8\r
818 --- /dev/null\r
819 +++ b/test/pick.expected-output/notmuch-pick-single-thread\r
820 @@ -0,0 +1,6 @@\r
821 +  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message       headers (inbox)\r
822 +  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++   file with gcc 4.4 (inbox, unread)\r
823 +  2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread)\r
824 +  2009-11-17  Keith Packard          ╰┬► ...                                              (inbox, unread)\r
825 +  2009-11-18  Carl Worth              ╰─► ...                                             (inbox, unread)\r
826 +End of search results.\r
827 diff --git a/test/pick.expected-output/notmuch-pick-tag-inbox b/test/pick.expected-output/notmuch-pick-tag-inbox\r
828 new file mode 100644\r
829 index 0000000..484141e\r
830 --- /dev/null\r
831 +++ b/test/pick.expected-output/notmuch-pick-tag-inbox\r
832 @@ -0,0 +1,53 @@\r
833 +  2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (inbox, unread)\r
834 +  2010-12-16  Olivier Berger        ─►Essai accentué                                      (inbox, unread)\r
835 +  2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread)\r
836 +  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search        instead of going into an infinite loop (attachment, inbox, unread)\r
837 +  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread)\r
838 +  2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (inbox, unread)\r
839 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
840 +  2009-11-17  Adrian Perez de Cast  ┬►[notmuch] Introducing myself                        (inbox, signed, unread)\r
841 +  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
842 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
843 +  2009-11-17  Israel Herraiz        ┬►[notmuch] New to the list                           (inbox, unread)\r
844 +  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
845 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
846 +  2009-11-17  Jan Janak             ┬►[notmuch] What a great idea!                        (inbox, unread)\r
847 +  2009-11-17  Jan Janak             ├─► ...                                               (inbox, unread)\r
848 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
849 +  2009-11-17  Jan Janak             ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread)\r
850 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
851 +  2009-11-17  Aron Griffis          ┬►[notmuch] archive                                   (inbox, unread)\r
852 +  2009-11-18  Keith Packard         ╰┬► ...                                               (inbox, unread)\r
853 +  2009-11-18  Carl Worth             ╰─► ...                                              (inbox, unread)\r
854 +  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove    inbox (and unread) tags (inbox, unread)\r
855 +  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread)\r
856 +  2009-11-17  Lars Kellogg-Stedman  ┬►[notmuch] Working with Maildir storage?             (inbox, signed, unread)\r
857 +  2009-11-17  Mikhail Gusarov       ├┬► ...                                               (inbox, signed, unread)\r
858 +  2009-11-17  Lars Kellogg-Stedman  │╰┬► ...                                              (inbox, signed, unread)\r
859 +  2009-11-17  Mikhail Gusarov       │ ├─► ...                                             (inbox, unread)\r
860 +  2009-11-17  Keith Packard         │ ╰┬► ...                                             (inbox, unread)\r
861 +  2009-11-18  Lars Kellogg-Stedman  │  ╰─► ...                                            (inbox, signed, unread)\r
862 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
863 +  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message       headers (inbox, unread)\r
864 +  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++   file with gcc 4.4 (inbox, unread)\r
865 +  2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread)\r
866 +  2009-11-17  Keith Packard          ╰┬► ...                                              (inbox, unread)\r
867 +  2009-11-18  Carl Worth              ╰─► ...                                             (inbox, unread)\r
868 +  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that    highlights URLs and uses word-wrap (inbox, unread)\r
869 +  2009-11-18  Alexander Botero-Low  ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread)\r
870 +  2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (inbox, unread)\r
871 +  2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (inbox, unread)\r
872 +  2009-11-18  Alexander Botero-Low  ╰┬► ...                                               (inbox, unread)\r
873 +  2009-11-18  Jjgod Jiang            ╰┬► ...                                              (inbox, unread)\r
874 +  2009-11-18  Alexander Botero-Low    ╰─► ...                                             (inbox, unread)\r
875 +  2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (inbox, unread)\r
876 +  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool       subdirectories into tags (inbox, unread)\r
877 +  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before  statting (inbox, unread)\r
878 +  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread)\r
879 +  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++     libs. (inbox, unread)\r
880 +  2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (attachment, inbox, signed, unread)\r
881 +  2009-11-18  Lars Kellogg-Stedman  ╰─► ...                                               (attachment, inbox, signed, unread)\r
882 +  2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (inbox, unread)\r
883 +  2009-11-17  Alex Botero-Lowry     ┬►[notmuch] preliminary FreeBSD support               (attachment, inbox, unread)\r
884 +  2009-11-17  Carl Worth            ╰─► ...                                               (inbox, unread)\r
885 +End of search results.\r
886 diff --git a/test/pick.expected-output/notmuch-pick-tag-inbox-tagged b/test/pick.expected-output/notmuch-pick-tag-inbox-tagged\r
887 new file mode 100644\r
888 index 0000000..1f75a34\r
889 --- /dev/null\r
890 +++ b/test/pick.expected-output/notmuch-pick-tag-inbox-tagged\r
891 @@ -0,0 +1,53 @@\r
892 +  2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (inbox, unread)\r
893 +  2010-12-16  Olivier Berger        ─►Essai accentué                                      (inbox, test_tag, unread)\r
894 +  2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread)\r
895 +  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search        instead of going into an infinite loop (attachment, inbox, unread)\r
896 +  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread)\r
897 +  2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (inbox, unread)\r
898 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
899 +  2009-11-17  Adrian Perez de Cast  ┬►[notmuch] Introducing myself                        (inbox, signed, unread)\r
900 +  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
901 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
902 +  2009-11-17  Israel Herraiz        ┬►[notmuch] New to the list                           (inbox, unread)\r
903 +  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
904 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
905 +  2009-11-17  Jan Janak             ┬►[notmuch] What a great idea!                        (inbox, unread)\r
906 +  2009-11-17  Jan Janak             ├─► ...                                               (inbox, unread)\r
907 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
908 +  2009-11-17  Jan Janak             ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread)\r
909 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
910 +  2009-11-17  Aron Griffis          ┬►[notmuch] archive                                   (inbox, unread)\r
911 +  2009-11-18  Keith Packard         ╰┬► ...                                               (inbox, unread)\r
912 +  2009-11-18  Carl Worth             ╰─► ...                                              (inbox, unread)\r
913 +  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove    inbox (and unread) tags (inbox, unread)\r
914 +  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread)\r
915 +  2009-11-17  Lars Kellogg-Stedman  ┬►[notmuch] Working with Maildir storage?             (inbox, signed, unread)\r
916 +  2009-11-17  Mikhail Gusarov       ├┬► ...                                               (inbox, signed, unread)\r
917 +  2009-11-17  Lars Kellogg-Stedman  │╰┬► ...                                              (inbox, signed, unread)\r
918 +  2009-11-17  Mikhail Gusarov       │ ├─► ...                                             (inbox, unread)\r
919 +  2009-11-17  Keith Packard         │ ╰┬► ...                                             (inbox, unread)\r
920 +  2009-11-18  Lars Kellogg-Stedman  │  ╰─► ...                                            (inbox, signed, unread)\r
921 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
922 +  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message       headers (inbox, unread)\r
923 +  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++   file with gcc 4.4 (inbox, unread)\r
924 +  2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread)\r
925 +  2009-11-17  Keith Packard          ╰┬► ...                                              (inbox, unread)\r
926 +  2009-11-18  Carl Worth              ╰─► ...                                             (inbox, unread)\r
927 +  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that    highlights URLs and uses word-wrap (inbox, unread)\r
928 +  2009-11-18  Alexander Botero-Low  ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread)\r
929 +  2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (inbox, unread)\r
930 +  2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (inbox, unread)\r
931 +  2009-11-18  Alexander Botero-Low  ╰┬► ...                                               (inbox, unread)\r
932 +  2009-11-18  Jjgod Jiang            ╰┬► ...                                              (inbox, unread)\r
933 +  2009-11-18  Alexander Botero-Low    ╰─► ...                                             (inbox, unread)\r
934 +  2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (inbox, unread)\r
935 +  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool       subdirectories into tags (inbox, unread)\r
936 +  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before  statting (inbox, unread)\r
937 +  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread)\r
938 +  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++     libs. (inbox, unread)\r
939 +  2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (attachment, inbox, signed, unread)\r
940 +  2009-11-18  Lars Kellogg-Stedman  ╰─► ...                                               (attachment, inbox, signed, unread)\r
941 +  2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (inbox, unread)\r
942 +  2009-11-17  Alex Botero-Lowry     ┬►[notmuch] preliminary FreeBSD support               (attachment, inbox, unread)\r
943 +  2009-11-17  Carl Worth            ╰─► ...                                               (inbox, unread)\r
944 +End of search results.\r
945 diff --git a/test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged b/test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged\r
946 new file mode 100644\r
947 index 0000000..a7aba6e\r
948 --- /dev/null\r
949 +++ b/test/pick.expected-output/notmuch-pick-tag-inbox-thread-tagged\r
950 @@ -0,0 +1,53 @@\r
951 +  2010-12-29  François Boulogne     ─►[aur-general] Guidelines: cp, mkdir vs install      (inbox, unread)\r
952 +  2010-12-16  Olivier Berger        ─►Essai accentué                                      (inbox, unread)\r
953 +  2009-11-18  Chris Wilson          ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread)\r
954 +  2009-11-18  Alex Botero-Lowry     ┬►[notmuch] [PATCH] Error out if no query is supplied to search        instead of going into an infinite loop (attachment, inbox, unread)\r
955 +  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread)\r
956 +  2009-11-17  Ingmar Vanhassel      ┬►[notmuch] [PATCH] Typsos                            (inbox, unread)\r
957 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
958 +  2009-11-17  Adrian Perez de Cast  ┬►[notmuch] Introducing myself                        (inbox, signed, unread)\r
959 +  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
960 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
961 +  2009-11-17  Israel Herraiz        ┬►[notmuch] New to the list                           (inbox, unread)\r
962 +  2009-11-18  Keith Packard         ├─► ...                                               (inbox, unread)\r
963 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
964 +  2009-11-17  Jan Janak             ┬►[notmuch] What a great idea!                        (inbox, unread)\r
965 +  2009-11-17  Jan Janak             ├─► ...                                               (inbox, unread)\r
966 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
967 +  2009-11-17  Jan Janak             ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread)\r
968 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, unread)\r
969 +  2009-11-17  Aron Griffis          ┬►[notmuch] archive                                   (inbox, unread)\r
970 +  2009-11-18  Keith Packard         ╰┬► ...                                               (inbox, unread)\r
971 +  2009-11-18  Carl Worth             ╰─► ...                                              (inbox, unread)\r
972 +  2009-11-17  Keith Packard         ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove    inbox (and unread) tags (inbox, unread)\r
973 +  2009-11-18  Carl Worth            ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread)\r
974 +  2009-11-17  Lars Kellogg-Stedman  ┬►[notmuch] Working with Maildir storage?             (inbox, signed, test_thread_tag, unread)\r
975 +  2009-11-17  Mikhail Gusarov       ├┬► ...                                               (inbox, signed, test_thread_tag, unread)\r
976 +  2009-11-17  Lars Kellogg-Stedman  │╰┬► ...                                              (inbox, signed, test_thread_tag, unread)\r
977 +  2009-11-17  Mikhail Gusarov       │ ├─► ...                                             (inbox, test_thread_tag, unread)\r
978 +  2009-11-17  Keith Packard         │ ╰┬► ...                                             (inbox, test_thread_tag, unread)\r
979 +  2009-11-18  Lars Kellogg-Stedman  │  ╰─► ...                                            (inbox, signed, test_thread_tag, unread)\r
980 +  2009-11-18  Carl Worth            ╰─► ...                                               (inbox, test_thread_tag, unread)\r
981 +  2009-11-17  Mikhail Gusarov       ┬►[notmuch] [PATCH 1/2] Close message file after parsing message       headers (inbox, unread)\r
982 +  2009-11-17  Mikhail Gusarov       ├─►[notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++   file with gcc 4.4 (inbox, unread)\r
983 +  2009-11-17  Carl Worth            ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread)\r
984 +  2009-11-17  Keith Packard          ╰┬► ...                                              (inbox, unread)\r
985 +  2009-11-18  Carl Worth              ╰─► ...                                             (inbox, unread)\r
986 +  2009-11-18  Keith Packard         ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that    highlights URLs and uses word-wrap (inbox, unread)\r
987 +  2009-11-18  Alexander Botero-Low  ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread)\r
988 +  2009-11-18  Alexander Botero-Low  ─►[notmuch] request for pull                          (inbox, unread)\r
989 +  2009-11-18  Jjgod Jiang           ┬►[notmuch] Mac OS X/Darwin compatibility issues      (inbox, unread)\r
990 +  2009-11-18  Alexander Botero-Low  ╰┬► ...                                               (inbox, unread)\r
991 +  2009-11-18  Jjgod Jiang            ╰┬► ...                                              (inbox, unread)\r
992 +  2009-11-18  Alexander Botero-Low    ╰─► ...                                             (inbox, unread)\r
993 +  2009-11-18  Rolland Santimano     ─►[notmuch] Link to mailing list archives ?           (inbox, unread)\r
994 +  2009-11-18  Jan Janak             ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool       subdirectories into tags (inbox, unread)\r
995 +  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] count_files: sort directory in inode order before  statting (inbox, unread)\r
996 +  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread)\r
997 +  2009-11-18  Stewart Smith         ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++     libs. (inbox, unread)\r
998 +  2009-11-18  Lars Kellogg-Stedman  ┬►[notmuch] "notmuch help" outputs to stderr?         (attachment, inbox, signed, unread)\r
999 +  2009-11-18  Lars Kellogg-Stedman  ╰─► ...                                               (attachment, inbox, signed, unread)\r
1000 +  2009-11-17  Mikhail Gusarov       ─►[notmuch] [PATCH] Handle rename of message file     (inbox, unread)\r
1001 +  2009-11-17  Alex Botero-Lowry     ┬►[notmuch] preliminary FreeBSD support               (attachment, inbox, unread)\r
1002 +  2009-11-17  Carl Worth            ╰─► ...                                               (inbox, unread)\r
1003 +End of search results.\r
1004 -- \r
1005 1.7.9.1\r
1006 \r