[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] FR: count headlines at a level in a region
From: |
Bastien |
Subject: |
Re: [Orgmode] FR: count headlines at a level in a region |
Date: |
Mon, 12 Nov 2007 06:36:45 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) |
Austin Frank <address@hidden> 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