1 Return-Path: <jrollins@finestructure.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 12A4C431FBC
\r
6 for <notmuch@notmuchmail.org>; Fri, 17 Oct 2014 17:08:21 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 Yhpgj1Fh1vwm for <notmuch@notmuchmail.org>;
\r
16 Fri, 17 Oct 2014 17:08:14 -0700 (PDT)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id B6344431FB6
\r
20 for <notmuch@notmuchmail.org>; Fri, 17 Oct 2014 17:08:14 -0700 (PDT)
\r
21 Received: from smtp01.caltech.edu (localhost [127.0.0.1])
\r
22 by filter-return (Postfix) with ESMTP id 31C2CA0699;
\r
23 Fri, 17 Oct 2014 17:08:14 -0700 (PDT)
\r
24 X-Spam-Scanned: at Caltech-IMSS on smtp01.caltech.edu by amavisd-new
\r
25 Received: from finestructure.net (dhcp-123-176.caltech.edu [131.215.123.176])
\r
26 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))
\r
27 (No client certificate requested) (Authenticated sender: jrollins)
\r
28 by smtp-server.its.caltech.edu (Postfix) with ESMTPSA id 4B322A0659;
\r
29 Fri, 17 Oct 2014 17:08:11 -0700 (PDT)
\r
30 Received: by finestructure.net (Postfix, from userid 1000)
\r
31 id 3D10460090; Fri, 17 Oct 2014 17:08:11 -0700 (PDT)
\r
32 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
33 To: sshilovsky@gmail.com, notmuch@notmuchmail.org
\r
34 Subject: Re: Tabulation in multiline headers
\r
36 <CAHc2pO1QjtqMw9rf0aWGup+Bs_ZpvsZ1bd32H0xiDdzQ_k5GFA@mail.gmail.com>
\r
38 <CAHc2pO1QjtqMw9rf0aWGup+Bs_ZpvsZ1bd32H0xiDdzQ_k5GFA@mail.gmail.com>
\r
39 User-Agent: Notmuch/0.18.1+130~g87e77ba (http://notmuchmail.org) Emacs/24.3.1
\r
40 (x86_64-pc-linux-gnu)
\r
41 Date: Fri, 17 Oct 2014 17:08:08 -0700
\r
42 Message-ID: <87vbnime8n.fsf@servo.finestructure.net>
\r
44 Content-Type: multipart/signed; boundary="=-=-=";
\r
45 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
46 X-BeenThere: notmuch@notmuchmail.org
\r
47 X-Mailman-Version: 2.1.13
\r
49 List-Id: "Use and development of the notmuch mail system."
\r
50 <notmuch.notmuchmail.org>
\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
54 List-Post: <mailto:notmuch@notmuchmail.org>
\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
58 X-List-Received-Date: Sat, 18 Oct 2014 00:08:21 -0000
\r
61 Content-Type: text/plain
\r
63 On Fri, Oct 17 2014, Sergei Shilovsky <sshilovsky@gmail.com> wrote:
\r
64 > Lets consider this message:
\r
66 > id:87r5aucoeg.fsf@servo.finestructure.net
\r
68 > Its subject spreads over 2 lines and the 2nd line is indented with
\r
69 > <Tab> in the file:
\r
71 > Subject: running the crypto branch [was: Re: Hiding HTML mime-parts and/or
\r
72 > <Tab--->scrubbing (gmail's) HTML-based citation]
\r
74 > The issue is that notmuch_message_get_header() returns this whole line
\r
76 > character (though I guess it should not):
\r
78 > running the crypto branch [was: Re: Hiding HTML mime-parts
\r
79 > and/or<Tab>scrubbing (gmail's) HTML-based citation]
\r
81 > This file could be imported from gmane though with mb2md. My test long
\r
82 > subject message (sent via gmail) didn't got any tabulation.
\r
84 Hi, Sergei. I'm not clear on where exactly you are seeing a problem
\r
85 with this tab in the subject line. Is it showing up somewhere you think
\r
88 Headers that are broken across multiple lines must be indented, so I
\r
89 think it is fairly standard for MUAs to insert either a space or a tab
\r
92 > No idea where this tabulation could came from, but would that be
\r
93 > correct to replace <tab> with space in libnotmuch itself?
\r
95 User-Agent: Notmuch/0.5-102-ge86ac1d (http://notmuchmail.org) Emacs/23.2.1
\r
98 I'm not sure libnotmuch should be doing any scrubbing of the message
\r
99 contents. The emacs UI does seem to replace the tab with a space,
\r
100 though. Maybe other MUAs should be doing the same?
\r
105 Content-Type: application/pgp-signature
\r
107 -----BEGIN PGP SIGNATURE-----
\r
110 iQIcBAEBCAAGBQJUQa9pAAoJEO00zqvie6q8/3UP/3wcy43sR5izMlWvoClmMNOv
\r
111 WH3/wDMrRsRw/ybOdu4pMMq14LJ3cC1+89Gy6M/RWO40kkOmd9iqGPBGa4fl/xJv
\r
112 8hl2FLpjwwPhTYop5uyRCW40M4jkgkqMevlQ6R0JjFiITkTTykT6eeYlpAhSaESG
\r
113 NwR7JKLPpXpJZHtZqXOQnlxixKWPB/+u3qM9NfuoWgxqIqSxdGuvbVy6O1FI9JWM
\r
114 FqR/JbOPcObHiLRfPmNGWyPifSjfk9qRIW2Ei/aMK27D95YxB4MPAKbh73fRKkoP
\r
115 Dwni36/WdGAqM54WH+3J7VnV+Wi4DNkjN5fh+CqYBrh4BFtA7XfJ8vAcH7XqGF98
\r
116 hd1WBnTLM//YOAj/cW/TXrJbjpL63FeUWT96Hq8OHO9aYd3zHs6aXVfylEHowrAm
\r
117 odNmbmQfAWThxHlKULGo9YLjEF2v0ZgLFYbbT6+XBqY0xefsmnPboa5mlq9+MaK8
\r
118 8BnMs9mE0rgPAZscFbm0WzWor08n5uQHcqSyhazVpIM7lo5hlzoFDUjtfO6vZCUE
\r
119 MtF6HoDFE0qVJskoiOho/1LuaJENEA6o0Ab+leJe2s1Ntm8ma0PQkYdcNBJ444Rx
\r
120 DACl04PZgpDK7ZabrLqY7pYmUeLPsq816Ko683XGAzQqvhhr0E4nUpJ7SIqCChYG
\r
121 pwhetjN10nlW1WQv+5kD
\r
123 -----END PGP SIGNATURE-----
\r