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 05093431FBF
\r
6 for <notmuch@notmuchmail.org>; Tue, 13 Aug 2013 09:14:12 -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 ojuQ2QBy2Hvb for <notmuch@notmuchmail.org>;
\r
16 Tue, 13 Aug 2013 09:14:06 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-5.mit.edu (dmz-mailsec-scanner-5.mit.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 55760431FAF
\r
20 for <notmuch@notmuchmail.org>; Tue, 13 Aug 2013 09:14:06 -0700 (PDT)
\r
21 X-AuditID: 12074422-b7ef78e000000935-9a-520a5b4df2d1
\r
22 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])
\r
23 by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id 15.E8.02357.D4B5A025; Tue, 13 Aug 2013 12:14:05 -0400 (EDT)
\r
25 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])
\r
26 by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id r7DGE4Dt022990
\r
27 for <notmuch@notmuchmail.org>; Tue, 13 Aug 2013 12:14:05 -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.8/8.12.4) with ESMTP id r7DGE1DW021275
\r
32 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
\r
33 for <notmuch@notmuchmail.org>; Tue, 13 Aug 2013 12:14:04 -0400
\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80)
\r
35 (envelope-from <amdragon@mit.edu>) id 1V9HEN-0006Fr-FE
\r
36 for notmuch@notmuchmail.org; Tue, 13 Aug 2013 12:13:59 -0400
\r
37 From: Austin Clements <amdragon@MIT.EDU>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: Re: [PATCH 4/6] reply: Test replying to messages with RFC
\r
40 2047-encoded headers
\r
41 In-Reply-To: <1376332839-22825-5-git-send-email-amdragon@mit.edu>
\r
42 References: <1376332839-22825-1-git-send-email-amdragon@mit.edu>
\r
43 <1376332839-22825-5-git-send-email-amdragon@mit.edu>
\r
44 User-Agent: Notmuch/0.15.2+182~gd0bd88f (http://notmuchmail.org) Emacs/23.4.1
\r
46 Date: Tue, 13 Aug 2013 12:13:57 -0400
\r
47 Message-ID: <87ioz9wou2.fsf@awakening.csail.mit.edu>
\r
49 Content-Type: text/plain; charset=utf-8
\r
50 Content-Transfer-Encoding: quoted-printable
\r
51 X-Brightmail-Tracker:
\r
52 H4sIAAAAAAAAA+NgFvrAIsWRmVeSWpSXmKPExsUixCmqrOsbzRVksPS8kcX1mzOZHRg9nq26
\r
53 xRzAGMVlk5Kak1mWWqRvl8CV0fnsCWPBIdGK20d3szYwfuHvYuTkkBAwkZhx9y0LhC0mceHe
\r
54 erYuRi4OIYF9jBKNDy8xQzjnGSV2X30O5bxkkpjT8ZoVwjnEKNF35Q5YP5uAhsS2/csZQWwR
\r
55 AWmJnXdns4LYwgLhEnOuNrOD2JwCjhJNB8+C2UICpRJtjw6D1YsKJEpMWtDJDGKzCKhKPJ++
\r
56 E6yGF+i+df/XskHYghInZz4B28UsoC7xZ94lZghbW2LZwtfMExgFZyEpm4WkbBaSsgWMzKsY
\r
57 ZVNyq3RzEzNzilOTdYuTE/PyUot0TfVyM0v0UlNKNzGCApbdRWkH48+DSocYBTgYlXh4H1hz
\r
58 BQmxJpYVV+YeYpTkYFIS5b0SDhTiS8pPqcxILM6ILyrNSS0GhggHs5II71cboBxvSmJlVWpR
\r
59 PkxKmoNFSZz32dOzgUIC6YklqdmpqQWpRTBZGQ4OJQne+iigRsGi1PTUirTMnBKENBMHJ8hw
\r
60 HqDhrSA1vMUFibnFmekQ+VOMilLivIsigRICIImM0jy4XlhCecUoDvSKMK8CSDsPMBnBdb8C
\r
61 GswENNiomQNkcEkiQkqqgZF157QH30/VnfXeqsH5RrDXoVfw4++Q4r8XVrVOP30useJQw1MJ
\r
62 3vziJc/fF82rLD7jtT28JnCBz7HX2Y8WmKe+PCjpZtBc+3XBohkTdjc4aGu4rVLcaNm+RvR2
\r
63 m9DxrFz7WdlqF9Z2tP+/XK1scbC3QXPVkTV7Dcps9gRUHX9stKDV9X7j20AlluKMREMt5qLi
\r
65 X-BeenThere: notmuch@notmuchmail.org
\r
66 X-Mailman-Version: 2.1.13
\r
68 List-Id: "Use and development of the notmuch mail system."
\r
69 <notmuch.notmuchmail.org>
\r
70 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
71 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
72 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
73 List-Post: <mailto:notmuch@notmuchmail.org>
\r
74 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
75 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
76 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
77 X-List-Received-Date: Tue, 13 Aug 2013 16:14:12 -0000
\r
79 On Mon, 12 Aug 2013, Austin Clements <amdragon@MIT.EDU> wrote:
\r
81 > test/reply | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++=
\r
83 > 1 file changed, 56 insertions(+)
\r
85 > diff --git a/test/reply b/test/reply
\r
86 > index ee5d361..a85ebe5 100755
\r
89 > @@ -193,4 +193,60 @@ References: <${gen_msg_id}>
\r
90 > On Tue, 05 Jan 2010 15:43:56 -0000, Sender <sender@example.com> wrote:
\r
93 > +test_begin_subtest "Reply with RFC 2047-encoded headers"
\r
94 > +add_message '[subject]=3D"=3D?iso-8859-1?q?=3De0=3Ddf=3De7?=3D"' \
\r
95 > + '[from]=3D"=3D?utf-8?q?=3De2=3D98=3D83?=3D <snowman@example.com>"' \
\r
96 > + '[date]=3D"Tue, 05 Jan 2010 15:43:56 -0000"' \
\r
97 > + '[body]=3D"Encoding"'
\r
99 > +output=3D$(notmuch reply id:${gen_msg_id})
\r
100 > +test_expect_equal "$output" "\
\r
101 > +From: Notmuch Test Suite <test_suite@notmuchmail.org>
\r
102 > +Subject: Re: =C3=A0=C3=9F=C3=A7
\r
103 > +To: =E2=98=83 <snowman@example.com>
\r
104 > +In-Reply-To: <${gen_msg_id}>
\r
105 > +References: <${gen_msg_id}>
\r
107 > +On Tue, 05 Jan 2010 15:43:56 -0000, =E2=98=83 <snowman@example.com> wrot=
\r
111 > +test_begin_subtest "Reply with RFC 2047-encoded headers (JSON)"
\r
112 > +output=3D$(notmuch reply --format=3Djson id:${gen_msg_id})
\r
113 > +test_expect_equal_json "$output" '
\r
118 > + "content": "Encoding\n",
\r
119 > + "content-type": "text/plain",
\r
123 > + "date_relative": "2010-01-05",
\r
124 > + "excluded": false,
\r
125 > + "filename": "'${MAIL_DIR}'/msg-012",
\r
127 > + "Date": "Tue, 05 Jan 2010 15:43:56 +0000",
\r
128 > + "From": "\u2603 <snowman@example.com>",
\r
129 > + "Subject": "\u00e0\u00df\u00e7",
\r
130 > + "To": "Notmuch Test Suite <test_suite@notmuchmail.org>"
\r
132 > + "id": "'${gen_msg_id}'",
\r
133 > + "match": false,
\r
138 > + "timestamp": 1262706236
\r
140 > + "reply-headers": {
\r
141 > + "From": "Notmuch Test Suite <test_suite@notmuchmail.org>",
\r
142 > + "In-reply-to": "<'${gen_msg_id}'>",
\r
143 > + "References": "<'${gen_msg_id}'>",
\r
145 I screwed up when I was rebasing patches in this series. There's
\r
146 supposed to be a space before the < above, which should then be removed
\r
147 in patch 5. If people take a look over this series, I'll fix this along
\r
148 with the commit message typo in v2.
\r
150 > + "Subject": "Re: \u00e0\u00df\u00e7",
\r
151 > + "To": "\u2603 <snowman@example.com>"
\r