Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 9d / c85354f98c8a25014066831bb0511d2bd0b9ca
1 Return-Path: <jani@nikula.org>\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 16109429E26\r
6         for <notmuch@notmuchmail.org>; Sat, 14 Jan 2012 13:49:57 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 t8I1hAW1RHin for <notmuch@notmuchmail.org>;\r
16         Sat, 14 Jan 2012 13:49:56 -0800 (PST)\r
17 Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com\r
18  [74.125.83.53])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  4E7F7429E25    for <notmuch@notmuchmail.org>; Sat, 14 Jan 2012 13:49:56 -0800\r
21  (PST)\r
22 Received: by eekd41 with SMTP id d41so141906eek.26\r
23         for <notmuch@notmuchmail.org>; Sat, 14 Jan 2012 13:49:54 -0800 (PST)\r
24 Received: by 10.213.32.202 with SMTP id e10mr1834033ebd.98.1326577794792;\r
25         Sat, 14 Jan 2012 13:49:54 -0800 (PST)\r
26 Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi.\r
27         [80.220.92.23])\r
28         by mx.google.com with ESMTPS id 15sm49331744eeu.1.2012.01.14.13.49.52\r
29         (version=SSLv3 cipher=OTHER); Sat, 14 Jan 2012 13:49:53 -0800 (PST)\r
30 From: Jani Nikula <jani@nikula.org>\r
31 To: notmuch@notmuchmail.org\r
32 Subject: [PATCH 1/2] test: add known broken test for reply from address in\r
33         named group list\r
34 Date: Sat, 14 Jan 2012 23:49:49 +0200\r
35 Message-Id:\r
36  <2be56437e2eb77733c27923b6300087ccbffc244.1326577595.git.jani@nikula.org>\r
37 X-Mailer: git-send-email 1.7.5.4\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Sat, 14 Jan 2012 21:49:57 -0000\r
51 \r
52 If a message was received to the user's address that was in a named\r
53 group list, notmuch reply does not use that address for picking the\r
54 from address.\r
55 \r
56 Groups lists are of the form: foo:bar@example.com,baz@example.com;\r
57 \r
58 Signed-off-by: Jani Nikula <jani@nikula.org>\r
59 ---\r
60  test/reply |   19 +++++++++++++++++++\r
61  1 files changed, 19 insertions(+), 0 deletions(-)\r
62 \r
63 diff --git a/test/reply b/test/reply\r
64 index c0b8e26..196535a 100755\r
65 --- a/test/reply\r
66 +++ b/test/reply\r
67 @@ -72,6 +72,25 @@ References: <${gen_msg_id}>\r
68  On Tue, 05 Jan 2010 15:43:56 -0000, Sender <sender@example.com> wrote:\r
69  > reply from alternate address"\r
70  \r
71 +test_begin_subtest "Reply from address in named group list"\r
72 +test_subtest_known_broken\r
73 +add_message '[from]="Sender <sender@example.com>"' \\r
74 +            '[to]=group:test_suite@notmuchmail.org,someone@example.com\;' \\r
75 +             [cc]=test_suite_other@notmuchmail.org \\r
76 +             [subject]=notmuch-reply-test \\r
77 +            '[date]="Tue, 05 Jan 2010 15:43:56 -0000"' \\r
78 +            '[body]="Reply from address in named group list"'\r
79 +\r
80 +output=$(notmuch reply id:${gen_msg_id})\r
81 +test_expect_equal "$output" "From: Notmuch Test Suite <test_suite@notmuchmail.org>\r
82 +Subject: Re: notmuch-reply-test\r
83 +To: Sender <sender@example.com>, someone@example.com\r
84 +In-Reply-To: <${gen_msg_id}>\r
85 +References: <${gen_msg_id}>\r
86 +\r
87 +On Tue, 05 Jan 2010 15:43:56 -0000, Sender <sender@example.com> wrote:\r
88 +> Reply from address in named group list"\r
89 +\r
90  test_begin_subtest "Support for Reply-To"\r
91  add_message '[from]="Sender <sender@example.com>"' \\r
92               [to]=test_suite@notmuchmail.org \\r
93 -- \r
94 1.7.5.4\r
95 \r