> 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 first attempt to submit a bug report to Emacs. Maybe I could add CC to  emacs-orgmode@gnu.org on the recent email that shows all my emacs current state info.

---------- Forwarded message ---------
发件人: Ihor Radchenko <yantar92@gmail.com>
Date: 2022年5月21日周六 09:33
Subject: Re: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected"
To: imymorror wang <jagger.wangzg.2019@gmail.com>



imymorror wang <jagger.wangzg.2019@gmail.com> writes:

> sorry . the whole warning text is (twice):
> #+begin_quote
> Warning (org-element-cache): org-element--cache: Unregistered buffer
> modifications detected. Resetting.
> If this warning appears regularly, please report the warning text to Org
> mode mailing list (M-x org-submit-bug-report).
> The buffer is: 20220404203228-2022_04_04_20_29_emacs_outline_emacs.org
>  Current command: (next-line 14194 14229)
>  Chars modified: 14194
>  Buffer modified: 14229
>  Backtrace:
> nil Disable showing Disable logging

Thanks!
It appears that something is editing the buffer either before or after
loading Org mode.

Can you share the values of change-major-mode-hook and org-mode-hook?

Also, do you deliberately drop the CC to emacs-orgmode@gnu.org and
prefer the conversation to be not public?

Best,
Ihor