Re: [PATCH] fixup for hex encoding desription in notmuch-tag.1
authorJani Nikula <jani@nikula.org>
Sat, 15 Dec 2012 23:10:38 +0000 (01:10 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:52:21 +0000 (09:52 -0800)
2b/ba82a51e54dc5f05d40218f7ffa6e5955b4522 [new file with mode: 0644]

diff --git a/2b/ba82a51e54dc5f05d40218f7ffa6e5955b4522 b/2b/ba82a51e54dc5f05d40218f7ffa6e5955b4522
new file mode 100644 (file)
index 0000000..b2e9e51
--- /dev/null
@@ -0,0 +1,126 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 5813C431FBC\r
+       for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 15:10:45 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id iQ5TJJWC1zII for <notmuch@notmuchmail.org>;\r
+       Sat, 15 Dec 2012 15:10:44 -0800 (PST)\r
+Received: from mail-la0-f53.google.com (mail-la0-f53.google.com\r
+       [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 9E1B6431FB6\r
+       for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 15:10:44 -0800 (PST)\r
+Received: by mail-la0-f53.google.com with SMTP id w12so3667606lag.26\r
+       for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 15:10:41 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
+       :message-id:mime-version:content-type:x-gm-message-state;\r
+       bh=2NmrvSr26yim3w78IMS5lap1505McKDCxUmS4d5OXM8=;\r
+       b=LkE+3YCkyWB7n4DGdbN6RY826TBFWfPTjtuBBViwh7uzwAm4w6qS06Rpm57jmc3FOA\r
+       3s8flXA+1KR02UXMTK7NP2AnA0EICJnGbEc7llZzi+HLet6LJTwpPSOcUNU5JVaVWzvp\r
+       GrS0PAPimX7/PXJDkrHBAxcpXF3U8wx8CsJzW68EDK9LIdmXkb6okRNwkQUzFFItbWoe\r
+       kAmTE1/vDPEmNrYR+ftJGfsbtri/BU0nE82XO00H96NPAqq3FqduCqiB41yp5JaucO3U\r
+       a5MgNPfL825YS08GF0Q2Hg4fk5lfgNyGsQxRP+zAc1bLzqtqUjoIjVlZrRlSWo+DlYrb\r
+       6KMQ==\r
+Received: by 10.112.42.161 with SMTP id p1mr3957429lbl.88.1355613041816;\r
+       Sat, 15 Dec 2012 15:10:41 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.\r
+       [80.223.81.27])\r
+       by mx.google.com with ESMTPS id so7sm3231071lab.0.2012.12.15.15.10.39\r
+       (version=SSLv3 cipher=OTHER); Sat, 15 Dec 2012 15:10:40 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: david@tethera.net, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] fixup for hex encoding desription in notmuch-tag.1\r
+In-Reply-To: <1355602150-5299-1-git-send-email-david@tethera.net>\r
+References: <8762435ei4.fsf@zancas.localnet>\r
+       <1355602150-5299-1-git-send-email-david@tethera.net>\r
+User-Agent: Notmuch/0.14+138~g7041c56 (http://notmuchmail.org) Emacs/23.4.1\r
+       (i686-pc-linux-gnu)\r
+Date: Sun, 16 Dec 2012 01:10:38 +0200\r
+Message-ID: <87sj76q5ch.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Gm-Message-State:\r
+ ALoCoQnzzaLv+vezKlaSxLR6R8+49qHVSibotWp8zFy+/GdGrlrSABzu6+3zYATLz2LU2W4md+sp\r
+Cc: David Bremner <bremner@debian.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 15 Dec 2012 23:10:45 -0000\r
+\r
+On Sat, 15 Dec 2012, david@tethera.net wrote:\r
+> From: David Bremner <bremner@debian.org>\r
+>\r
+> ---\r
+> and here is the updated description.\r
+>\r
+>  man/man1/notmuch-tag.1 |   19 ++++++++++++++-----\r
+>  1 file changed, 14 insertions(+), 5 deletions(-)\r
+>\r
+> diff --git a/man/man1/notmuch-tag.1 b/man/man1/notmuch-tag.1\r
+> index ac2c8d7..a203f53 100644\r
+> --- a/man/man1/notmuch-tag.1\r
+> +++ b/man/man1/notmuch-tag.1\r
+> @@ -67,13 +67,22 @@ The input must consist of lines of the format:\r
+>  Each line is interpreted similarly to\r
+>  .B notmuch tag\r
+>  command line arguments. The delimiter is one or more spaces ' '. Any\r
+> -characters in <tag> and <search-term>\r
+> +characters in\r
+> +.RI < tag >\r
+> +and\r
+> +.RI < search-term >\r
+>  .B may\r
+> -be hex encoded with %NN where NN is the hexadecimal value of the\r
+> -character. Any ' ' and '%' characters in <tag> and <search-terms>\r
+> +be hex-encoded with %NN where NN is the hexadecimal value of the\r
+> +character (more precisely with %NN[%MM...] where NN, MM, etc... are\r
+> +the hexadecimal values of the bytes in the UTF-8 encoding of\r
+> +the character).  Any characters in <tag> and <search-term> not\r
+> +matching the regex\r
+> +.B [A-Za-z0-9@=.,_+-]\r
+\r
+And this actually means you can't have "id:foo" there, as : needs to be\r
+encoded. Not user friendly at all. If it should really mean : is okay\r
+un-encoded as prefix delimiter but not otherwise... it gets a bit messy\r
+to document.\r
+\r
+BR,\r
+Jani.\r
+\r
+>  .B must\r
+> -be hex encoded (using %20 and %25, respectively). Any characters that\r
+> -are not part of <tag> or <search-terms>\r
+> +be hex-encoded. Any characters that are not part of\r
+> +.RI  < tag >\r
+> +or\r
+> +.RI < search-term >\r
+>  .B must not\r
+>  be hex encoded.\r
+>  \r
+> -- \r
+> 1.7.10.4\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r