From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: James Harkins <jamshark70@qq.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: after-todo-statistics hook for checkboxes
Date: Fri, 17 Oct 2014 22:22:20 +0200 [thread overview]
Message-ID: <87r3y61m6b.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87a94vegzv.wl-jamshark70@qq.com> (James Harkins's message of "Fri, 17 Oct 2014 07:23:32 +0800")
Hello,
James Harkins <jamshark70@qq.com> writes:
> I'm sorry to be a pest, but I did get sent on a wild goose chase by
> what is either a/ faulty behavior or b/ a faulty docstring. The
> docstring of org-after-todo-statistics-hook says: "Hook that is called
> after a TODO statistics cookie has been updated." Well, that isn't
> true. Changing a checkbox updates a stats cookie, and the hook is
> *not* called.
This is because checkboxes (plain lists) are not related to TODO
keywords (headlines). There are TODO statistics cookies and checkbox
statistics cookies. Only the former run a hook once updated.
> And it took more than an hour to figure that out. So,
> for the sake of users dealing with this in the future, let's at least
> fix the docstring then.
Please provide a patch if you think a docstring can be improved.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2014-10-17 20:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-15 11:08 after-todo-statistics hook for checkboxes James Harkins
2014-10-15 13:38 ` James Harkins
2014-10-15 13:45 ` Nicolas Goaziou
[not found] ` <1491661ce88.27cd.0bb60a3c7e492ea180363c67eb170725@qq.com>
2014-10-16 1:01 ` James Harkins
2014-10-16 16:39 ` Nicolas Goaziou
2014-10-16 23:23 ` James Harkins
2014-10-17 20:22 ` Nicolas Goaziou [this message]
2014-10-18 2:21 ` James Harkins
2014-10-18 7:31 ` Nicolas Goaziou
2014-10-20 12:46 ` Bastien
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://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r3y61m6b.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=jamshark70@qq.com \
/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://git.savannah.gnu.org/cgit/emacs/org-mode.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).