Austin Frank <[EMAIL PROTECTED]> writes: > Would it be possible to add a command that does counts the number of > headlines at a particular level in a region or a buffer?
May I ask why do you need this? Knowing about the context of use for such a function would help figure out how to write it. If you just need to know the number of headlines occasionnally, then: C-c C-x b will open an indirect buffer M-x occur "^\*+ " will find all headlines But I guess you need to re-use the output of such a function somehow. -- Bastien _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode