1 Return-Path: <tomi.ollila@nixu.com>
\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 57827429E25
\r
6 for <notmuch@notmuchmail.org>; Fri, 28 Oct 2011 04:21:52 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 emgMh3JkuAUD for <notmuch@notmuchmail.org>;
\r
16 Fri, 28 Oct 2011 04:21:51 -0700 (PDT)
\r
17 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])
\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 EFAC7431FB6
\r
21 for <notmuch@notmuchmail.org>; Fri, 28 Oct 2011 04:21:50 -0700 (PDT)
\r
22 Received: from taco2.nixu.fi (localhost [127.0.0.1])
\r
23 by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id
\r
25 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
\r
26 Fri, 28 Oct 2011 14:21:48 +0300
\r
27 Received: (from too@localhost)
\r
28 by taco2.nixu.fi (8.14.3/8.14.3/Submit) id p9SBLl0m006121;
\r
29 Fri, 28 Oct 2011 14:21:47 +0300
\r
30 X-Authentication-Warning: taco2.nixu.fi: too set sender to
\r
31 tomi.ollila@nixu.com using -f
\r
32 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
33 To: Daniel Schoepe <daniel@schoepe.org>
\r
34 Subject: Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return
\r
35 message-id unprefixed with "id:".
\r
36 References: <87mxdabyy8.fsf@washington.ligo-wa.caltech.edu>
\r
37 <1318199748-25058-1-git-send-email-jrollins@finestructure.net>
\r
38 <87ehykflzw.fsf@kepler.schwinge.homeip.net>
\r
39 <87ehxzb0xg.fsf@servo.finestructure.net>
\r
40 <87r51xe5pa.fsf@gilead.invalid>
\r
41 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
42 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
43 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
44 Date: Fri, 28 Oct 2011 14:21:47 +0300
\r
45 In-Reply-To: <87r51xe5pa.fsf@gilead.invalid> (Daniel Schoepe's message of
\r
46 "Fri, 28 Oct 2011 13:06:09 +0200")
\r
47 Message-ID: <yf6fwidtl84.fsf@taco2.nixu.fi>
\r
48 User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/22.2 (gnu/linux)
\r
50 Content-Type: text/plain
\r
51 Cc: Notmuch Mail <notmuch@notmuchmail.org>
\r
52 X-BeenThere: notmuch@notmuchmail.org
\r
53 X-Mailman-Version: 2.1.13
\r
55 List-Id: "Use and development of the notmuch mail system."
\r
56 <notmuch.notmuchmail.org>
\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
60 List-Post: <mailto:notmuch@notmuchmail.org>
\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
64 X-List-Received-Date: Fri, 28 Oct 2011 11:21:52 -0000
\r
66 On Fri 28 Oct 2011 14:06, Daniel Schoepe <daniel@schoepe.org> writes:
\r
68 > On Wed, 26 Oct 2011 19:52:59 -0700, Jameson Graef Rollins
\r
69 > <jrollins@finestructure.net> wrote:
\r
70 >> In point of fact, do we need these quotes around message IDs at all?
\r
71 >> Can message IDs have characters that would need to be escaped for the
\r
74 > Message ID syntax is defined in RFC 2822[1]:
\r
76 > As far passing things to the shell goes:
\r
78 >> atext = ALPHA / DIGIT / ; Any character except controls,
\r
79 >> "!" / "#" / ; SP, and specials.
\r
80 >> "$" / "%" / ; Used for atoms
\r
90 >> atom = [CFWS] 1*atext [CFWS]
\r
92 >> dot-atom = [CFWS] dot-atom-text [CFWS]
\r
94 >> dot-atom-text = 1*atext *("." 1*atext)
\r
96 > So, they can contain things like "$foo@$bar", which will be mangled if
\r
97 > passed to the shell, even with double quotes.
\r
99 atext includes ' -- how inconvenient for shell's sake. Indeed, the
\r
100 "":s does noe disallog $var expansion, but avoids potential problems
\r
101 with ', |, & and ` (and smaller problems with ~, *, + and ?).
\r
102 Without ' allowed in msg-id writing arg between '':s in shell command
\r
103 line would have been convenient.
\r
105 Now that ":s are removed from the id: argument, maybe also '<' and
\r
106 ">" could be removed... (or was it xapian which handles this?)
\r
109 > [1] http://tools.ietf.org/html/rfc2822#section-3.6.4
\r