emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to compute the number of headlines under the given headline?
@ 2015-01-31 12:47 Marcin Borkowski
  2015-01-31 14:37 ` John Kitchin
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2015-01-31 12:47 UTC (permalink / raw)
  To: Org-Mode mailing list

Hello,

I'd like to count the number of children (alternatively, number of all
descendants) of an Org headline.  Is there a ready-made function for
that?  If not, would using org-forward-heading-same-level and similar
functions in Lisp code be a good idea?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-01 20:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-31 12:47 How to compute the number of headlines under the given headline? Marcin Borkowski
2015-01-31 14:37 ` John Kitchin
2015-01-31 17:47   ` Nicolas Goaziou
2015-02-01 20:44     ` John Kitchin

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).