Re: [BUG] org-element-cache: The inherited property is set wrong

2022-01-21 Thread Ihor Radchenko
Kaushal Modi writes: > I have also been seeing some issues when adding/modidying heading tags > (C-c C-q), and I was able to narrow it down to the element caching > mechanism. > > Issue: Org mode/Emacs hangs kind of indefinitely when I do C-c C-q, > but that doesn't happen each time. > > Once I

Re: [BUG] org-element-cache: The inherited property is set wrong

2022-01-21 Thread Ihor Radchenko
Anders Johansson writes: >> I don’t know if this is the best solution though. >> Perhaps this is needed also in org--get-local-tags where a similar >> thing is done? (but only the fontification seems to matter there) > > I now noted that this differed in Ihor's org-fold-universal-core > branch

Re: [BUG] org-element-cache: The inherited property is set wrong

2022-01-21 Thread Ihor Radchenko
Anders Johansson writes: > Hi, > I had some trouble with completing tags, where the already set tags > were wrongly identified. I have dug this down to a problem with > caching. > > with org-element-use-cache=t and org-use-tag-inheritance=t > --- Org > * headline 1 :tag1: > ** headline 2 :tag2:

Re: [BUG] org-element-cache: The inherited property is set wrong

2022-01-20 Thread Kaushal Modi
Hi Anders, I have also been seeing some issues when adding/modidying heading tags (C-c C-q), and I was able to narrow it down to the element caching mechanism. Issue: Org mode/Emacs hangs kind of indefinitely when I do C-c C-q, but that doesn't happen each time. Once I set org-element-use-cache

Re: [BUG] org-element-cache: The inherited property is set wrong

2022-01-20 Thread Anders Johansson
> I don’t know if this is the best solution though. > Perhaps this is needed also in org--get-local-tags where a similar > thing is done? (but only the fontification seems to matter there) I now noted that this differed in Ihor's org-fold-universal-core branch which I use and main (org-get-tags

[BUG] org-element-cache: The inherited property is set wrong

2022-01-20 Thread Anders Johansson
Hi, I had some trouble with completing tags, where the already set tags were wrongly identified. I have dug this down to a problem with caching. with org-element-use-cache=t and org-use-tag-inheritance=t --- Org * headline 1 :tag1: ** headline 2 :tag2: --- end org When invoking