Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / b9 / 4e02662c6ad834488f7464eb7be0e8842aae42
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 E96CF431FD0\r
6         for <notmuch@notmuchmail.org>; Wed, 13 Jul 2011 17:06:52 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 aRXXDRq4J5Hm for <notmuch@notmuchmail.org>;\r
16         Wed, 13 Jul 2011 17:06:52 -0700 (PDT)\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 2E2A7431FB6\r
19         for <notmuch@notmuchmail.org>; Wed, 13 Jul 2011 17:06:52 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 55F3419F3342;\r
22         Thu, 14 Jul 2011 02:06:51 +0200 (CEST)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id mf-q9tC5KVce; Thu, 14 Jul 2011 02:06:46 +0200 (CEST)\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 0E6E119F32EF;\r
30         Thu, 14 Jul 2011 02:06:45 +0200 (CEST)\r
31 Received: from steelpick.2x.cz (cable-86-56-4-108.cust.telecolumbus.net\r
32         [86.56.4.108]) (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id C1B0DFA003;\r
34         Thu, 14 Jul 2011 02:06:45 +0200 (CEST)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.76)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1Qh9S0-0000Pd-S1; Thu, 14 Jul 2011 02:06:44 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: notmuch@notmuchmail.org\r
40 Subject: [PATCH] test: Adding non-maildir tags does not move message from new\r
41         to cur\r
42 Date: Thu, 14 Jul 2011 02:06:35 +0200\r
43 Message-Id: <1310601995-1546-1-git-send-email-sojkam1@fel.cvut.cz>\r
44 X-Mailer: git-send-email 1.7.5.4\r
45 In-Reply-To: <1310479190-6973-4-git-send-email-l.rilling@av7.net>\r
46 References: <1310479190-6973-4-git-send-email-l.rilling@av7.net>\r
47 Cc: Michal Sojka <sojka@os.inf.tu-dresden.de>\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\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: Thu, 14 Jul 2011 00:06:53 -0000\r
61 \r
62 From: Michal Sojka <sojka@os.inf.tu-dresden.de>\r
63 \r
64 This adds a test for patch submitted by Louis Rilling. Without his patch\r
65 applied this test fails.\r
66 ---\r
67  test/maildir-sync |    6 ++++++\r
68  1 files changed, 6 insertions(+), 0 deletions(-)\r
69 \r
70 diff --git a/test/maildir-sync b/test/maildir-sync\r
71 index a60854f..e1ad81c 100755\r
72 --- a/test/maildir-sync\r
73 +++ b/test/maildir-sync\r
74 @@ -88,6 +88,12 @@ test_expect_equal "$output" "No new mail."\r
75  # creating new directories in the mail store, then it should be\r
76  # creating all necessary database state for those directories.\r
77  \r
78 +test_begin_subtest "Adding non-maildir tags does not move message from new to cur"\r
79 +add_message [subject]='"Message to stay in new"' [date]='"Sat, 01 Jan 2000 12:00:00 -0000"' [filename]='message-to-stay-in-new' [dir]=new\r
80 +notmuch tag +donotmove subject:"Message to stay in new"\r
81 +output=$(cd "$MAIL_DIR"; ls */message-to-stay-in-new*)\r
82 +test_expect_equal "$output" "new/message-to-stay-in-new"\r
83 +\r
84  test_begin_subtest "Removing 'S' flag from existing filename adds 'unread' tag"\r
85  add_message [subject]='"Removing S flag"' [filename]='removing-s-flag:2,S' [dir]=cur\r
86  output=$(notmuch search subject:"Removing S flag" | notmuch_search_sanitize)\r
87 -- \r
88 1.7.5.4\r
89 \r