emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christoph Grabenstein <christoph.grabenstein@gmail.com>
To: Ihor Radchenko <yantar92@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: Sat, 30 Jul 2022 10:51:49 +0200	[thread overview]
Message-ID: <CAEZx7GwYmzLRQOwhN7ibW_OJPiT4snpC08mDKiPmYwVcW1Amgg@mail.gmail.com> (raw)
In-Reply-To: <877d3x9tgm.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 1770 bytes --]

Hello Ihor,

thanks for your reply, and thanks for further debugging the issue. I
created an issue for evil here:
https://github.com/emacs-evil/evil/issues/1642. Feel free to add some more
details to my report.

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


On Thu, 28 Jul 2022, 16:55 Ihor Radchenko, <yantar92@gmail.com> wrote:

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

[-- Attachment #2: Type: text/html, Size: 2690 bytes --]

  reply	other threads:[~2022-07-30  8:53 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
2022-07-30  8:51   ` Christoph Grabenstein [this message]
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=CAEZx7GwYmzLRQOwhN7ibW_OJPiT4snpC08mDKiPmYwVcW1Amgg@mail.gmail.com \
    --to=christoph.grabenstein@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    /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).