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: > https://githu

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 SHIFT-

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 #'

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 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 fi

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 m