emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] after-todo-statistics hook for checkboxes


From: James Harkins
Subject: Re: [O] after-todo-statistics hook for checkboxes
Date: Sat, 18 Oct 2014 10:21:51 +0800
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Fri, 17 Oct 2014 22:22:20 +0200,
Nicolas Goaziou wrote:
> 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.

Thanks for clarifying. I hadn't understood that distinction.

It occurred to me, after I sent my last e-mail, that someone might want one 
action after updating todo statistics and a different action after updating 
checkbox statistics. Using the same hook for both wouldn't be correct in that 
case.

So let me update my issue report/feature request:

-- If there is a hook to do something after updating todo statistics, then it 
would make sense to have a hook for updating checkbox statistics as well. That 
hook should be called with the same arguments (n-done n-not-done) so that the 
user could use one function for both, if desired.

I can do this pretty easily and update the documentation. I don't have FSF 
papers signed, but I'm willing to get that ball rolling as well.

But before spending any time on that, I want to ask if this is okay. I 
understand the objection against pressing org-after-todo-statistics-hook into 
service for checkboxes. If there's an objection against simply *having* a hook 
for checkboxes, I'm afraid I don't understand that.

Thanks for your patience,
hjh





reply via email to

[Prev in Thread] Current Thread [Next in Thread]