Re: how to specify notmuch colors in emacs24
[notmuch-archives.git] / cd / c418b024a3b0eb50a898405e7b4e81dc6405e4
1 Return-Path: <sojkam1@fel.cvut.cz>\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 5A136431FBF\r
6         for <notmuch@notmuchmail.org>; Wed, 19 Dec 2012 13:32:56 -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: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 odY-gTWb+pR4 for <notmuch@notmuchmail.org>;\r
16         Wed, 19 Dec 2012 13:32:55 -0800 (PST)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id 24972431FAE\r
19         for <notmuch@notmuchmail.org>; Wed, 19 Dec 2012 13:32:55 -0800 (PST)\r
20 Received: from localhost (unknown [192.168.200.7])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 50E923CFE80;\r
22         Wed, 19 Dec 2012 22:32:54 +0100 (CET)\r
23 X-Virus-Scanned: IMAP STYX AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.7]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id rGrElH-B0fUy; Wed, 19 Dec 2012 22:32:53 +0100 (CET)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id 3C6E73CFE85;\r
30         Wed, 19 Dec 2012 22:32:52 +0100 (CET)\r
31 Received: from steelpick.2x.cz (unknown [213.29.198.144])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id 29067660969;\r
34         Wed, 19 Dec 2012 22:32:52 +0100 (CET)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.80)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1TlRFu-00077r-RR; Wed, 19 Dec 2012 22:32:46 +0100\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: notmuch@notmuchmail.org\r
40 Subject: [PATCH 2/3] test: Add some missing maildir synchronization tests\r
41 Date: Wed, 19 Dec 2012 22:32:26 +0100\r
42 Message-Id: <1355952747-27350-3-git-send-email-sojkam1@fel.cvut.cz>\r
43 X-Mailer: git-send-email 1.7.10.4\r
44 In-Reply-To: <1355952747-27350-1-git-send-email-sojkam1@fel.cvut.cz>\r
45 References: <1355952747-27350-1-git-send-email-sojkam1@fel.cvut.cz>\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Wed, 19 Dec 2012 21:32:56 -0000\r
59 \r
60 As mentioned by Jani Nikula in id:87vcccp4y3.fsf@nikula.org, some cases\r
61 of maildir synchronization are not covered by our tests. Let's add the\r
62 missing tests.\r
63 ---\r
64  test/maildir-sync |   12 ++++++++++++\r
65  1 file changed, 12 insertions(+)\r
66 \r
67 diff --git a/test/maildir-sync b/test/maildir-sync\r
68 index 6165782..b2ac89f 100755\r
69 --- a/test/maildir-sync\r
70 +++ b/test/maildir-sync\r
71 @@ -92,6 +92,18 @@ notmuch tag +donotmove subject:"Message to stay in new"\r
72  output=$(cd "$MAIL_DIR"; ls */message-to-stay-in-new*)\r
73  test_expect_equal "$output" "new/message-to-stay-in-new"\r
74  \r
75 +test_begin_subtest "Message in cur lacking maildir info gets one on any tag change"\r
76 +add_message [filename]='message-to-get-maildir-info' [dir]=cur\r
77 +notmuch tag +anytag id:$gen_msg_id\r
78 +output=$(cd "$MAIL_DIR"; ls */message-to-get-maildir-info*)\r
79 +test_expect_equal "$output" "cur/message-to-get-maildir-info:2,"\r
80 +\r
81 +test_begin_subtest "Message in new with maildir info is moved to cur on any tag change"\r
82 +add_message [filename]='message-with-info-to-be-moved-to-cur:2,' [dir]=new\r
83 +notmuch tag +anytag id:$gen_msg_id\r
84 +output=$(cd "$MAIL_DIR"; ls */message-with-info-to-be-moved-to-cur*)\r
85 +test_expect_equal "$output" "cur/message-with-info-to-be-moved-to-cur:2,"\r
86 +\r
87  test_begin_subtest "Removing 'S' flag from existing filename adds 'unread' tag"\r
88  add_message [subject]='"Removing S flag"' [filename]='removing-s-flag:2,S' [dir]=cur\r
89  output=$(notmuch search subject:"Removing S flag" | notmuch_search_sanitize)\r
90 -- \r
91 1.7.10.4\r
92 \r