emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] understanding the function outline-level


From: Michael Brand
Subject: Re: [O] understanding the function outline-level
Date: Thu, 9 Jun 2011 09:04:55 +0200

On Tue, Jun 7, 2011 at 20:33, Niels Giesen <address@hidden> wrote:
> Some prodding about led me to believe the searching in
> `outline-back-to-heading' is your suspect (but I have not investigated
> this further). At least
>
> (progn
>  (outline-back-to-heading)
>  (outline-level))
>
> Returns a reasonable answer each time I run it.

Aha, yes this is what I was missing. I thought that o*-back-to-heading
is only to ensure that point is at the right place and that this could
be emulated by manually moving point, before calling outline-level.
Now I understand that there is more. Thank you all for the
explanations.

With this help I was able to track down the buglet for which I will
send a patch in a moment.

Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]