I have troube understanding what you mean.
An outline heading looks like this
*** heading
If the cursor is at the first character of that line, org-outline-level
will return 3.
I want `3' _independently_ of on which column the cursor is on that line and
therefore use (save-excursion (beginn
On Oct 14, 2009, at 8:19 AM, Michael Brand wrote:
There is something more with org-outline-level in org-version
6.31a which I still don't understand because I am not aware of
some functions used in its implementation. I drilled down the
quite special situation to the following file content
Here I am lost and would like some help. I was not able to find out
how to determine if the cursor is on a line with an outline heading or
not.
I think you can use the function org-on-heading-p to determine if you
are on a heading or not.
Thank you, exactly what I have missed.
__
Michael Brand writes:
> Here I am lost and would like some help. I was not able to find out
> how to determine if the cursor is on a line with an outline heading or
> not.
I think you can use the function org-on-heading-p to determine if you
are on a heading or not.
HTH
-Bernt
___
There is something more with org-outline-level in org-version 6.31a
which I still don't understand because I am not aware of some
functions used in its implementation. I drilled down the quite special
situation to the following file content. I hope that the indentation
of x by three spaces does
On Oct 12, 2009, at 10:00 PM, Michael Brand wrote:
I wonder how the function org-outline-level is intended to work.
Should it show the outline level or count the stars like in org-
version 6.31a and one has to take into account `odd' himself to
get the outline level when implementing own st
I wonder how the function org-outline-level is intended to work.
Should it show the outline level or count the stars like in
org-version 6.31a and one has to take into account `odd' himself to
get the outline level when implementing own stuff which use e. g. the
function org-shifttab?
org-out
On Oct 12, 2009, at 9:24 AM, Michael Brand wrote:
Thank you for the fix of the function org-shifttab in org-version
6.31a.
I wonder how the function org-outline-level is intended to work.
Should it show the outline level or count the stars like in org-
version 6.31a and one has to take in
Thank you for the fix of the function org-shifttab in org-version 6.31a.
I wonder how the function org-outline-level is intended to work. Should it show
the outline level or count the stars like in org-version 6.31a and one has to
take into account `odd' himself to get the outline level when im