unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] man: escape backslash in notmuch-tag example
@ 2014-02-15  3:24 David Bremner
  2014-02-23 12:59 ` David Bremner
  0 siblings, 1 reply; 3+ messages in thread
From: David Bremner @ 2014-02-15  3:24 UTC (permalink / raw)
  To: notmuch

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.
---
 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..be12614 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\\ -- tag:"space in tags"
 +match*crazy -- tag:crazy{
 +some_tag -- id:"this is ""nauty)"""
 .fi
-- 
1.8.5.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] man: escape backslash in notmuch-tag example
  2014-02-15  3:24 [PATCH] man: escape backslash in notmuch-tag example David Bremner
@ 2014-02-23 12:59 ` David Bremner
  2014-02-26  1:04   ` David Bremner
  0 siblings, 1 reply; 3+ messages in thread
From: David Bremner @ 2014-02-23 12:59 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] man: escape backslash in notmuch-tag example
  2014-02-23 12:59 ` David Bremner
@ 2014-02-26  1:04   ` David Bremner
  0 siblings, 0 replies; 3+ messages in thread
From: David Bremner @ 2014-02-26  1:04 UTC (permalink / raw)
  To: notmuch

David Bremner <david@tethera.net> writes:
>
> 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.

pushed this second version, although hopefully it will soon be obsolete.

d

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-26  1:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-15  3:24 [PATCH] man: escape backslash in notmuch-tag example David Bremner
2014-02-23 12:59 ` David Bremner
2014-02-26  1:04   ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).