From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Subject: recursive todo/checkbox statistics Date: Mon, 18 May 2009 18:11:06 -0400 Message-ID: <2e177a690905181511r481a27d2vae3a5a9d05d473f1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6B3A-0006EC-BY for emacs-orgmode@gnu.org; Mon, 18 May 2009 18:11:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6B35-00064m-Nm for emacs-orgmode@gnu.org; Mon, 18 May 2009 18:11:11 -0400 Received: from [199.232.76.173] (port=40200 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6B35-00064c-KS for emacs-orgmode@gnu.org; Mon, 18 May 2009 18:11:07 -0400 Received: from mail-gx0-f176.google.com ([209.85.217.176]:45309) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6B35-00049R-6U for emacs-orgmode@gnu.org; Mon, 18 May 2009 18:11:07 -0400 Received: by gxk24 with SMTP id 24so7427233gxk.18 for ; Mon, 18 May 2009 15:11:06 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Hi, Forgive me if there is an obvious way to do this that I haven't found. Is there an easy way to calculate the total number of tasks for a file or a subtree? For example, if the checkbox/todo progress cookie would calculate the number of checkboxes/todos recursively for a subtree. so that this: * TODO heading 1 [1/3] ** DONE task A ** TODO task B ** TODO task C *** TODO task C1 *** TODO task C2 would be this instead: * TODO heading 1 [1/5] ** DONE task A ** TODO task B ** TODO task C *** TODO task C1 *** TODO task C2 I would be fine with any other solution as well, it was just that it seems closest to the checkbox/todo functionality. Thanks you, Alexander