From: Ihor Radchenko <yantar92@gmail.com>
To: Christoph Grabenstein <christoph.grabenstein@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-mode 9.5.4 with evil-leader leads to endless loop in table [9.5.4 (9.5.4-g6013cb1 @ /Users/cgrabenstein/.emacs.d/straight/build/org/)]
Date: Thu, 28 Jul 2022 22:56:25 +0800 [thread overview]
Message-ID: <877d3x9tgm.fsf@localhost> (raw)
In-Reply-To: <CAEZx7GyOunD9z5VhTGpPiLoRZs+zyqpbs9bJzsdGLsddypePzQ@mail.gmail.com>
Christoph Grabenstein <christoph.grabenstein@gmail.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:
> https://emacs.stackexchange.com/questions/72769/org-mode-tables-slowed-down-by-evil-mode
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.
Best,
Ihor
next prev parent reply other threads:[~2022-07-28 14:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-27 18:45 [BUG] org-mode 9.5.4 with evil-leader leads to endless loop in table [9.5.4 (9.5.4-g6013cb1 @ /Users/cgrabenstein/.emacs.d/straight/build/org/)] Christoph Grabenstein
2022-07-28 14:56 ` Ihor Radchenko [this message]
2022-07-30 8:51 ` Christoph Grabenstein
2022-07-30 8:56 ` Ihor Radchenko
2022-07-30 9:14 ` Christoph Grabenstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877d3x9tgm.fsf@localhost \
--to=yantar92@gmail.com \
--cc=christoph.grabenstein@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).