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

2022-07-17 Thread Ihor Radchenko
Ihor Radchenko writes: >> valign-mode causes the problem. Try these steps to reproduce the problem : >> add-hook for valign and open a large org file, then try moving the mouse a >> few times,quickly TAB and SHIFT-TAB a few times. > > Thanks! I have opened an issue in valign repo: >

Re: Fwd: [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 Ihor Radchenko
imymorror wang writes: >>Now, it is confusing. I am unable to reproduce the warning on my side >>even with org-fragtog and valign installed. > > valign-mode causes the problem. Try these steps to reproduce the problem : > add-hook for valign and open a large org file, then try moving the mouse a

Re: Fwd: [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
>Now, it is confusing. I am unable to reproduce the warning on my side >even with org-fragtog and valign installed. valign-mode causes the problem. Try these steps to reproduce the problem : add-hook for valign and open a large org file, then try moving the mouse a few times,quickly TAB and

Re: Fwd: [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 try to reproduce the problem starting from clean Emacs state >(emacs -Q)? See https://orgmode.org/manual/Feedback.html thank you for reminding me to use this method. I found out why. package *valign-mode*(https://github.com/casouri/valign) causes the problem: (add-hook 'org-mode-hook

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,

Fwd: [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 uploaded all *emacs **current state* in recent e-mail . > Also, do you deliberately drop the CC to emacs-orgmode@gnu.org and prefer the conversation to be not public? sorry. I'm not good at email communication. This is my

Re: Fwd: [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: >> Can you share the values of change-major-mode-hook and org-mode-hook? > I uploaded all *emacs **current state* in recent e-mail . Sorry, I missed that. Unfortunately I do not see anything suspicious there. Now, it is confusing. I am unable to reproduce the warning on

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

[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 imymorror wang
- 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 - bug description - influence factor - a large org file : 11053 lines。1092 headlines。 - (setq