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 28BA3431FD6
\r
6 for <notmuch@notmuchmail.org>; Tue, 3 Sep 2013 07:05:15 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.201 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] 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 Gw9K2iTH9wcL for <notmuch@notmuchmail.org>;
\r
18 Tue, 3 Sep 2013 07:05:09 -0700 (PDT)
\r
19 Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com
\r
20 [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
21 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
22 A5406431FCF for <notmuch@notmuchmail.org>; Tue, 3 Sep 2013 07:05:08 -0700
\r
24 Received: by mail-wg0-f41.google.com with SMTP id a12so1306245wgh.2
\r
25 for <notmuch@notmuchmail.org>; Tue, 03 Sep 2013 07:05:07 -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=Sm/or4pRJefEn5534WLvX8fjUBXeBP7YciNTC/ZiyT4=;
\r
30 b=hHygTxpa20L9lLvhyqH6OJlsUt1IjCjVsLTlHweaUPrNPRKv1uG1k9uIK3KQHTLMxU
\r
31 sEYT4AiGSS6ZVKxuPXgvFGkltFOwtOPs6NloxQfQ6wZptQftkUBXhQFu+PMv8up2VmRG
\r
32 OAYW1QuEvl3ez/wSu6zg0vW4qtGIvs7sdxlqwisrlWGIs3htikgXnt9Evma2YsarsIVY
\r
33 Z97Vpllwd9BBNGyshWK+UX5NeFXUe2YtV6LvSzA5tVeXADDSKjjWgiBDMBRZcIjr57+1
\r
34 knYXuORbvzTlCz8Eg/4xkeMegr6v+kZjSwO3P71FgClOB1gIIQmBEPWbZnSKm0T6JG1Y
\r
36 X-Received: by 10.180.91.11 with SMTP id ca11mr14727923wib.2.1378217107379;
\r
37 Tue, 03 Sep 2013 07:05:07 -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 b13sm25970254wic.9.1969.12.31.16.00.00
\r
40 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
41 Tue, 03 Sep 2013 07:05:06 -0700 (PDT)
\r
42 From: Mark Walters <markwalters1009@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH 1/4] contrib: pick: test: tag/untag single message
\r
45 Date: Tue, 3 Sep 2013 15:04:57 +0100
\r
46 Message-Id: <1378217100-27533-2-git-send-email-markwalters1009@gmail.com>
\r
47 X-Mailer: git-send-email 1.7.9.1
\r
48 In-Reply-To: <1378217100-27533-1-git-send-email-markwalters1009@gmail.com>
\r
49 References: <1378217100-27533-1-git-send-email-markwalters1009@gmail.com>
\r
51 Content-Type: text/plain; charset=UTF-8
\r
52 Content-Transfer-Encoding: 8bit
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Tue, 03 Sep 2013 14:05:15 -0000
\r
68 contrib/notmuch-pick/test/emacs-pick | 34 +++++++++++++
\r
69 .../notmuch-pick-tag-inbox-tagged | 53 ++++++++++++++++++++
\r
70 2 files changed, 87 insertions(+), 0 deletions(-)
\r
71 create mode 100644 contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-tagged
\r
73 diff --git a/contrib/notmuch-pick/test/emacs-pick b/contrib/notmuch-pick/test/emacs-pick
\r
74 index 37f974a..909f76a 100755
\r
75 --- a/contrib/notmuch-pick/test/emacs-pick
\r
76 +++ b/contrib/notmuch-pick/test/emacs-pick
\r
77 @@ -34,6 +34,40 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
78 (delete-other-windows)'
\r
79 test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox
\r
81 +# In the following tag tests we make sure the display is updated
\r
82 +# correctly and, in a separate test, that the database is updated
\r
85 +test_begin_subtest "Tag message in notmuch pick view (display)"
\r
86 +test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
87 + (require (quote notmuch-pick))
\r
88 + (notmuch-pick "tag:inbox")
\r
89 + (notmuch-test-wait)
\r
91 + (notmuch-pick-tag "+test_tag")
\r
93 + (delete-other-windows)'
\r
94 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox-tagged
\r
96 +test_begin_subtest "Tag message in notmuch pick view (database)"
\r
97 +output=$(notmuch search --output=messages 'tag:test_tag')
\r
98 +test_expect_equal "$output" "id:877h1wv7mg.fsf@inf-8657.int-evry.fr"
\r
100 +test_begin_subtest "Untag message in notmuch pick view"
\r
101 +test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
102 + (require (quote notmuch-pick))
\r
103 + (notmuch-pick "tag:inbox")
\r
104 + (notmuch-test-wait)
\r
106 + (notmuch-pick-tag "-test_tag")
\r
108 + (delete-other-windows)'
\r
109 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox
\r
111 +test_begin_subtest "Untag message in notmuch pick view (database)"
\r
112 +output=$(notmuch search --output=messages 'tag:test_tag')
\r
113 +test_expect_equal "$output" ""
\r
115 test_begin_subtest "Navigation of notmuch-hello to search results"
\r
116 test_emacs '(notmuch-hello)
\r
117 (goto-char (point-min))
\r
118 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
119 new file mode 100644
\r
120 index 0000000..1f75a34
\r
122 +++ b/contrib/notmuch-pick/test/pick.expected-output/notmuch-pick-tag-inbox-tagged
\r
124 + 2010-12-29 François Boulogne ─►[aur-general] Guidelines: cp, mkdir vs install (inbox, unread)
\r
125 + 2010-12-16 Olivier Berger ─►Essai accentué (inbox, test_tag, unread)
\r
126 + 2009-11-18 Chris Wilson ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread)
\r
127 + 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
128 + 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
129 + 2009-11-17 Ingmar Vanhassel ┬►[notmuch] [PATCH] Typsos (inbox, unread)
\r
130 + 2009-11-18 Carl Worth ╰─► ... (inbox, unread)
\r
131 + 2009-11-17 Adrian Perez de Cast ┬►[notmuch] Introducing myself (inbox, signed, unread)
\r
132 + 2009-11-18 Keith Packard ├─► ... (inbox, unread)
\r
133 + 2009-11-18 Carl Worth ╰─► ... (inbox, unread)
\r
134 + 2009-11-17 Israel Herraiz ┬►[notmuch] New to the list (inbox, unread)
\r
135 + 2009-11-18 Keith Packard ├─► ... (inbox, unread)
\r
136 + 2009-11-18 Carl Worth ╰─► ... (inbox, unread)
\r
137 + 2009-11-17 Jan Janak ┬►[notmuch] What a great idea! (inbox, unread)
\r
138 + 2009-11-17 Jan Janak ├─► ... (inbox, unread)
\r
139 + 2009-11-18 Carl Worth ╰─► ... (inbox, unread)
\r
140 + 2009-11-17 Jan Janak ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread)
\r
141 + 2009-11-18 Carl Worth ╰─► ... (inbox, unread)
\r
142 + 2009-11-17 Aron Griffis ┬►[notmuch] archive (inbox, unread)
\r
143 + 2009-11-18 Keith Packard ╰┬► ... (inbox, unread)
\r
144 + 2009-11-18 Carl Worth ╰─► ... (inbox, unread)
\r
145 + 2009-11-17 Keith Packard ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread)
\r
146 + 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread)
\r
147 + 2009-11-17 Lars Kellogg-Stedman ┬►[notmuch] Working with Maildir storage? (inbox, signed, unread)
\r
148 + 2009-11-17 Mikhail Gusarov ├┬► ... (inbox, signed, unread)
\r
149 + 2009-11-17 Lars Kellogg-Stedman │╰┬► ... (inbox, signed, unread)
\r
150 + 2009-11-17 Mikhail Gusarov │ ├─► ... (inbox, unread)
\r
151 + 2009-11-17 Keith Packard │ ╰┬► ... (inbox, unread)
\r
152 + 2009-11-18 Lars Kellogg-Stedman │ ╰─► ... (inbox, signed, unread)
\r
153 + 2009-11-18 Carl Worth ╰─► ... (inbox, unread)
\r
154 + 2009-11-17 Mikhail Gusarov ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread)
\r
155 + 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
156 + 2009-11-17 Carl Worth ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread)
\r
157 + 2009-11-17 Keith Packard ╰┬► ... (inbox, unread)
\r
158 + 2009-11-18 Carl Worth ╰─► ... (inbox, unread)
\r
159 + 2009-11-18 Keith Packard ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread)
\r
160 + 2009-11-18 Alexander Botero-Low ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread)
\r
161 + 2009-11-18 Alexander Botero-Low ─►[notmuch] request for pull (inbox, unread)
\r
162 + 2009-11-18 Jjgod Jiang ┬►[notmuch] Mac OS X/Darwin compatibility issues (inbox, unread)
\r
163 + 2009-11-18 Alexander Botero-Low ╰┬► ... (inbox, unread)
\r
164 + 2009-11-18 Jjgod Jiang ╰┬► ... (inbox, unread)
\r
165 + 2009-11-18 Alexander Botero-Low ╰─► ... (inbox, unread)
\r
166 + 2009-11-18 Rolland Santimano ─►[notmuch] Link to mailing list archives ? (inbox, unread)
\r
167 + 2009-11-18 Jan Janak ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox, unread)
\r
168 + 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox, unread)
\r
169 + 2009-11-18 Stewart Smith ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread)
\r
170 + 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox, unread)
\r
171 + 2009-11-18 Lars Kellogg-Stedman ┬►[notmuch] "notmuch help" outputs to stderr? (attachment, inbox, signed, unread)
\r
172 + 2009-11-18 Lars Kellogg-Stedman ╰─► ... (attachment, inbox, signed, unread)
\r
173 + 2009-11-17 Mikhail Gusarov ─►[notmuch] [PATCH] Handle rename of message file (inbox, unread)
\r
174 + 2009-11-17 Alex Botero-Lowry ┬►[notmuch] preliminary FreeBSD support (attachment, inbox, unread)
\r
175 + 2009-11-17 Carl Worth ╰─► ... (inbox, unread)
\r
176 +End of search results.
\r