[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 95 / 3f7f113c9ff7890085d5ce7759d5ddb970b1ad
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 3E568431FBF\r
6         for <notmuch@notmuchmail.org>; Sat, 24 Nov 2012 05:21:17 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.201\r
10 X-Spam-Level: \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 8JGCiFCqG6Uu for <notmuch@notmuchmail.org>;\r
18         Sat, 24 Nov 2012 05:21:16 -0800 (PST)\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  3F765431FBD    for <notmuch@notmuchmail.org>; Sat, 24 Nov 2012 05:21:14 -0800\r
23  (PST)\r
24 Received: by mail-wg0-f41.google.com with SMTP id ds1so1423804wgb.2\r
25         for <notmuch@notmuchmail.org>; Sat, 24 Nov 2012 05:21:13 -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:x-mailer:in-reply-to:references;\r
28         bh=DmByQYtBM/JPv38+UjDIlnFxQuxknzHgZK3zJg8dlhg=;\r
29         b=cbQP8cbLAst2wQh8ZoMH3fFHSGmBr6lJggyFZrNEhKXb5r3NEbNHABupe7/KMXQ+nA\r
30         /4cCXxqaMatGTPYLmz22w9gIFd68MoTl1dk0Azv4ScBGimtxo0OVnumqyZQOIwkXt7cg\r
31         KqQuG1MFmwU9JJAyAGV49AFxk9G7IPNjeXNpWXk1IuNTfDvvYAcPyU1pKG+XRG1+x2Hd\r
32         vchYBs3bwBMPuBbxjyFWi0BDHCQMPnxRr+fWIILGG6oocHSIaVDH7/GByXnohjjiZhJt\r
33         Qj9AfA/e9D1ejotyE20sBZjv83BdTeAHXnWn6NFe67jU5wFnczNGRDVsQqbS2L95bEIb\r
34         7iNA==\r
35 Received: by 10.180.92.103 with SMTP id cl7mr10225246wib.16.1353763272995;\r
36         Sat, 24 Nov 2012 05:21:12 -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 ESMTPS id b1sm14246026wix.11.2012.11.24.05.21.11\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Sat, 24 Nov 2012 05:21:12 -0800 (PST)\r
41 From: markwalters1009 <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH v2 5/7] test: test for race when tagging from emacs search\r
44 Date: Sat, 24 Nov 2012 13:20:54 +0000\r
45 Message-Id: <1353763256-32336-6-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 In-Reply-To: <1353763256-32336-1-git-send-email-markwalters1009@gmail.com>\r
48 References: <1353763256-32336-1-git-send-email-markwalters1009@gmail.com>\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Sat, 24 Nov 2012 13:21:17 -0000\r
62 \r
63 From: Mark Walters <markwalters1009@gmail.com>\r
64 \r
65 When tagging from search view in emacs there is a race condition: it\r
66 tags all messages in the thread even ones which arrived after the\r
67 search was made. This can cause dataloss (if, for example, a thread is\r
68 archived it could archive messages the user has never seen).\r
69 \r
70 Mark this test known broken.\r
71 ---\r
72  test/emacs |   23 +++++++++++++++++++++++\r
73  1 files changed, 23 insertions(+), 0 deletions(-)\r
74 \r
75 diff --git a/test/emacs b/test/emacs\r
76 index 77265b0..3788439 100755\r
77 --- a/test/emacs\r
78 +++ b/test/emacs\r
79 @@ -122,6 +122,29 @@ test_emacs "(notmuch-search \"$os_x_darwin_thread\")\r
80  output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)\r
81  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
82  \r
83 +test_begin_subtest "Tag all matching messages from search view"\r
84 +test_subtest_known_broken\r
85 +notmuch tag +test-tag-race from:cworth\r
86 +test_emacs "(notmuch-search \"tag:test-tag-race\")\r
87 +           (notmuch-test-wait)"\r
88 +notmuch tag +test-tag-race "id:1258471718-6781-2-git-send-email-dottedmag@dottedmag.net"\r
89 +test_emacs "(execute-kbd-macro \"*+test-tag-race-2\")"\r
90 +output=$(notmuch count tag:test-tag-race-2)\r
91 +test_expect_equal "$output" "12"\r
92 +notmuch tag -test-tag-race '*'\r
93 +notmuch tag -test-tag-race-2 '*'\r
94 +\r
95 +test_begin_subtest "Change tags from search view: another message arriving after thread lookup"\r
96 +test_subtest_known_broken\r
97 +typsos_id="878we4qdqf.fsf@yoom.home.cworth.org"\r
98 +typsos_thread=$(notmuch search --output=threads id:$typsos_id)\r
99 +test_emacs "(notmuch-search \"$typsos_thread\")\r
100 +           (notmuch-test-wait)"\r
101 +add_message "[subject]=\"new-thread-message\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[body]=\"new-thread-message\"" "[in-reply-to]=\"<$typsos_id>\""\r
102 +test_emacs "(execute-kbd-macro \"+tag-from-search-view -unread\")"\r
103 +output=$(notmuch search tag:tag-from-search-view | notmuch_search_sanitize)\r
104 +test_expect_equal "$output" "thread:XXX   2009-11-18 [2/3] Ingmar Vanhassel, Carl Worth| Notmuch Test Suite; [notmuch] [PATCH] Typsos (inbox tag-from-search-view unread)"\r
105 +\r
106  test_begin_subtest "Add tag from notmuch-show view"\r
107  test_emacs "(notmuch-show \"$os_x_darwin_thread\")\r
108             (execute-kbd-macro \"+tag-from-show-view\")"\r
109 -- \r
110 1.7.9.1\r
111 \r