emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Ihor Radchenko
Subject: Re: [BUG] org-element-cache: The inherited property is set wrong
Date: Fri, 21 Jan 2022 19:54:25 +0800

Anders Johansson <mejlaandersj@gmail.com> 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:
> --- end org
>
> ...
> A solution that seems to work for me was to change
>  (cl-copy-list cached-tags)
> to
> (mapcar #'copy-sequence cached-tags)

Fixed.

Thanks for the detailed analysis and the solution! I have seen this bug
myself in the past, but was not able to reproduce reliably.

Best,
Ihor



reply via email to

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