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 26DF8431FD4
\r
6 for <notmuch@notmuchmail.org>; Wed, 14 Aug 2013 10:20:48 -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 Y0IfAealPF6L for <notmuch@notmuchmail.org>;
\r
16 Wed, 14 Aug 2013 10:20:42 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-3.mit.edu (dmz-mailsec-scanner-3.mit.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 94E98431FC0
\r
20 for <notmuch@notmuchmail.org>; Wed, 14 Aug 2013 10:20:42 -0700 (PDT)
\r
21 X-AuditID: 1209190e-b7f988e0000009a7-1e-520bbc696eab
\r
22 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])
\r
23 by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id FA.EE.02471.96CBB025; Wed, 14 Aug 2013 13:20:41 -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 r7EHKdEJ003180;
\r
27 Wed, 14 Aug 2013 13:20:40 -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 r7EHKb03012335
\r
32 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
\r
33 Wed, 14 Aug 2013 13:20:38 -0400
\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80)
\r
35 (envelope-from <amdragon@mit.edu>)
\r
36 id 1V9ekO-0005PA-Vz; Wed, 14 Aug 2013 13:20:37 -0400
\r
37 Date: Wed, 14 Aug 2013 13:20:36 -0400
\r
38 From: Austin Clements <amdragon@MIT.EDU>
\r
39 To: Tomi Ollila <tomi.ollila@iki.fi>
\r
40 Subject: Re: [PATCH 0/6] Clean up reply's encoding story
\r
41 Message-ID: <20130814172036.GF13257@mit.edu>
\r
42 References: <1376332839-22825-1-git-send-email-amdragon@mit.edu>
\r
43 <m2zjskjjat.fsf@guru.guru-group.fi>
\r
45 Content-Type: text/plain; charset=us-ascii
\r
46 Content-Disposition: inline
\r
47 In-Reply-To: <m2zjskjjat.fsf@guru.guru-group.fi>
\r
48 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
49 X-Brightmail-Tracker:
\r
50 H4sIAAAAAAAAA+NgFmpileLIzCtJLcpLzFFi42IR4hRV1s3cwx1kMGOTsMX1mzOZLd6snMfq
\r
51 wORx+OtCFo9nq24xBzBFcdmkpOZklqUW6dslcGX82WJY8JKvYkbDL8YGxvfcXYycHBICJhLN
\r
52 dw6wQthiEhfurWfrYuTiEBLYxyhxs/02K4SzkVHi8pZXzBDOaSaJuy2nwFqEBJYwSqxoVAGx
\r
53 WQRUJRpWvWUHsdkENCS27V/OCGKLCKhIPGhbD1bPLCAt8e13MxOILSxgIdF54gJYnFdAR2LV
\r
54 p28sEDPTJD4f7WKHiAtKnJz5hAWiV0vixr+XQL0cYHOW/+MACXMKGEgcv7eTGcQWBVo15eQ2
\r
55 tgmMQrOQdM9C0j0LoXsBI/MqRtmU3Crd3MTMnOLUZN3i5MS8vNQiXWO93MwSvdSU0k2M4KCW
\r
56 5NvB+PWg0iFGAQ5GJR7eiDbuICHWxLLiytxDjJIcTEqivP7bgUJ8SfkplRmJxRnxRaU5qcWH
\r
57 GCU4mJVEeM90AOV4UxIrq1KL8mFS0hwsSuK8z56eDRQSSE8sSc1OTS1ILYLJynBwKEnwhu4G
\r
58 ahQsSk1PrUjLzClBSDNxcIIM5wEavmoXyPDigsTc4sx0iPwpRkUpcV41kGYBkERGaR5cLyzp
\r
59 vGIUB3pFmDcJpIoHmLDgul8BDWYCGuyQzQUyuCQRISXVwNgy+9M2kUp5h2sqcWz8r83Xb7Rj
\r
60 Um79NOfkx0hOq27NoiXmZ54efKBba/z7u0vereScaxfPXVWYqq0aPiGr58T/nJNumUoyL8ya
\r
61 bwnHH/r0M+PLg60/77gx+E2VLtodYSKrFu33O2feeua9spnZXwvXXhRfb3P7zlXnB8F2klVq
\r
62 kq7KC2q1XiuxFGckGmoxFxUnAgB7JuoqFQMAAA==
\r
63 Cc: notmuch@notmuchmail.org
\r
64 X-BeenThere: notmuch@notmuchmail.org
\r
65 X-Mailman-Version: 2.1.13
\r
67 List-Id: "Use and development of the notmuch mail system."
\r
68 <notmuch.notmuchmail.org>
\r
69 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
70 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
71 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
72 List-Post: <mailto:notmuch@notmuchmail.org>
\r
73 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
74 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
75 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
76 X-List-Received-Date: Wed, 14 Aug 2013 17:20:48 -0000
\r
78 Quoth Tomi Ollila on Aug 14 at 8:04 pm:
\r
79 > On Mon, Aug 12 2013, Austin Clements <amdragon@MIT.EDU> wrote:
\r
81 > > Jeff Stedfast's email about gmime-filter-headers.c possibly being
\r
82 > > unnecessary with GMime 2.6 (quoted in id:87bo56viyo.fsf@nikula.org)
\r
83 > > sent me on a wild goose chase that led to this patch series. It
\r
84 > > turned out that we *did* need gmime-filter-headers for what we were
\r
85 > > doing in the reply text format, but what we were doing made no sense.
\r
86 > > Patches 1 through 4 are simply the documentation and tests that I left
\r
87 > > in my wake and are harmless to push. Patch 6 is my conclusion that
\r
88 > > how we were handling header encoding in the text reply format made no
\r
89 > > sense. Patch 5 is a step toward patch 6, but makes sense on its own
\r
90 > > even if we decide against patch 6.
\r
92 > The whole series Looks Good To Me (sans known hiccups). I tested the patch 6
\r
93 > affecting 'default' output of notmuch reply bot not json or sexp output
\r
94 > (which I found surprising as so much code was removed). All the explations
\r
95 > in id:1376332839-22825-7-git-send-email-amdragon@mit.edu makes good sense
\r
96 > (but fix also 'tmeplate').
\r
98 > A slighly related note: ^M:s ^J:s (among other chars) don't get encoded
\r
99 > into =?utf-8?b?...?= ...
\r
101 Do you mean when sending mail, or when replying to a message with
\r
102 encoded ^Ms and ^Js?
\r
104 > ... also interestingly if U+202E (LEFT-TO-RIGHT OVERRIDE) is in (at least
\r
105 > From) header it disappears from `notmuch reply` default format. In json
\r
106 > and sexp format it disappears in 'reply-headers' but exists in 'headers'.
\r
107 > emacs client seems to use reply-headers as none of the header text lines
\r
108 > in buffer is rendered RTL.
\r
110 Cool. My guess would be that one of these it coming from notmuch's
\r
111 internal header parser (via notmuch_message_get_header) and the other
\r
112 is coming from GMime's header parser (used in notmuch-show.c)
\r