Re: [PATCH] doc: add minimal note about shared options.
[notmuch-archives.git] / 2b / ba82a51e54dc5f05d40218f7ffa6e5955b4522
1 Return-Path: <jani@nikula.org>\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 5813C431FBC\r
6         for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 15:10:45 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \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 iQ5TJJWC1zII for <notmuch@notmuchmail.org>;\r
16         Sat, 15 Dec 2012 15:10:44 -0800 (PST)\r
17 Received: from mail-la0-f53.google.com (mail-la0-f53.google.com\r
18         [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 9E1B6431FB6\r
21         for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 15:10:44 -0800 (PST)\r
22 Received: by mail-la0-f53.google.com with SMTP id w12so3667606lag.26\r
23         for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 15:10:41 -0800 (PST)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=google.com; s=20120113;\r
26         h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
27         :message-id:mime-version:content-type:x-gm-message-state;\r
28         bh=2NmrvSr26yim3w78IMS5lap1505McKDCxUmS4d5OXM8=;\r
29         b=LkE+3YCkyWB7n4DGdbN6RY826TBFWfPTjtuBBViwh7uzwAm4w6qS06Rpm57jmc3FOA\r
30         3s8flXA+1KR02UXMTK7NP2AnA0EICJnGbEc7llZzi+HLet6LJTwpPSOcUNU5JVaVWzvp\r
31         GrS0PAPimX7/PXJDkrHBAxcpXF3U8wx8CsJzW68EDK9LIdmXkb6okRNwkQUzFFItbWoe\r
32         kAmTE1/vDPEmNrYR+ftJGfsbtri/BU0nE82XO00H96NPAqq3FqduCqiB41yp5JaucO3U\r
33         a5MgNPfL825YS08GF0Q2Hg4fk5lfgNyGsQxRP+zAc1bLzqtqUjoIjVlZrRlSWo+DlYrb\r
34         6KMQ==\r
35 Received: by 10.112.42.161 with SMTP id p1mr3957429lbl.88.1355613041816;\r
36         Sat, 15 Dec 2012 15:10:41 -0800 (PST)\r
37 Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.\r
38         [80.223.81.27])\r
39         by mx.google.com with ESMTPS id so7sm3231071lab.0.2012.12.15.15.10.39\r
40         (version=SSLv3 cipher=OTHER); Sat, 15 Dec 2012 15:10:40 -0800 (PST)\r
41 From: Jani Nikula <jani@nikula.org>\r
42 To: david@tethera.net, notmuch@notmuchmail.org\r
43 Subject: Re: [PATCH] fixup for hex encoding desription in notmuch-tag.1\r
44 In-Reply-To: <1355602150-5299-1-git-send-email-david@tethera.net>\r
45 References: <8762435ei4.fsf@zancas.localnet>\r
46         <1355602150-5299-1-git-send-email-david@tethera.net>\r
47 User-Agent: Notmuch/0.14+138~g7041c56 (http://notmuchmail.org) Emacs/23.4.1\r
48         (i686-pc-linux-gnu)\r
49 Date: Sun, 16 Dec 2012 01:10:38 +0200\r
50 Message-ID: <87sj76q5ch.fsf@nikula.org>\r
51 MIME-Version: 1.0\r
52 Content-Type: text/plain; charset=us-ascii\r
53 X-Gm-Message-State:\r
54  ALoCoQnzzaLv+vezKlaSxLR6R8+49qHVSibotWp8zFy+/GdGrlrSABzu6+3zYATLz2LU2W4md+sp\r
55 Cc: David Bremner <bremner@debian.org>\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Sat, 15 Dec 2012 23:10:45 -0000\r
69 \r
70 On Sat, 15 Dec 2012, david@tethera.net wrote:\r
71 > From: David Bremner <bremner@debian.org>\r
72 >\r
73 > ---\r
74 > and here is the updated description.\r
75 >\r
76 >  man/man1/notmuch-tag.1 |   19 ++++++++++++++-----\r
77 >  1 file changed, 14 insertions(+), 5 deletions(-)\r
78 >\r
79 > diff --git a/man/man1/notmuch-tag.1 b/man/man1/notmuch-tag.1\r
80 > index ac2c8d7..a203f53 100644\r
81 > --- a/man/man1/notmuch-tag.1\r
82 > +++ b/man/man1/notmuch-tag.1\r
83 > @@ -67,13 +67,22 @@ The input must consist of lines of the format:\r
84 >  Each line is interpreted similarly to\r
85 >  .B notmuch tag\r
86 >  command line arguments. The delimiter is one or more spaces ' '. Any\r
87 > -characters in <tag> and <search-term>\r
88 > +characters in\r
89 > +.RI < tag >\r
90 > +and\r
91 > +.RI < search-term >\r
92 >  .B may\r
93 > -be hex encoded with %NN where NN is the hexadecimal value of the\r
94 > -character. Any ' ' and '%' characters in <tag> and <search-terms>\r
95 > +be hex-encoded with %NN where NN is the hexadecimal value of the\r
96 > +character (more precisely with %NN[%MM...] where NN, MM, etc... are\r
97 > +the hexadecimal values of the bytes in the UTF-8 encoding of\r
98 > +the character).  Any characters in <tag> and <search-term> not\r
99 > +matching the regex\r
100 > +.B [A-Za-z0-9@=.,_+-]\r
101 \r
102 And this actually means you can't have "id:foo" there, as : needs to be\r
103 encoded. Not user friendly at all. If it should really mean : is okay\r
104 un-encoded as prefix delimiter but not otherwise... it gets a bit messy\r
105 to document.\r
106 \r
107 BR,\r
108 Jani.\r
109 \r
110 >  .B must\r
111 > -be hex encoded (using %20 and %25, respectively). Any characters that\r
112 > -are not part of <tag> or <search-terms>\r
113 > +be hex-encoded. Any characters that are not part of\r
114 > +.RI  < tag >\r
115 > +or\r
116 > +.RI < search-term >\r
117 >  .B must not\r
118 >  be hex encoded.\r
119 >  \r
120 > -- \r
121 > 1.7.10.4\r
122 >\r
123 > _______________________________________________\r
124 > notmuch mailing list\r
125 > notmuch@notmuchmail.org\r
126 > http://notmuchmail.org/mailman/listinfo/notmuch\r