emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Sharon Kimble <boudiccas@skimble09.plus.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-element-cache [9.5.4 (release_9.5.4-766-gf3f60e @ /home/boudiccas/git/org-mode/lisp/)]
Date: Sun, 04 Sep 2022 21:48:20 +0800	[thread overview]
Message-ID: <87bkrvxnbv.fsf@localhost> (raw)
In-Reply-To: <87tu5n2rry.fsf@skimble09.plus.com>

Sharon Kimble <boudiccas@skimble09.plus.com> writes:

>> Could you please add
>>
>> (setq org-element--cache-self-verify 'backtrace
>>       org-element--cache-self-verify-frequency 1.0)
>>
>> to your config and then try to reproduce the issue.
>> Then, report the backtrace.
>
> As follows but rather long I'm afraid.

Thanks! It is supposed to be that long. 

From the logs, I can see that you have some kind of hook that is running
before saving(?) buffer. That hook is doing something under
(with-silent-modifications ...) and hence Org caching code is missing
some buffer modifications.

Can you please check if you are using some third-party package that are
modifying the buffer on save?

-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92


  reply	other threads:[~2022-09-04 13:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-04 10:21 [BUG] org-element-cache [9.5.4 (release_9.5.4-766-gf3f60e @ /home/boudiccas/git/org-mode/lisp/)] Sharon Kimble
2022-09-04 10:46 ` Ihor Radchenko
2022-09-04 13:28   ` Sharon Kimble
2022-09-04 13:48     ` Ihor Radchenko [this message]
2022-09-04 15:38       ` Sharon Kimble
2022-09-04 15:58         ` Ihor Radchenko
2022-09-04 16:47           ` Sharon Kimble
2022-09-05  6:50             ` Ihor Radchenko

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bkrvxnbv.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=boudiccas@skimble09.plus.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).