From: Ihor Radchenko <yantar92@gmail.com>
To: Anders Johansson <mejlaandersj@gmail.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: [BUG] org-element-cache: The inherited property is set wrong
Date: Fri, 21 Jan 2022 19:54:25 +0800 [thread overview]
Message-ID: <87y239z4lq.fsf@localhost> (raw)
In-Reply-To: <CAKJdtO_O4-pmhattRF3M=QFtWG-S8qbOGYX2bY6LOjkefzBXyQ@mail.gmail.com>
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
prev parent reply other threads:[~2022-01-21 11:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-20 11:42 [BUG] org-element-cache: The inherited property is set wrong Anders Johansson
2022-01-20 13:34 ` Anders Johansson
2022-01-21 11:56 ` Ihor Radchenko
2022-01-20 18:16 ` Kaushal Modi
2022-01-21 11:58 ` Ihor Radchenko
2022-01-21 14:50 ` org-element-cache: org-set-tags (C-c C-q) makes Emacs unresponsive at times Kaushal Modi
2022-01-21 11:54 ` Ihor Radchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y239z4lq.fsf@localhost \
--to=yantar92@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mejlaandersj@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.