James Harkins <jamshar...@qq.com> writes: > I do think this issue qualifies as a bug (albeit minor). The real > behavior deviates from the documentation (in a way that's difficult to > justify logically). IMO it should be fixed, or the documentation > should explain that the after todo statistics hook doesn't work for > checkboxes without "require"ing org-checklist.
Using "org-checklist.el" was just a suggestion. `org-todo-statistics-hook' is used for TODO (i.e. headlines) and `org-checkbox-statistics-hook' is used for checkboxes (i.e. lists). I see no bug here (although they aren't called with the same arguments, but that's another story). Regards, -- Nicolas Goaziou