unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 1/2] doc/sexp-queries: fix example
@ 2022-04-30 17:23 David Bremner
  2022-04-30 17:23 ` [PATCH 2/2] doc/sexp-queries: be more consistent about ending example text David Bremner
  2022-05-05 14:07 ` [PATCH 1/2] doc/sexp-queries: fix example David Bremner
  0 siblings, 2 replies; 3+ messages in thread
From: David Bremner @ 2022-04-30 17:23 UTC (permalink / raw)
  To: notmuch

Update the explanatory text to match the query.
---
 doc/man7/notmuch-sexp-queries.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/man7/notmuch-sexp-queries.rst b/doc/man7/notmuch-sexp-queries.rst
index 0eb86734..a20943c6 100644
--- a/doc/man7/notmuch-sexp-queries.rst
+++ b/doc/man7/notmuch-sexp-queries.rst
@@ -265,8 +265,8 @@ EXAMPLES
 ``(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
-    example.com")
+    "bob\@example.com" and a (possibly distinct) message to
+    "bob\@example.com"
 
 ``(to (or bob@example.com mallory@example.org))`` ``(or (to bob@example.com) (to mallory@example.org))``
 
-- 
2.35.2

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

* [PATCH 2/2] doc/sexp-queries: be more consistent about ending example text
  2022-04-30 17:23 [PATCH 1/2] doc/sexp-queries: fix example David Bremner
@ 2022-04-30 17:23 ` David Bremner
  2022-05-05 14:07 ` [PATCH 1/2] doc/sexp-queries: fix example David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2022-04-30 17:23 UTC (permalink / raw)
  To: notmuch

Most, but not all of the the explanatory texts already end in
'.'. This makes the remainder match.
---
 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 a20943c6..1d7e0ae9 100644
--- a/doc/man7/notmuch-sexp-queries.rst
+++ b/doc/man7/notmuch-sexp-queries.rst
@@ -221,7 +221,7 @@ EXAMPLES
 
 ``(not Bob Marley)``
 
-    Match messages containing neither "Bob" nor "Marley", nor their stems,
+    Match messages containing neither "Bob" nor "Marley", nor their stems.
 
 ``"quick fox"`` ``quick-fox`` ``quick@fox``
 
@@ -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,13 +260,13 @@ 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\@example.com"
+    "bob\@example.com".
 
 ``(to (or bob@example.com mallory@example.org))`` ``(or (to bob@example.com) (to mallory@example.org))``
 
@@ -281,7 +281,7 @@ EXAMPLES
 ``(List *)``
 
     Match messages with a non-empty List-Id header, assuming
-    configuration ``index.header.List=List-Id``
+    configuration ``index.header.List=List-Id``.
 
 .. _macro_examples:
 
-- 
2.35.2

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

* Re: [PATCH 1/2] doc/sexp-queries: fix example
  2022-04-30 17:23 [PATCH 1/2] doc/sexp-queries: fix example David Bremner
  2022-04-30 17:23 ` [PATCH 2/2] doc/sexp-queries: be more consistent about ending example text David Bremner
@ 2022-05-05 14:07 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2022-05-05 14:07 UTC (permalink / raw)
  To: notmuch

David Bremner <david@tethera.net> writes:

> Update the explanatory text to match the query.

series applied to master.

d

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

end of thread, other threads:[~2022-05-05 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-30 17:23 [PATCH 1/2] doc/sexp-queries: fix example David Bremner
2022-04-30 17:23 ` [PATCH 2/2] doc/sexp-queries: be more consistent about ending example text David Bremner
2022-05-05 14:07 ` [PATCH 1/2] doc/sexp-queries: fix example 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).