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://github.com/casouri/valign/issues/30
>
> This problem needs to be fixed on valign side.

After further investigation and discussions with Emacs devs, the issue
has been fixed on Org side.

Fixed.

Best,
Ihor



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
> few times,quickly TAB and SHIFT-TAB a few times.

Thanks! I have opened an issue in valign repo:
https://github.com/casouri/valign/issues/30

This problem needs to be fixed on valign side.

Best,
Ihor



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-TAB a few times.

Ihor Radchenko  于2022年5月21日周六 12:37写道:

> 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 my side
> even with org-fragtog and valign installed.
>
> Can you try to reproduce the problem starting from clean Emacs state
> (emacs -Q)? See https://orgmode.org/manual/Feedback.html
>
> >> 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.
>
> Just use "Reply All" in future.
>
> Best,
> Ihor
>


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 #'valign-mode)

If I don't add-hook for valign-mode, everything works fine.

Ihor Radchenko  于2022年5月21日周六 12:37写道:

> 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 my side
> even with org-fragtog and valign installed.
>
> Can you try to reproduce the problem starting from clean Emacs state
> (emacs -Q)? See https://orgmode.org/manual/Feedback.html
>
> >> 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.
>
> Just use "Reply All" in future.
>
> Best,
> Ihor
>


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 my side
even with org-fragtog and valign installed.

Can you try to reproduce the problem starting from clean Emacs state
(emacs -Q)? See https://orgmode.org/manual/Feedback.html

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

Just use "Reply All" in future.

Best,
Ihor