Aaron Jensen <aaronjen...@gmail.com> writes:

> Here is a backtrace. The package it mentions is my own:
> https://github.com/aaronjensen/emacs-orgonomic and
> https://github.com/Somelauw/evil-org-mode is mentioned too.

The mentions are ok. Backtrace should mention every command that
actually changes the buffer.

> Unregistered buffer modifications detected. Resetting.
> ...
>  Backtrace:
> "  backtrace-to-string(nil)
>   org-element--cache-sync(#<buffer 20211101-journal>)
>   apply(org-element--cache-sync #<buffer 20211101-journal>)
>   timer-event-handler([t 0 0 599999 nil org-element--cache-sync

> Backtrace:
>   org-element-cache diagnostics(20211101-journal): Nothing to remove.
> No elements in cache after 361. Terminating.

It looks like cache complete the synchronisation successfully, but some
command bypasses modification detection. Unfortunately, I cannot catch
the problematic command from backtrace. It acts "stealthily" for cache.
Is there a specific kind of edit sequence that you did right before the
warning appeared?

Best,
Ihor

Reply via email to