One thing that's still bugging me though is why the table would not hang with the older version of org-mode. As far as I can tell nothing has changed around tables between 9.5.2 and 9.5.4. Do you have any idea what could cause the difference in behaviour?
Thanks again, and best regards
Christoph Grabenstein <email@example.com> writes:
> org-table-insert-row hangs if evil-leader is installed.
> Steps to reproduce:
> 1. Install org-mode 9.5.4, evil and evil-leader, and enable evil-mode
> and global-evil-leader-mode.
> 2. Open or create an org file that has a table like that:
> | header | another header |
> 3. Place your cursor in the header and hit enter (in evil insert mode).
> 4. Emacs hangs in an endless loop, you will have to interrupt with C-g.
Thanks for reporting!
> - I'm not sure if this is an error on org's side or on evil's side. Please
> let me know if I should open a ticket for evil.
> - For more details see my question at the emacs stackexchange:
Thanks for the link. Extra information from the link allowed me to
narrow down the cause. The cause is in evil-mode.
evil-local-mode is run in temporary buffer, which is OK. What is not OK
is that evil-local-mode is altering the match data. It must not happen.
Please report this issue to evil devs.