Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 9d / 69bca076e7a1abcdc1628143c3757bee70e5d8
1 Return-Path: <bremner@tethera.net>\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 E4DB0431FAF\r
6         for <notmuch@notmuchmail.org>; Wed,  1 Feb 2012 20:01:55 -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 P1dkmRTKLXSE for <notmuch@notmuchmail.org>;\r
16         Wed,  1 Feb 2012 20:01:55 -0800 (PST)\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 57D6D431FAE\r
21         for <notmuch@notmuchmail.org>; Wed,  1 Feb 2012 20:01:55 -0800 (PST)\r
22 Received: from zancas.localnet\r
23         (fctnnbsc36w-156034071197.pppoe-dynamic.High-Speed.nb.bellaliant.net\r
24         [156.34.71.197]) (authenticated bits=0)\r
25         by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id q1241rSd010866\r
26         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\r
27         Thu, 2 Feb 2012 00:01:53 -0400\r
28 Received: from bremner by zancas.localnet with local (Exim 4.77)\r
29         (envelope-from <bremner@tethera.net>)\r
30         id 1Rsnrt-0003kz-3a; Thu, 02 Feb 2012 00:01:53 -0400\r
31 From: David Bremner <david@tethera.net>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH v4 1/2] test: add tests for quoting of MML tags in replies\r
34 Date: Thu,  2 Feb 2012 00:01:32 -0400\r
35 Message-Id: <1328155293-2334-2-git-send-email-david@tethera.net>\r
36 X-Mailer: git-send-email 1.7.8.3\r
37 In-Reply-To: <1328155293-2334-1-git-send-email-david@tethera.net>\r
38 References: <1328064581-13949-1-git-send-email-dmitry.kurochkin@gmail.com>\r
39         <1328155293-2334-1-git-send-email-david@tethera.net>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Thu, 02 Feb 2012 04:01:56 -0000\r
53 \r
54 From: Aaron Ecay <aaronecay@gmail.com>\r
55 \r
56 The test is broken at this time; the next commit will introduce a fix.\r
57 ---\r
58  test/emacs                                    |   12 ++++++++++++\r
59  test/emacs.expected-output/quote-mml-in-reply |    7 +++++++\r
60  2 files changed, 19 insertions(+), 0 deletions(-)\r
61  create mode 100644 test/emacs.expected-output/quote-mml-in-reply\r
62 \r
63 diff --git a/test/emacs b/test/emacs\r
64 index f36718e..2a2ce28 100755\r
65 --- a/test/emacs\r
66 +++ b/test/emacs\r
67 @@ -273,6 +273,18 @@ On 01 Jan 2000 12:00:00 -0000, Notmuch Test Suite <test_suite@notmuchmail.org> w\r
68  EOF\r
69  test_expect_equal_file OUTPUT EXPECTED\r
70  \r
71 +test_begin_subtest "Quote MML tags in reply"\r
72 +test_subtest_known_broken\r
73 +message_id='test-emacs-mml-quoting@message.id'\r
74 +add_message [id]="$message_id" \\r
75 +           "[subject]='$test_subtest_name'" \\r
76 +           '[body]="<#part disposition=inline>"'\r
77 +test_emacs "(let ((notmuch-fcc-dirs nil))\r
78 +             (notmuch-show \"id:$message_id\")\r
79 +             (notmuch-show-reply)\r
80 +             (test-output))"\r
81 +test_expect_equal_file OUTPUT "$EXPECTED/quote-mml-in-reply"\r
82 +\r
83  test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments"\r
84  # save as archive to test that Emacs does not re-compress .gz\r
85  test_emacs '(let ((standard-input "\"attachment1.gz\""))\r
86 diff --git a/test/emacs.expected-output/quote-mml-in-reply b/test/emacs.expected-output/quote-mml-in-reply\r
87 new file mode 100644\r
88 index 0000000..adec92a\r
89 --- /dev/null\r
90 +++ b/test/emacs.expected-output/quote-mml-in-reply\r
91 @@ -0,0 +1,7 @@\r
92 +From: Notmuch Test Suite <test_suite@notmuchmail.org>\r
93 +To: \r
94 +Subject: Re: Quote MML tags in reply\r
95 +In-Reply-To: <test-emacs-mml-quoting@message.id>\r
96 +--text follows this line--\r
97 +On Fri, 05 Jan 2001 15:43:57 +0000, Notmuch Test Suite <test_suite@notmuchmail.org> wrote:\r
98 +> <#!part disposition=inline>\r
99 -- \r
100 1.7.8.3\r
101 \r