1 Return-Path: <amdragon@mit.edu>
\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 AD27B431FB6
\r
6 for <notmuch@notmuchmail.org>; Fri, 4 May 2012 11:47:53 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 Eqp1LzxafcoA for <notmuch@notmuchmail.org>;
\r
16 Fri, 4 May 2012 11:47:52 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-1.mit.edu (DMZ-MAILSEC-SCANNER-1.MIT.EDU
\r
19 by olra.theworths.org (Postfix) with ESMTP id 31555431FAE
\r
20 for <notmuch@notmuchmail.org>; Fri, 4 May 2012 11:47:52 -0700 (PDT)
\r
21 X-AuditID: 1209190c-b7fad6d000000920-81-4fa42457207c
\r
22 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])
\r
23 by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id 5D.ED.02336.75424AF4; Fri, 4 May 2012 14:47:51 -0400 (EDT)
\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
\r
26 by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id q44Ilppd003502;
\r
27 Fri, 4 May 2012 14:47:51 -0400
\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])
\r
29 (authenticated bits=0)
\r
30 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
31 by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q44IlovF011293
\r
32 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
33 Fri, 4 May 2012 14:47:51 -0400 (EDT)
\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)
\r
35 (envelope-from <amdragon@mit.edu>)
\r
36 id 1SQNXi-0005NY-1H; Fri, 04 May 2012 14:47:50 -0400
\r
37 From: Austin Clements <amdragon@MIT.EDU>
\r
38 To: Adam Wolfe Gordon <awg+notmuch@xvx.ca>, notmuch@notmuchmail.org
\r
39 Subject: Re: [PATCH 1/2] test: Replying to an HTML-only message in emacs
\r
40 In-Reply-To: <1335056093-17621-2-git-send-email-awg+notmuch@xvx.ca>
\r
41 References: <1335056093-17621-1-git-send-email-awg+notmuch@xvx.ca>
\r
42 <1335056093-17621-2-git-send-email-awg+notmuch@xvx.ca>
\r
43 User-Agent: Notmuch/0.12+132~gf2f390b (http://notmuchmail.org) Emacs/23.3.1
\r
45 Date: Fri, 04 May 2012 14:47:49 -0400
\r
46 Message-ID: <87r4uzailm.fsf@awakening.csail.mit.edu>
\r
48 Content-Type: text/plain; charset=us-ascii
\r
49 X-Brightmail-Tracker:
\r
50 H4sIAAAAAAAAA+NgFnrEIsWRmVeSWpSXmKPExsUixG6nohuussTfYOEzI4sje2axW1y/OZPZ
\r
51 gcnj2apbzB5NPxazBjBFcdmkpOZklqUW6dslcGV0TfzKVnBLoOLF+QPsDYyPeLsYOTkkBEwk
\r
52 lt7cwQxhi0lcuLeerYuRi0NIYB+jxLEzy6Cc9YwSt948gXJOMEms+3uTHcJZwihxatZsRpB+
\r
53 NgENiW37l4PZIgLOEluOvWYDsYUFPCSmr+0A28EJFH/8aAZYjZBApcSN/S/A4qIC8RJ/ejeD
\r
54 1bMIqEp82XOHHcTmBbpv+ZclULagxMmZT1hAbGYBLYkb/14yTWAUmIUkNQtJagEj0ypG2ZTc
\r
55 Kt3cxMyc4tRk3eLkxLy81CJdQ73czBK91JTSTYygoOSU5NnB+Oag0iFGAQ5GJR7e3RxL/IVY
\r
56 E8uKK3MPMUpyMCmJ8gbIA4X4kvJTKjMSizPii0pzUosPMUpwMCuJ8CZ9XewvxJuSWFmVWpQP
\r
57 k5LmYFES51XReucnJJCeWJKanZpakFoEk5Xh4FCS4O1XBhoqWJSanlqRlplTgpBm4uAEGc4D
\r
58 NHwZSA1vcUFibnFmOkT+FKOilDhvFkhCACSRUZoH1wtLGq8YxYFeEeatA6niASYcuO5XQIOZ
\r
59 gAZLGywCGVySiJCSamDMdjDZpliybknIs/9NW7rKNxTI8UjYfaj4E1y4sfLK91jt9zdi/j14
\r
60 1cR9Q02E+5qNCcsKVt8ZcxlCrmg9jb47i2Vyzs/pl5Tcrr1jr33wwX4K99/ty5MfpVbbqjwy
\r
61 juj1/54Udvlv25GjKvc93n4Pu/vp3tPaY2UF6zQOnVqnM0VezfdaXK2uEktxRqKhFnNRcSIA
\r
63 X-BeenThere: notmuch@notmuchmail.org
\r
64 X-Mailman-Version: 2.1.13
\r
66 List-Id: "Use and development of the notmuch mail system."
\r
67 <notmuch.notmuchmail.org>
\r
68 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
69 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
70 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
71 List-Post: <mailto:notmuch@notmuchmail.org>
\r
72 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
73 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
74 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
75 X-List-Received-Date: Fri, 04 May 2012 18:47:53 -0000
\r
77 Does the test output depend on the HTML renderer used? (And should
\r
78 there be a test dependency on w3m or something? I must admit, I don't
\r
79 know how mm's HTML rendering works.)
\r
81 On Sat, 21 Apr 2012, Adam Wolfe Gordon <awg+notmuch@xvx.ca> wrote:
\r
82 > With the latest reply infrastructure, we should be able to nicely
\r
83 > quote HTML-only emails. But currently emacs quotes the raw HTML
\r
84 > instead of parsing it first. This commit adds a test for this case.
\r
86 > This test currently marked as broken.
\r
88 > test/emacs | 27 +++++++++++++++++++++++++++
\r
89 > 1 files changed, 27 insertions(+), 0 deletions(-)
\r
91 > diff --git a/test/emacs b/test/emacs
\r
92 > index c7510e9..e648f80 100755
\r
95 > @@ -444,6 +444,33 @@ Alex Botero-Lowry <alex.boterolowry@gmail.com> writes:
\r
97 > test_expect_equal_file OUTPUT EXPECTED
\r
99 > +test_begin_subtest "Reply within emacs to an html-only message"
\r
100 > +test_subtest_known_broken
\r
101 > +add_message '[content-type]="text/html"' \
\r
102 > + '[body]="Hi,<br />This is an <b>HTML</b> test message.<br /><br />OK?"'
\r
103 > +test_emacs "(let ((message-hidden-headers '()))
\r
104 > + (notmuch-show \"id:${gen_msg_id}\")
\r
105 > + (notmuch-show-reply)
\r
106 > + (test-output))"
\r
107 > +sed -i -e 's,^User-Agent: Notmuch/.* Emacs/.*,User-Agent: Notmuch/XXX Emacs/XXX,' OUTPUT
\r
108 > +cat <<EOF >EXPECTED
\r
109 > +From: Notmuch Test Suite <test_suite@notmuchmail.org>
\r
111 > +Subject: Re: Reply within emacs to an html-only message
\r
112 > +In-Reply-To: <${gen_msg_id}>
\r
113 > +Fcc: ${MAIL_DIR}/sent
\r
114 > +References: <${gen_msg_id}>
\r
115 > +User-Agent: Notmuch/XXX Emacs/XXX
\r
116 > +--text follows this line--
\r
117 > +Notmuch Test Suite <test_suite@notmuchmail.org> writes:
\r
120 > +> This is an HTML test message.
\r
124 > +test_expect_equal_file OUTPUT EXPECTED
\r
126 > test_begin_subtest "Quote MML tags in reply"
\r
127 > message_id='test-emacs-mml-quoting@message.id'
\r
128 > add_message [id]="$message_id" \
\r
132 > _______________________________________________
\r
133 > notmuch mailing list
\r
134 > notmuch@notmuchmail.org
\r
135 > http://notmuchmail.org/mailman/listinfo/notmuch
\r