unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] doc: make post-new hook description more precise
@ 2022-02-11 16:56 inwit
  2022-02-11 16:56 ` [PATCH] doc: make post-hook " inwit
  2022-02-11 17:43 ` [PATCH] doc: make post-new hook " David Bremner
  0 siblings, 2 replies; 3+ messages in thread
From: inwit @ 2022-02-11 16:56 UTC (permalink / raw)
  To: notmuch


Add the word "any" to the description of post-new hook description in order to clarify that it is always run, even if there are no new messages.

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

* [PATCH] doc: make post-hook description more precise
  2022-02-11 16:56 [PATCH] doc: make post-new hook description more precise inwit
@ 2022-02-11 16:56 ` inwit
  2022-02-11 17:43 ` [PATCH] doc: make post-new hook " David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: inwit @ 2022-02-11 16:56 UTC (permalink / raw)
  To: notmuch; +Cc: inwit

---
 doc/man5/notmuch-hooks.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/man5/notmuch-hooks.rst b/doc/man5/notmuch-hooks.rst
index 0ab5efbc..6b78cee0 100644
--- a/doc/man5/notmuch-hooks.rst
+++ b/doc/man5/notmuch-hooks.rst
@@ -30,9 +30,9 @@ pre-new
 
 post-new
     This hook is invoked by the :any:`notmuch-new(1)` command after
-    new messages have been imported into the database and initial tags
-    have been applied. The hook will not be run if there have been any
-    errors during the scan or import.
+    any new messages have been imported into the database and initial 
+    tags have been applied. The hook will not be run if there have
+    been any errors during the scan or import.
 
     Typically this hook is used to perform additional query-based
     tagging on the imported messages.
-- 
2.32.0

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

* Re: [PATCH] doc: make post-new hook description more precise
  2022-02-11 16:56 [PATCH] doc: make post-new hook description more precise inwit
  2022-02-11 16:56 ` [PATCH] doc: make post-hook " inwit
@ 2022-02-11 17:43 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2022-02-11 17:43 UTC (permalink / raw)
  To: inwit, notmuch

inwit <inwit@sindominio.net> writes:

> Add the word "any" to the description of post-new hook description in order to clarify that it is always run, even if there are no new messages.
>
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org

Smashed these two messages together and applied to master.

d

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

end of thread, other threads:[~2022-02-11 17:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-11 16:56 [PATCH] doc: make post-new hook description more precise inwit
2022-02-11 16:56 ` [PATCH] doc: make post-hook " inwit
2022-02-11 17:43 ` [PATCH] doc: make post-new hook " 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).