From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: Counting number of children under heading Date: Sun, 20 Apr 2014 19:28:55 +0200 Message-ID: <86lhuzlxk8.fsf@somewhere.org> References: <87bnw05n1r.fsf@bzg.ath.cx> <86vbu6rbdl.fsf@somewhere.org> <86a9bi66a7.fsf@sachachua.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello Sacha, Sacha Chua wrote: > 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? Yes, I almost remembered what you wrote in http://sachachua.com/blog/2008/01/outlining-your-notes-with-org/, section "Getting a Sense of Progress". Still, it is about counting headlines, but with a special cookie you add. Best regards, Seb -- Sebastien Vauban