From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Counting number of children under heading Date: Thu, 17 Apr 2014 11:42:38 +0200 Message-ID: <87zjjke1gx.fsf@gmail.com> References: <87bnw05n1r.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Waiov-0005bl-AP for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 05:41:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Waioq-0000ba-69 for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 05:41:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:49163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Waiop-0000bM-Vz for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 05:41:20 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Waioo-0003fo-6s for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 11:41:18 +0200 Received: from g231227027.adsl.alicedsl.de ([92.231.227.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Apr 2014 11:41:18 +0200 Received: from tjolitz by g231227027.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Apr 2014 11:41:18 +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 Bastien writes: > Hi Marvin, > > Marvin Doyley 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. Not the same thing (because its about "weight" (= number of hidden lines) when folded, but somehow related: Org Weights (by Francois Pinard): ,-------------------------------------- | https://github.com/pinard/org-weights `-------------------------------------- Org Hidden Line Cookies (by me): ,-------------------------------- | https://github.com/tj64/org-hlc `-------------------------------- -- cheers, Thorsten