emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Counting number of children under heading
Date: Sun, 20 Apr 2014 19:28:55 +0200	[thread overview]
Message-ID: <86lhuzlxk8.fsf@somewhere.org> (raw)
In-Reply-To: 86a9bi66a7.fsf@sachachua.com

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

  reply	other threads:[~2014-04-20 17:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-17  9:15 Counting number of children under heading Marvin Doyley
2014-04-17  9:21 ` Bastien
2014-04-17  9:42   ` Thorsten Jolitz
2014-04-18 13:54   ` Sebastien Vauban
2014-04-18 14:50     ` Sacha Chua
2014-04-20 17:28       ` Sebastien Vauban [this message]
2014-04-21  2:55         ` Sacha Chua
2014-04-17 10:55 ` Eric Abrahamsen
2014-04-17 12:02   ` Thorsten Jolitz
2014-04-17 13:10     ` Eric Abrahamsen
  -- strict thread matches above, loose matches on Subject: below --
2014-04-17 13:44 Marvin Doyley
2014-04-17 14:43 ` Thorsten Jolitz
2014-04-17 16:21 Doyley, Marvin M.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86lhuzlxk8.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).