unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomi Ollila <tomi.ollila@iki.fi>
To: Daniel Schoepe <daniel@schoepe.org>, notmuch@notmuchmail.org
Subject: Re: [PATCH] Fix documentation for notmuch--tag-hook functions
Date: Wed, 17 Jun 2015 01:11:38 +0300	[thread overview]
Message-ID: <m24mm7mhgl.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <1434491240-31023-1-git-send-email-daniel@schoepe.org>

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

  reply	other threads:[~2015-06-16 22:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-16 21:47 [PATCH] Fix documentation for notmuch--tag-hook functions Daniel Schoepe
2015-06-16 22:11 ` Tomi Ollila [this message]
2015-06-30 19:41 ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m24mm7mhgl.fsf@guru.guru-group.fi \
    --to=tomi.ollila@iki.fi \
    --cc=daniel@schoepe.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).