unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] Fix documentation for notmuch--tag-hook functions
@ 2015-06-16 21:47 Daniel Schoepe
  2015-06-16 22:11 ` Tomi Ollila
  2015-06-30 19:41 ` David Bremner
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Schoepe @ 2015-06-16 21:47 UTC (permalink / raw)
  To: notmuch

The second argument to notmuch-tag is now called tag-changes, but the
documentation for notmuch-before-tag-hook and notmuch-after-tag-hook
still used the old argument name `tags'. This resulted in broken hooks
when following the documentation.
---
 emacs/notmuch-tag.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el
index f54aa9d..c7f62c9 100644
--- a/emacs/notmuch-tag.el
+++ b/emacs/notmuch-tag.el
@@ -265,7 +265,7 @@ changed (the normal case) are shown using formats from
 (defcustom notmuch-before-tag-hook nil
   "Hooks that are run before tags of a message are modified.
 
-'tags' will contain the tags that are about to be added or removed as
+'tag-changes' will contain the tags that are about to be added or removed as
 a list of strings of the form \"+TAG\" or \"-TAG\".
 'query' will be a string containing the search query that determines
 the messages that are about to be tagged"
@@ -277,7 +277,7 @@ the messages that are about to be tagged"
 (defcustom notmuch-after-tag-hook nil
   "Hooks that are run after tags of a message are modified.
 
-'tags' will contain the tags that were added or removed as
+'tag-changes' will contain the tags that were added or removed as
 a list of strings of the form \"+TAG\" or \"-TAG\".
 'query' will be a string containing the search query that determines
 the messages that were tagged"
-- 
2.4.3

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

* Re: [PATCH] Fix documentation for notmuch--tag-hook functions
  2015-06-16 21:47 [PATCH] Fix documentation for notmuch--tag-hook functions Daniel Schoepe
@ 2015-06-16 22:11 ` Tomi Ollila
  2015-06-30 19:41 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: Tomi Ollila @ 2015-06-16 22:11 UTC (permalink / raw)
  To: Daniel Schoepe, notmuch

On Wed, Jun 17 2015, Daniel Schoepe <daniel@schoepe.org> wrote:

> The second argument to notmuch-tag is now called tag-changes, but the
> documentation for notmuch-before-tag-hook and notmuch-after-tag-hook
> still used the old argument name `tags'. This resulted in broken hooks
> when following the documentation.

LGTM.

Tomi

> ---
>  emacs/notmuch-tag.el | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el
> index f54aa9d..c7f62c9 100644
> --- a/emacs/notmuch-tag.el
> +++ b/emacs/notmuch-tag.el
> @@ -265,7 +265,7 @@ changed (the normal case) are shown using formats from
>  (defcustom notmuch-before-tag-hook nil
>    "Hooks that are run before tags of a message are modified.
>  
> -'tags' will contain the tags that are about to be added or removed as
> +'tag-changes' will contain the tags that are about to be added or removed as
>  a list of strings of the form \"+TAG\" or \"-TAG\".
>  'query' will be a string containing the search query that determines
>  the messages that are about to be tagged"
> @@ -277,7 +277,7 @@ the messages that are about to be tagged"
>  (defcustom notmuch-after-tag-hook nil
>    "Hooks that are run after tags of a message are modified.
>  
> -'tags' will contain the tags that were added or removed as
> +'tag-changes' will contain the tags that were added or removed as
>  a list of strings of the form \"+TAG\" or \"-TAG\".
>  'query' will be a string containing the search query that determines
>  the messages that were tagged"
> -- 
> 2.4.3
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

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

* Re: [PATCH] Fix documentation for notmuch--tag-hook functions
  2015-06-16 21:47 [PATCH] Fix documentation for notmuch--tag-hook functions Daniel Schoepe
  2015-06-16 22:11 ` Tomi Ollila
@ 2015-06-30 19:41 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2015-06-30 19:41 UTC (permalink / raw)
  To: Daniel Schoepe, notmuch

Daniel Schoepe <daniel@schoepe.org> writes:

> The second argument to notmuch-tag is now called tag-changes, but the
> documentation for notmuch-before-tag-hook and notmuch-after-tag-hook
> still used the old argument name `tags'. This resulted in broken hooks
> when following the documentation.

pushed, thanks.

d

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

end of thread, other threads:[~2015-06-30 19:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-16 21:47 [PATCH] Fix documentation for notmuch--tag-hook functions Daniel Schoepe
2015-06-16 22:11 ` Tomi Ollila
2015-06-30 19:41 ` 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).