From: David Bremner Date: Sun, 23 Feb 2014 12:59:20 +0000 (+2000) Subject: [PATCH] man: escape backslash in notmuch-tag example X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ce950185fab75e20eed8a62e4d6362e6ebf9473e;p=notmuch-archives.git [PATCH] man: escape backslash in notmuch-tag example --- diff --git a/20/9a98efbdca7a8f9ca25b3f306d266fd83f694b b/20/9a98efbdca7a8f9ca25b3f306d266fd83f694b new file mode 100644 index 000000000..bf4748a28 --- /dev/null +++ b/20/9a98efbdca7a8f9ca25b3f306d266fd83f694b @@ -0,0 +1,78 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 04D44431FCF + for ; Sun, 23 Feb 2014 04:59:40 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.001 +X-Spam-Level: +X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 + tests=[WEIRD_QUOTING=0.001] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id WEgZOBqwgsGV for ; + Sun, 23 Feb 2014 04:59:35 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 3F26F431FAF + for ; Sun, 23 Feb 2014 04:59:35 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1WHYea-0006NT-0Y; Sun, 23 Feb 2014 08:59:32 -0400 +Received: (nullmailer pid 2843 invoked by uid 1000); Sun, 23 Feb 2014 + 12:59:28 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: [PATCH] man: escape backslash in notmuch-tag example +Date: Sun, 23 Feb 2014 08:59:20 -0400 +Message-Id: <1393160360-2690-1-git-send-email-david@tethera.net> +X-Mailer: git-send-email 1.8.5.3 +In-Reply-To: <1392434698-2271-1-git-send-email-david@tethera.net> +References: <1392434698-2271-1-git-send-email-david@tethera.net> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 23 Feb 2014 12:59:40 -0000 + +The example was originally intended to have a literal backslash in it, but +'\ ' is interpreted by nroff as a non-breaking space. + +It doesn't make much difference to the example, but the non-breaking +space triggers a bug in doclifter. +--- + +Tomi sortof convinced me on IRC that \e was a better choice that \\. I +also looked at the groff manual, but that mostly encouraged me to work +more on converting to something other than *roff. + + man/man1/notmuch-tag.1 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/man/man1/notmuch-tag.1 b/man/man1/notmuch-tag.1 +index 710fae6..f4fb1f3 100644 +--- a/man/man1/notmuch-tag.1 ++++ b/man/man1/notmuch-tag.1 +@@ -126,7 +126,7 @@ of the tag + + +space%20in%20tags -- Two + # add tag '(tags)', among other stunts. +-+crazy{ +(tags) +&are +#possible\ -- tag:"space in tags" +++crazy{ +(tags) +&are +#possible\e -- tag:"space in tags" + +match*crazy -- tag:crazy{ + +some_tag -- id:"this is ""nauty)""" + .fi +-- +1.8.5.3 +