* [BUG] org-element--cache: unregistered buffer modifications warning when using org-toggle-heading and org-toggle-item on lines beginning with capital letters [9.6 (9.6-??-d4e1925 @ /home/pete/.emacs.d/.local/straight/build-27.1/org/)]
@ 2021-11-27 23:00 Peter Williams
2021-11-28 10:27 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Peter Williams @ 2021-11-27 23:00 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 2342 bytes --]
This is my first time sending mail to the list so let me know if I
breach any convention.
I seem to be one of many people who have been having issues with
org-element--cache recently. I have been getting the messages quite
regularly in many different cases, but I finally pinpointed one of the
apparent causes: running org-toggle-heading, org-toggle-item, and
probably other org functions that modify the structure of the org document
on a line beginning with a capital letter from a language (not special
font/mathematical characters, but not limited to the Latin alphabet).
I expected to run org-toggle-heading, the line to be converted into a
heading, and no error messages to be thrown.
While the line was properly toggled into a heading, there was a cache
warning that said the following:
Warning (emacs): org-element--cache: Unregistered buffer modifications
detected. Resetting.
If this warning appears regularly, please report it to Org mode mailing
list (M-x org-submit-bug-report).
The buffer is: cachebug.org
Current command: nil
Backtrace:
" backtrace-to-string(nil)
org-element--cache-sync(#<buffer cachebug.org>)
apply(org-element--cache-sync #<buffer cachebug.org>)
timer-event-handler([t 0 0 599999 nil org-element--cache-sync (#<buffer
cachebug.org>) idle 999999])
"
Here are the contents of the buffer showing the things I tested.
------------------------------------------------------------------------
# Cause the Warning
S
R
Ξ
A
S2
X こ
T 漢字
Д
Ԋ
𐲱
Ѷ
# No Problems (= R= is single use)
𝞡
ℤ
/
s S
R
nA
漢字
2S
_W
/W
s
こ
2
@
_
------------------------------------------------------------------------
Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.20, cairo version 1.16.0)
of 2020-09-19
Package: Org mode version 9.6 (9.6-??-d4e1925 @
/home/pete/.emacs.d/.local/straight/build-27.1/org/)
current state:
I deleted all settings with no mention of 'cache' because my email client
seemed to be having issues with the length of my message.
==============
(setq
org-persist-before-write-hook '(org-element--cache-persist-before-write)
org-persist-before-read-hook '(org-element--cache-persist-before-read)
org-persist-after-read-hook '(org-element--cache-persist-after-read)
)
[-- Attachment #2: Type: text/html, Size: 2744 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-28 10:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-27 23:00 [BUG] org-element--cache: unregistered buffer modifications warning when using org-toggle-heading and org-toggle-item on lines beginning with capital letters [9.6 (9.6-??-d4e1925 @ /home/pete/.emacs.d/.local/straight/build-27.1/org/)] Peter Williams
2021-11-28 10:27 ` Ihor Radchenko
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.