From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sacha Chua Subject: Re: Counting number of children under heading Date: Fri, 18 Apr 2014 10:50:24 -0400 Message-ID: <86a9bi66a7.fsf@sachachua.com> References: <87bnw05n1r.fsf@bzg.ath.cx> <86vbu6rbdl.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbACE-0003Sv-0p for emacs-orgmode@gnu.org; Fri, 18 Apr 2014 10:55:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbAC7-0002mp-PO for emacs-orgmode@gnu.org; Fri, 18 Apr 2014 10:55:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:49365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbAC7-0002mX-Jm for emacs-orgmode@gnu.org; Fri, 18 Apr 2014 10:55:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WbABz-00022s-Ow for emacs-orgmode@gnu.org; Fri, 18 Apr 2014 16:55:03 +0200 Received: from 184.175.19.126 ([184.175.19.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Apr 2014 16:55:03 +0200 Received: from sacha by 184.175.19.126 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Apr 2014 16:55:03 +0200 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@gnu.org Sebastien Vauban writes: >>> I would like to automatically count the number of children under a >>> given heading. For example, I would like to have >>> * Cars (2) >>> ** BMW >>> ** Escort >> There is no such feature in Org, but I seem to remember someone >> hack something similar -- maybe someone else with a better memory >> can tell. > IIRC, Sacha Chua had made such a hack -- must be found on her impressive > blog. I don't remember doing something like that - I tend to use [X] for automatically counted cookies... Do you need the number of children to be part of the text, or is it okay for that to be temporarily displayed? Sacha