Ihor Radchenko writes:
> Johan Tolö writes:
>
>> If "* Top heading" is the first heading in the buffer with nothing
>> above it, not even a whitespace/newline, then '(org-entry-get nil
>> "id" t)' with point in "* Second heading" will return the id of
>> "Top heading". If there is anything
Johan Tolö writes:
> If "* Top heading" is the first heading in the buffer with nothing
> above it, not even a whitespace/newline, then '(org-entry-get nil
> "id" t)' with point in "* Second heading" will return the id of
> "Top heading". If there is anything before "Top heading" then
>
Ihor Radchenko writes:
I cannot reproduce on current main. Are you still seeing this
problem?
Yes I believe I am. Also, it does not seem to be an org-attach
issue but rather an issue with how org gets properties with
inheritance.
If "* Top heading" is the first heading in the buffer
Johan Tolö writes:
> Hi,
> I have set 'org-attach-use-inheritance' to t. If a heading has no
> parents it seems to inherit from the first heading in the file
> which has either the ID or DIR property set, ie from the first
> sibling above it. I'm guessing this is not the expected behaviour?
Hi,
I have set 'org-attach-use-inheritance' to t. If a heading has no
parents it seems to inherit from the first heading in the file
which has either the ID or DIR property set, ie from the first
sibling above it. I'm guessing this is not the expected behaviour?
Johan
--
Johan