From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: after-todo-statistics hook for checkboxes Date: Thu, 16 Oct 2014 18:39:46 +0200 Message-ID: <87tx342ckt.fsf@nicolasgoaziou.fr> References: <87a94xk2ts.wl-jamshark70@qq.com> <20141015213843.6003d235@hjh-e431> <877g014fbp.fsf@nicolasgoaziou.fr> <1491662d440.27cd.0bb60a3c7e492ea180363c67eb170725@qq.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xeo4z-0000jZ-HR for emacs-orgmode@gnu.org; Thu, 16 Oct 2014 12:39:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xeo4s-0000lO-N6 for emacs-orgmode@gnu.org; Thu, 16 Oct 2014 12:39:09 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:33892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xeo4s-0000lB-GZ for emacs-orgmode@gnu.org; Thu, 16 Oct 2014 12:39:02 -0400 In-Reply-To: <1491662d440.27cd.0bb60a3c7e492ea180363c67eb170725@qq.com> (James Harkins's message of "Thu, 16 Oct 2014 09:01:08 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: James Harkins Cc: emacs-orgmode@gnu.org James Harkins 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