1 Return-Path: <dmitry.kurochkin@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 2EC78429E31
\r
6 for <notmuch@notmuchmail.org>; Fri, 24 Feb 2012 02:36:49 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 67JHEw88DDhM for <notmuch@notmuchmail.org>;
\r
17 Fri, 24 Feb 2012 02:36:48 -0800 (PST)
\r
18 Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com
\r
19 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 52887431FAE
\r
22 for <notmuch@notmuchmail.org>; Fri, 24 Feb 2012 02:36:48 -0800 (PST)
\r
23 Received: by bkcit16 with SMTP id it16so2017827bkc.26
\r
24 for <notmuch@notmuchmail.org>; Fri, 24 Feb 2012 02:36:46 -0800 (PST)
\r
25 Received-SPF: pass (google.com: domain of dmitry.kurochkin@gmail.com
\r
26 designates 10.204.154.92 as permitted sender)
\r
27 client-ip=10.204.154.92;
\r
28 Authentication-Results: mr.google.com; spf=pass (google.com: domain of
\r
29 dmitry.kurochkin@gmail.com designates 10.204.154.92 as
\r
30 permitted sender) smtp.mail=dmitry.kurochkin@gmail.com;
\r
31 dkim=pass header.i=dmitry.kurochkin@gmail.com
\r
32 Received: from mr.google.com ([10.204.154.92])
\r
33 by 10.204.154.92 with SMTP id n28mr824328bkw.30.1330079806951 (num_hops
\r
34 = 1); Fri, 24 Feb 2012 02:36:46 -0800 (PST)
\r
35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
36 h=from:to:cc:subject:in-reply-to:references:user-agent:date
\r
37 :message-id:mime-version:content-type;
\r
38 bh=NEIqWNR6KhnixmrGSYlIp3FnV5+24IULIQudAflDXw4=;
\r
39 b=WodIJ3U2mmaxIk2YRiH0AyekMJoukl+cbm7iLPs8y3rsg1s2iVVCzWXc6p5EWAhYcF
\r
40 N0OxHVpsteqNHnRrfqUPBpacaWP7TLY8KSfuVDedeQUhf8q08qYV2BXcXgcJ4Ec3yZ/o
\r
41 q/4B5AxUs85SygiahbcnwqsjCMXofKwnsSqAg=
\r
42 Received: by 10.204.154.92 with SMTP id n28mr682075bkw.30.1330079806890;
\r
43 Fri, 24 Feb 2012 02:36:46 -0800 (PST)
\r
44 Received: from localhost ([91.144.186.21])
\r
45 by mx.google.com with ESMTPS id jd17sm7851956bkb.4.2012.02.24.02.36.45
\r
46 (version=TLSv1/SSLv3 cipher=OTHER);
\r
47 Fri, 24 Feb 2012 02:36:46 -0800 (PST)
\r
48 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
49 To: Pieter Praet <pieter@praet.org>, David Bremner <david@tethera.net>
\r
50 Subject: Re: [PATCH 1/6] test: emacs: new tests "notmuch-show: {add,
\r
51 remove} multiple tags {to, from} single message"
\r
52 In-Reply-To: <1330038554-10347-1-git-send-email-pieter@praet.org>
\r
53 References: <878vjtqhcg.fsf@praet.org>
\r
54 <1330038554-10347-1-git-send-email-pieter@praet.org>
\r
55 User-Agent: Notmuch/0.11.1+188~ga5674c2 (http://notmuchmail.org) Emacs/23.3.1
\r
56 (x86_64-pc-linux-gnu)
\r
57 Date: Fri, 24 Feb 2012 14:35:22 +0400
\r
58 Message-ID: <87ipiwjz85.fsf@gmail.com>
\r
60 Content-Type: text/plain; charset=us-ascii
\r
61 Cc: Notmuch Mail <notmuch@notmuchmail.org>
\r
62 X-BeenThere: notmuch@notmuchmail.org
\r
63 X-Mailman-Version: 2.1.13
\r
65 List-Id: "Use and development of the notmuch mail system."
\r
66 <notmuch.notmuchmail.org>
\r
67 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
69 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
70 List-Post: <mailto:notmuch@notmuchmail.org>
\r
71 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
72 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
73 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
74 X-List-Received-Date: Fri, 24 Feb 2012 10:36:49 -0000
\r
76 On Fri, 24 Feb 2012 00:09:09 +0100, Pieter Praet <pieter@praet.org> wrote:
\r
79 > - Rename subtests "{Add,Remove} tag from notmuch-show view" to
\r
80 > "notmuch-show: {add,remove} single tag {to,from} single message"
\r
81 > to be consistent with the following tests.
\r
83 > - New subtest "notmuch-show: add multiple tags to single message":
\r
84 > `notmuch-show-add-tag' ("+") can add multiple tags to a message.
\r
86 > - New subtest "notmuch-show: remove multiple tags from single message":
\r
87 > `notmuch-show-remove-tag' ("-") can remove multiple tags from a message.
\r
90 Would be nice to have another patch that moves notmuch-show tests to
\r
96 > test/emacs | 16 ++++++++++++++--
\r
97 > 1 files changed, 14 insertions(+), 2 deletions(-)
\r
99 > diff --git a/test/emacs b/test/emacs
\r
100 > index b74cfa9..ec1dbb0 100755
\r
103 > @@ -112,18 +112,30 @@ test_emacs "(notmuch-search \"$os_x_darwin_thread\")
\r
104 > output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)
\r
105 > test_expect_equal "$output" "thread:XXX 2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)"
\r
107 > -test_begin_subtest "Add tag from notmuch-show view"
\r
108 > +test_begin_subtest "notmuch-show: add single tag to single message"
\r
109 > test_emacs "(notmuch-show \"$os_x_darwin_thread\")
\r
110 > (execute-kbd-macro \"+tag-from-show-view\")"
\r
111 > output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)
\r
112 > test_expect_equal "$output" "thread:XXX 2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox tag-from-show-view unread)"
\r
114 > -test_begin_subtest "Remove tag from notmuch-show view"
\r
115 > +test_begin_subtest "notmuch-show: remove single tag from single message"
\r
116 > test_emacs "(notmuch-show \"$os_x_darwin_thread\")
\r
117 > (execute-kbd-macro \"-tag-from-show-view\")"
\r
118 > output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)
\r
119 > test_expect_equal "$output" "thread:XXX 2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)"
\r
121 > +test_begin_subtest "notmuch-show: add multiple tags to single message"
\r
122 > +test_emacs "(notmuch-show \"$os_x_darwin_thread\")
\r
123 > + (execute-kbd-macro \"+tag1-from-show-view +tag2-from-show-view\")"
\r
124 > +output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)
\r
125 > +test_expect_equal "$output" "thread:XXX 2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox tag1-from-show-view tag2-from-show-view unread)"
\r
127 > +test_begin_subtest "notmuch-show: remove multiple tags from single message"
\r
128 > +test_emacs "(notmuch-show \"$os_x_darwin_thread\")
\r
129 > + (execute-kbd-macro \"-tag1-from-show-view -tag2-from-show-view\")"
\r
130 > +output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)
\r
131 > +test_expect_equal "$output" "thread:XXX 2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)"
\r
133 > test_begin_subtest "Message with .. in Message-Id:"
\r
134 > add_message [id]=123..456@example '[subject]="Message with .. in Message-Id"'
\r
135 > test_emacs '(notmuch-search "id:\"123..456@example\"")
\r