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 34DE7431FD0
\r
6 for <notmuch@notmuchmail.org>; Sat, 14 Dec 2013 14:58:47 -0800 (PST)
\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 9RMsqLRVveYu for <notmuch@notmuchmail.org>;
\r
18 Sat, 14 Dec 2013 14:58:40 -0800 (PST)
\r
19 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com
\r
20 [209.85.212.169]) (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 77413431FB6
\r
23 for <notmuch@notmuchmail.org>; Sat, 14 Dec 2013 14:58:40 -0800 (PST)
\r
24 Received: by mail-wi0-f169.google.com with SMTP id hn6so704999wib.2
\r
25 for <notmuch@notmuchmail.org>; Sat, 14 Dec 2013 14:58:39 -0800 (PST)
\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;
\r
28 bh=7f7IzIOFShofTwnwyyvyV096EtMfD1korKPSVV3Wuuw=;
\r
29 b=m24aYFqJuGRMM+qBV0b3cw81/29ZwQkfACNCyeVWOoEGrj9KDEobhyRkVM31IhEmMg
\r
30 TQeFJf35ydWUS0kkM94ErQXQkq1jwNJ9tz6fvoraAyI2IKRSBm/jiYJC3vdG31hxSipP
\r
31 TjjB6mM0M0ShJm3Z6+15y52B7KCzbaidZ7CdgcKqDZgBkZ20QW07pG9SRxq3GvWokgjY
\r
32 i0KKBDI5Cfsj/eP78YwlpOzPonFodguKfUE0rIMIyR1mWMGGvvPxOTB4AhLVP6HGFxm+
\r
33 MjXPWrfKX65Z1qbGWxxDFWwpi9B9a7aM4hcFZieJQfBv46lvI+cSY0QaseQ8d0mT4LWx
\r
35 X-Received: by 10.194.235.230 with SMTP id up6mr7850778wjc.30.1387061917737;
\r
36 Sat, 14 Dec 2013 14:58:37 -0800 (PST)
\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])
\r
38 by mx.google.com with ESMTPSA id
\r
39 xn17sm10842024wib.1.2013.12.14.14.58.36 for <multiple recipients>
\r
40 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
41 Sat, 14 Dec 2013 14:58:37 -0800 (PST)
\r
42 From: Mark Walters <markwalters1009@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH] test: tree: pick remnants removed
\r
45 Date: Sat, 14 Dec 2013 22:58:32 +0000
\r
46 Message-Id: <1387061912-24349-1-git-send-email-markwalters1009@gmail.com>
\r
47 X-Mailer: git-send-email 1.7.9.1
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Sat, 14 Dec 2013 22:58:47 -0000
\r
62 Some no longer needed traces of pick remain in the emacs-tree
\r
65 When playing with tree read/unread things I found these remnants in
\r
66 the emacs-tree test. They do no harm but should be removed. Sorry I
\r
67 missed these in the pick/tree merge.
\r
75 test/emacs-tree | 38 +++++++++++---------------------------
\r
76 1 files changed, 11 insertions(+), 27 deletions(-)
\r
78 diff --git a/test/emacs-tree b/test/emacs-tree
\r
79 index 4bdfddd..8e9f37c 100755
\r
80 --- a/test/emacs-tree
\r
81 +++ b/test/emacs-tree
\r
82 @@ -8,16 +8,14 @@ EXPECTED=$TEST_DIRECTORY/tree.expected-output
\r
85 test_begin_subtest "Basic notmuch-tree view in emacs"
\r
86 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
87 - (notmuch-tree "tag:inbox")
\r
88 +test_emacs '(notmuch-tree "tag:inbox")
\r
91 (delete-other-windows)'
\r
92 test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox
\r
94 test_begin_subtest "Refreshed notmuch-tree view in emacs"
\r
95 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
96 - (notmuch-tree "tag:inbox")
\r
97 +test_emacs '(notmuch-tree "tag:inbox")
\r
99 (notmuch-tree-refresh-view)
\r
100 (notmuch-test-wait)
\r
101 @@ -30,8 +28,7 @@ test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox
\r
104 test_begin_subtest "Tag message in notmuch tree view (display)"
\r
105 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
106 - (notmuch-tree "tag:inbox")
\r
107 +test_emacs '(notmuch-tree "tag:inbox")
\r
108 (notmuch-test-wait)
\r
110 (notmuch-tree-tag (list "+test_tag"))
\r
111 @@ -44,8 +41,7 @@ output=$(notmuch search --output=messages 'tag:test_tag')
\r
112 test_expect_equal "$output" "id:877h1wv7mg.fsf@inf-8657.int-evry.fr"
\r
114 test_begin_subtest "Untag message in notmuch tree view"
\r
115 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
116 - (notmuch-tree "tag:inbox")
\r
117 +test_emacs '(notmuch-tree "tag:inbox")
\r
118 (notmuch-test-wait)
\r
120 (notmuch-tree-tag (list "-test_tag"))
\r
121 @@ -58,8 +54,7 @@ output=$(notmuch search --output=messages 'tag:test_tag')
\r
122 test_expect_equal "$output" ""
\r
124 test_begin_subtest "Tag thread in notmuch tree view"
\r
125 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
126 - (notmuch-tree "tag:inbox")
\r
127 +test_emacs '(notmuch-tree "tag:inbox")
\r
128 (notmuch-test-wait)
\r
129 ;; move to a sizable thread
\r
131 @@ -80,8 +75,7 @@ id:87iqd9rn3l.fsf@vertex.dottedmag
\r
132 id:20091117190054.GU3165@dottiness.seas.harvard.edu"
\r
134 test_begin_subtest "Untag thread in notmuch tree view"
\r
135 -test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
136 - (notmuch-tree "tag:inbox")
\r
137 +test_emacs '(notmuch-tree "tag:inbox")
\r
138 (notmuch-test-wait)
\r
139 ;; move to the same sizable thread as above
\r
141 @@ -147,26 +141,20 @@ cp OUTPUT /tmp/mjwout
\r
142 test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-show-window
\r
144 test_begin_subtest "Stash id"
\r
145 -output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
146 - (require (quote notmuch-tree))
\r
147 - (notmuch-tree "id:1258498485-sup-142@elly")
\r
148 +output=$(test_emacs '(notmuch-tree "id:1258498485-sup-142@elly")
\r
149 (notmuch-test-wait)
\r
150 (notmuch-show-stash-message-id)')
\r
151 test_expect_equal "$output" "\"Stashed: id:1258498485-sup-142@elly\""
\r
153 test_begin_subtest "Move to next matching message"
\r
154 -output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
155 - (require (quote notmuch-tree))
\r
156 - (notmuch-tree "from:cworth")
\r
157 +output=$(test_emacs '(notmuch-tree "from:cworth")
\r
158 (notmuch-test-wait)
\r
159 (notmuch-tree-next-matching-message)
\r
160 (notmuch-show-stash-message-id)')
\r
161 test_expect_equal "$output" "\"Stashed: id:878we4qdqf.fsf@yoom.home.cworth.org\""
\r
163 test_begin_subtest "Move to next thread"
\r
164 -output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
165 - (require (quote notmuch-tree))
\r
166 - (notmuch-tree "tag:inbox")
\r
167 +output=$(test_emacs '(notmuch-tree "tag:inbox")
\r
168 (notmuch-test-wait)
\r
170 (notmuch-tree-next-thread)
\r
171 @@ -174,9 +162,7 @@ output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
172 test_expect_equal "$output" "\"Stashed: id:1258471718-6781-1-git-send-email-dottedmag@dottedmag.net\""
\r
174 test_begin_subtest "Move to previous thread"
\r
175 -output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
176 - (require (quote notmuch-tree))
\r
177 - (notmuch-tree "tag:inbox")
\r
178 +output=$(test_emacs '(notmuch-tree "tag:inbox")
\r
179 (notmuch-test-wait)
\r
181 (notmuch-tree-prev-thread)
\r
182 @@ -184,9 +170,7 @@ output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
183 test_expect_equal "$output" "\"Stashed: id:20091117190054.GU3165@dottiness.seas.harvard.edu\""
\r
185 test_begin_subtest "Move to previous previous thread"
\r
186 -output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
\r
187 - (require (quote notmuch-tree))
\r
188 - (notmuch-tree "tag:inbox")
\r
189 +output=$(test_emacs '(notmuch-tree "tag:inbox")
\r
190 (notmuch-test-wait)
\r
192 (notmuch-tree-prev-thread)
\r