Re: [PATCH] org-attach-use-inheritance inherits from sibling

2022-01-15 Thread Ihor Radchenko
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

[PATCH] org-attach-use-inheritance inherits from sibling

2021-10-03 Thread Ihor Radchenko
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 >

Re: org-attach-use-inheritance inherits from sibling

2021-10-03 Thread Johan Tolö
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

Re: org-attach-use-inheritance inherits from sibling

2021-10-01 Thread Ihor Radchenko
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?

org-attach-use-inheritance inherits from sibling

2021-09-06 Thread Johan Tolö
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