Re: [PATCH 1/2] Add Google Inc. to AUTHORS as a contributor.
[notmuch-archives.git] / ff / e673511d0f3527ffb72935f7d9af31b3ae04c7
1 Return-Path: <pieter@praet.org>\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 78E72429E21\r
6         for <notmuch@notmuchmail.org>; Sun,  3 Jul 2011 23:53:00 -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 GoS-8S8NYFSp for <notmuch@notmuchmail.org>;\r
16         Sun,  3 Jul 2011 23:52:59 -0700 (PDT)\r
17 Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com\r
18         [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 2A4FB431FD0\r
21         for <notmuch@notmuchmail.org>; Sun,  3 Jul 2011 23:52:59 -0700 (PDT)\r
22 Received: by mail-wy0-f181.google.com with SMTP id 22so3733696wyh.26\r
23         for <notmuch@notmuchmail.org>; Sun, 03 Jul 2011 23:52:58 -0700 (PDT)\r
24 Received: by 10.227.2.199 with SMTP id 7mr5089237wbk.88.1309762378520;\r
25         Sun, 03 Jul 2011 23:52:58 -0700 (PDT)\r
26 Received: from localhost ([109.131.160.67])\r
27         by mx.google.com with ESMTPS id fu18sm4227280wbb.27.2011.07.03.23.52.57\r
28         (version=TLSv1/SSLv3 cipher=OTHER);\r
29         Sun, 03 Jul 2011 23:52:57 -0700 (PDT)\r
30 From: Pieter Praet <pieter@praet.org>\r
31 To: Austin Clements <amdragon@mit.edu>\r
32 Subject: [PATCH 4/5] test: emacs: add/remove tags from all matching messages\r
33         with `notmuch-search-operate-all'\r
34 Date: Mon,  4 Jul 2011 08:51:57 +0200\r
35 Message-Id: <1309762318-4530-5-git-send-email-pieter@praet.org>\r
36 X-Mailer: git-send-email 1.7.5.4\r
37 In-Reply-To: <1309762318-4530-1-git-send-email-pieter@praet.org>\r
38 References: <20110703171743.GL15901@mit.edu>\r
39         <1309762318-4530-1-git-send-email-pieter@praet.org>\r
40 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Mon, 04 Jul 2011 06:53:00 -0000\r
54 \r
55 Signed-off-by: Pieter Praet <pieter@praet.org>\r
56 ---\r
57  test/emacs-search-operate-all |   29 +++++++++++++++++++++++++++++\r
58  1 files changed, 29 insertions(+), 0 deletions(-)\r
59  create mode 100755 test/emacs-search-operate-all\r
60 \r
61 diff --git a/test/emacs-search-operate-all b/test/emacs-search-operate-all\r
62 new file mode 100755\r
63 index 0000000..ff3e701\r
64 --- /dev/null\r
65 +++ b/test/emacs-search-operate-all\r
66 @@ -0,0 +1,29 @@\r
67 +#!/usr/bin/env bash\r
68 +\r
69 +test_description="emacs interface"\r
70 +. test-lib.sh\r
71 +\r
72 +EXPECTED=$TEST_DIRECTORY/emacs.expected-output\r
73 +\r
74 +add_email_corpus\r
75 +\r
76 +test_begin_subtest "Add/remove tags from all matching messages."\r
77 +test_emacs '(notmuch-search "tag:inbox AND tags")\r
78 +           (notmuch-test-wait)\r
79 +           (notmuch-search-operate-all "+matching -inbox")\r
80 +           (notmuch-search "tag:matching")\r
81 +           (notmuch-test-wait)\r
82 +           (test-output)'\r
83 +cat <<EOF >EXPECTED\r
84 +  2009-11-18 [3/3]   Adrian Perez de Castro, Keith Packard, Carl Worth  [notmuch] Introducing myself (matching signed unread)\r
85 +  2009-11-18 [1/3]   Carl Worth, Israel Herraiz, Keith Packard       [notmuch] New to the list (inbox matching unread)\r
86 +  2009-11-18 [2/2]   Keith Packard, Carl Worth    [notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (matching unread)\r
87 +  2009-11-18 [1/2]   Keith Packard, Alexander Botero-Lowry    [notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox matching unread)\r
88 +  2009-11-18 [1/1]   Jan Janak            [notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (matching unread)\r
89 +  2009-11-18 [1/1]   Stewart Smith        [notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (matching unread)\r
90 +  2009-11-17 [1/2]   Ingmar Vanhassel, Carl Worth  [notmuch] [PATCH] Typsos (inbox matching unread)\r
91 +End of search results.\r
92 +EOF\r
93 +test_expect_equal_file OUTPUT EXPECTED\r
94 +\r
95 +test_done\r
96 -- \r
97 1.7.5.4\r
98 \r