* [PATCH] doc/sexp-queries: escape @ in non-verbatim text
@ 2022-04-28 23:46 David Bremner
2022-04-29 14:00 ` Tomi Ollila
2022-04-30 17:06 ` David Bremner
0 siblings, 2 replies; 3+ messages in thread
From: David Bremner @ 2022-04-28 23:46 UTC (permalink / raw)
To: notmuch
This prevents sphinx-doc from creating spurious mailto: links. Thanks
to Jakub Wilk for telling me about the fix.
---
doc/man7/notmuch-sexp-queries.rst | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/doc/man7/notmuch-sexp-queries.rst b/doc/man7/notmuch-sexp-queries.rst
index bc8e5086..0eb86734 100644
--- a/doc/man7/notmuch-sexp-queries.rst
+++ b/doc/man7/notmuch-sexp-queries.rst
@@ -230,11 +230,11 @@ EXAMPLES
``(folder (of (id 1234@invalid)))``
- Match any message in the same folder as the one with Message-Id "1234@invalid"
+ Match any message in the same folder as the one with Message-Id "1234\@invalid"
``(id 1234@invalid blah@test)``
- Matches Message-Id "1234@invalid" *or* Message-Id "blah@test"
+ Matches Message-Id "1234\@invalid" *or* Message-Id "blah\@test"
``(and (infix "date:2009-11-18..2009-11-18") (tag unread))``
@@ -260,18 +260,18 @@ EXAMPLES
``(thread (of (id 1234@invalid)))``
- Match any message in the same thread as the one with Message-Id "1234@invalid"
+ Match any message in the same thread as the one with Message-Id "1234\@invalid"
``(thread (matching (from bob@example.com) (to bob@example.com)))``
Match any (messages in) a thread containing a message from
- "bob@example.com" and a (possibly distinct) message to "bob at
+ "bob\@example.com" and a (possibly distinct) message to "bob at
example.com")
``(to (or bob@example.com mallory@example.org))`` ``(or (to bob@example.com) (to mallory@example.org))``
- Match in the "To" or "Cc" headers, "bob@example.com",
- "mallory@example.org", and also "bob@example.com.au" since it
+ Match in the "To" or "Cc" headers, "bob\@example.com",
+ "mallory\@example.org", and also "bob\@example.com.au" since it
contains the adjacent triple "bob", "example", "com".
``(not (to *))``
--
2.35.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] doc/sexp-queries: escape @ in non-verbatim text
2022-04-28 23:46 [PATCH] doc/sexp-queries: escape @ in non-verbatim text David Bremner
@ 2022-04-29 14:00 ` Tomi Ollila
2022-04-30 17:06 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: Tomi Ollila @ 2022-04-29 14:00 UTC (permalink / raw)
To: David Bremner, notmuch
On Thu, Apr 28 2022, David Bremner wrote:
> This prevents sphinx-doc from creating spurious mailto: links. Thanks
> to Jakub Wilk for telling me about the fix.
looks trivial to me
> ---
> doc/man7/notmuch-sexp-queries.rst | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/doc/man7/notmuch-sexp-queries.rst b/doc/man7/notmuch-sexp-queries.rst
> index bc8e5086..0eb86734 100644
> --- a/doc/man7/notmuch-sexp-queries.rst
> +++ b/doc/man7/notmuch-sexp-queries.rst
> @@ -230,11 +230,11 @@ EXAMPLES
>
> ``(folder (of (id 1234@invalid)))``
>
> - Match any message in the same folder as the one with Message-Id "1234@invalid"
> + Match any message in the same folder as the one with Message-Id "1234\@invalid"
>
> ``(id 1234@invalid blah@test)``
>
> - Matches Message-Id "1234@invalid" *or* Message-Id "blah@test"
> + Matches Message-Id "1234\@invalid" *or* Message-Id "blah\@test"
>
> ``(and (infix "date:2009-11-18..2009-11-18") (tag unread))``
>
> @@ -260,18 +260,18 @@ EXAMPLES
>
> ``(thread (of (id 1234@invalid)))``
>
> - Match any message in the same thread as the one with Message-Id "1234@invalid"
> + Match any message in the same thread as the one with Message-Id "1234\@invalid"
>
> ``(thread (matching (from bob@example.com) (to bob@example.com)))``
>
> Match any (messages in) a thread containing a message from
> - "bob@example.com" and a (possibly distinct) message to "bob at
> + "bob\@example.com" and a (possibly distinct) message to "bob at
> example.com")
>
> ``(to (or bob@example.com mallory@example.org))`` ``(or (to bob@example.com) (to mallory@example.org))``
>
> - Match in the "To" or "Cc" headers, "bob@example.com",
> - "mallory@example.org", and also "bob@example.com.au" since it
> + Match in the "To" or "Cc" headers, "bob\@example.com",
> + "mallory\@example.org", and also "bob\@example.com.au" since it
> contains the adjacent triple "bob", "example", "com".
>
> ``(not (to *))``
> --
> 2.35.2
>
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] doc/sexp-queries: escape @ in non-verbatim text
2022-04-28 23:46 [PATCH] doc/sexp-queries: escape @ in non-verbatim text David Bremner
2022-04-29 14:00 ` Tomi Ollila
@ 2022-04-30 17:06 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2022-04-30 17:06 UTC (permalink / raw)
To: notmuch
David Bremner <david@tethera.net> writes:
> This prevents sphinx-doc from creating spurious mailto: links. Thanks
> to Jakub Wilk for telling me about the fix.
applied to master.
d
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-30 17:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28 23:46 [PATCH] doc/sexp-queries: escape @ in non-verbatim text David Bremner
2022-04-29 14:00 ` Tomi Ollila
2022-04-30 17:06 ` 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).