From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Counting TODO entries in subtree Date: Mon, 11 Jun 2012 14:26:11 +0530 Message-ID: <20120611085611.GA18821@panahar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se0S9-0006Nf-BC for emacs-orgmode@gnu.org; Mon, 11 Jun 2012 04:58:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Se0S4-0003g9-GZ for emacs-orgmode@gnu.org; Mon, 11 Jun 2012 04:58:24 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:36031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se0S4-0003fX-Ae for emacs-orgmode@gnu.org; Mon, 11 Jun 2012 04:58:20 -0400 Received: by pbbrp2 with SMTP id rp2so5809966pbb.0 for ; Mon, 11 Jun 2012 01:58:17 -0700 (PDT) Content-Disposition: inline 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: emacs-orgmode I would like to insert a statistics cookie to count TODO entries in a subtree but I would like it to count only in a specified number of levels of headings (say, up to two headings below the heading where the cookie is inserted and exclude children below the second level). Is that possible? Vikas