Re: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected"

2022-05-21 Thread imymorror wang
> Can you share the values of change-major-mode-hook and org-mode-hook? I search change-major-mode-hook and org-mode-hook by C-h v(describe-variable). the result is ``` change-major-mode-hook is a variable defined in ‘C source code’. Its value is (font-lock-change-mode t) Local in buffer *Help*;

Re: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected"

2022-05-21 Thread imymorror wang
sorry. I sent a false message yesterday。I try again today. even upgrade to Org mode version 9.5.3 (9.5.3-g277897), The problem still exists. But I find out something new。you can see my *conclusion*. And I send all my emacs org state. - desktop environment - GNU Emacs 29.0.50 (build 2,

Re: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected"

2022-05-20 Thread Ihor Radchenko
imymorror wang writes: > - if keeping org-startup-folded defaul value(i.e "showeverything") , > enable org-indent-mode , open the large org file, get a warning, but not > get stuck: >#+begin_quote >Warning (org-element-cache): org-element--cache: Unregistered buffer >

Re: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected"

2022-05-17 Thread Ihor Radchenko
imymorror wang writes: >> *Can you please share the exact output of M-x org-version?If you really >> see 9.5.1, then you likely have a "mixed" Org installationwith some code in >> your init file first loading built-in Org mode andthen loading the newer >> version. Such state can cause all kinds

Re: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected"

2022-05-17 Thread Ihor Radchenko
William Denton writes: > I'm also having problems like this with large files. I haven't been able to > narrow it down but I'll try what you say about org-startup-folded. > > Do you also have a problem where sometimes TAB or SHIFT-TAB on a heading has > no > effect? Some Org files seem to

Re: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected"

2022-05-17 Thread Ihor Radchenko
imymorror wang writes: > - desktop environment > - GNU Emacs 29.0.50 (build 2, x86_64-apple-darwin20.4.0, NS > appkit-2022.44 Version 11.3.1 (Build 20E241)) of 2022-01-08 > - Org mode version 9.5.1 Thanks for reporting! Can you please share the exact output of M-x org-version? If you

Re: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected"

2022-05-17 Thread William Denton
I'm also having problems like this with large files. I haven't been able to narrow it down but I'll try what you say about org-startup-folded. Do you also have a problem where sometimes TAB or SHIFT-TAB on a heading has no effect? Some Org files seem to get broken after editing them for a