[when i say repeatable, i don't mean that i can start a new emacs and repeat it. i just mean that if i don't revert the buffer or change it.
On Sat, Dec 27, 2025 at 9:04 PM Samuel Wales <[email protected]> wrote: > > thanks. so it sounds like the adaptive fill function stuff might be > related to the jit-lock stuff? > > in the past i have gone back and forth with turning off the cache. it > is off now. > > no warnings yet. > > idk if related, but i am still getting folding glitches upon m-ret in > a list. repeatable, but only in a specific context that cannot be > pared down and shared. > > On Fri, Dec 26, 2025 at 9:13 AM Ihor Radchenko <[email protected]> wrote: > > > > Samuel Wales <[email protected]> writes: > > > > > that this could cause buffer corruption was new to me and gives this > > > more urgency. could the error message be changed to point this out? > > > > To be fair, corruption is very unlikely. > > > > > in bugfix on bookworm backports emacs, i get various errors and > > > glitches relatively frequently, but i do not have a recipe for repro, > > > just a combination of packages that is related to a big subset of the > > > bugs. > > > > > > folding is a frequent trigger. visual line is frequently in the bt. > > > manual filling with m-q is not a frequent trigger. > > > > > i also get glitches in folding that do not produce errors. > > > > > > i am limited in computer use. i have not been able to try a different > > > version of org or emacs. compiling a new emacs is not feasible. i > > > used to use org master [now main], but scaled back to maint [now > > > bugfix] for reducing impact. > > > > Given your circumstances, I recommend > > (setq org-element-use-cache nil) > > This will likely get rid of many errors. > > If not, please let me know. > > > > > i can also offer the observation that many [but definitely not all] > > > seem related to jit-lock, and among those, most [but not all] seem > > > related to the [superb] combination as follows: > > > (auto-fill-mode -1) > > > > This is the default, so not unique to you. > > > > > (visual-line-fill-column-mode +1) > > > > AFAIK, this just changes the fringes - should not cause problems. > > > > > (visual-wrap-prefix-mode +1) > > > > This one might theoretically do something, yes. It calls > > adaptive-fill-function frequently that triggers Org parser. > > > > -- > > Ihor Radchenko // yantar92, > > Org mode maintainer, > > 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> > > > > -- > The Kafka Pandemic > > A blog about science, health, human rights, and misopathy: > https://thekafkapandemic.blogspot.com -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com
