From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OCAoOXPx5GKoSgEAbAwnHQ (envelope-from ) for ; Sat, 30 Jul 2022 10:53:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SIMeOXPx5GK/WwEA9RJhRA (envelope-from ) for ; Sat, 30 Jul 2022 10:53:07 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7149E12BF7 for ; Sat, 30 Jul 2022 10:53:07 +0200 (CEST) Received: from localhost ([::1]:46130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHiDa-00013A-Kk for larch@yhetil.org; Sat, 30 Jul 2022 04:53:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHiCb-00011y-1j for emacs-orgmode@gnu.org; Sat, 30 Jul 2022 04:52:05 -0400 Received: from mail-vk1-xa35.google.com ([2607:f8b0:4864:20::a35]:44757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHiCZ-0004Qg-0a for emacs-orgmode@gnu.org; Sat, 30 Jul 2022 04:52:04 -0400 Received: by mail-vk1-xa35.google.com with SMTP id x184so460105vka.11 for ; Sat, 30 Jul 2022 01:52:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=nkPNQjIWw/LBXdUG6FtZNXTQACTOkUs28i50nSh+6FE=; b=WVQtBRxjcxi/RXBgTNwHbY0q1EI4gYKOkY2ArjxCXQ/h2Dq6KB4neavqze+aWa/Mgb xWxACzFs7zAoGIiSi5ij9YTvJLtxUKpmsn0/Kx+hsRncr+xvEou+gyMV/4W20OkKWVJD O/o3p37ZUXZ1WgY5w7sb6au0qHiQzY7DtLpJ44J6l1F51Xz/P1HcDPsaZJuoKU8T4ZUq nyVFVBmc92bcJxiXqDkw8yGXJmJFTq1293//3O98k0sg5CJKi1aYDh0IBKVfzkpTAC/4 /dO9lCJCiV7TFwprXLa9JRUXVLbUiaucktbIiZxVTjBPAGpLXqjD3PmBCQXLRUx8e3jj 2nQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=nkPNQjIWw/LBXdUG6FtZNXTQACTOkUs28i50nSh+6FE=; b=GWPeSEalOMtJe4FgLQoDX0Y7O9xP/Kkqn4RlLhI16D1piixe6PSU4SjjAfruf2rD7w 7j+/wdFMfja5J7FUjmRtAiSXY10gsQXxSkd7f6nGrJ258LOKfP8zPEvZ4UxhYW+H9ec/ uurAvY4bbkAnOh2HTOqkU5g869JFTAu1AnIXErhD7WJTD/wf7Af6ZdlVpEdc1D4uliM8 9MV9oi96Rcq3kEl7DJHUSm8wFf/otOqj2eoDKyBU77dmCoTkMERISN50agovaf0nwDTm ImlHGMQG4BwD9etOR5zIl6chHjEdskoEFi1xrO/MRTTmTotQ0anvXstnVIzoaTi1BRCQ AeIA== X-Gm-Message-State: AJIora9px16Aqp39yLnBaAM/hSDLSfiKlPVIwG62eLXbRY6NZEbQdI3a /O6VEhCb83xzaLvyBe+HDXup+M3GlISBZ4P371MyGXGA X-Google-Smtp-Source: AGRyM1s8nS17d8hAlE/4ukgxtwRad2nJUW7Kg60lKKuH68pcCAvKW5fNSy3FEoNGuBnUcjVuXyge/1/hq/Xcodqa9pY= X-Received: by 2002:a1f:ce07:0:b0:376:bb9:f8e1 with SMTP id e7-20020a1fce07000000b003760bb9f8e1mr3011533vkg.15.1659171121294; Sat, 30 Jul 2022 01:52:01 -0700 (PDT) MIME-Version: 1.0 References: <877d3x9tgm.fsf@localhost> In-Reply-To: <877d3x9tgm.fsf@localhost> From: Christoph Grabenstein Date: Sat, 30 Jul 2022 10:51:49 +0200 Message-ID: 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/)] To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000004e739005e501e1a3" Received-SPF: pass client-ip=2607:f8b0:4864:20::a35; envelope-from=christoph.grabenstein@gmail.com; helo=mail-vk1-xa35.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659171187; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nkPNQjIWw/LBXdUG6FtZNXTQACTOkUs28i50nSh+6FE=; b=h/cyfjniKfh0j1OjH1gM/vcNr0jAe7iidB6UN04J9SkeViuYtqqnlOe1X0WMlnh/TiUJ2t 6exqCnz2GKmYZ6V46aqcjXiFoyPGVTazk/7p7y+GdVEnGTTJ2QHHJwYBA5TFMLtu4a98mi ayBAdASWYUZV2dpX7I0mEVUZTM614V5cjMooZaQJ6eXa1DIhVDJPye7QE4yy68LvCXBGIu Rpl0xJ+t3x1WOIJxF+W7oaTHbbH2hqclNmADT2fKK+s5cTWIECCsebyLWAXQcspKK9nFRD 4O+o5ytgfuE7q6xnzMEmMm54kssY+J2M8kbFxVM8bNU83sZ3MowNMbdaS+4KLA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659171187; a=rsa-sha256; cv=none; b=BvrC9zIquFnykl2FfU/2LFUjYodv5DFjsN2muyehUJAq8/K1TwwNsQocuMAAB3vntQ53/s QLjF1rs2Yexdb7ZBotmzINxleFFDYiMMWcUe2mXFWvez6yis3VHG2uS9gauhO5Lsl4AXjS sX6e4o24ltGAy+Gw/zMpBOw7iBTThvxERnczwt/N/mKz/kFqx2hX9tz9xat689yXb7JGU4 a+HrwBbebz4sSwZS03L4CbTsbO61EdjSs2rmH9Mbz6BlumVLCe+zEEWPlYjcJ+7ZAh1bKT vNO5kTxXMPr32vbO9ySgn61M8BkzVezb1f0HHL5fr8dkuGfANQH9lyDnKqoWDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WVQtBRxj; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WVQtBRxj; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7149E12BF7 X-Spam-Score: -3.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: TY/4xfdUaDoC --0000000000004e739005e501e1a3 Content-Type: text/plain; charset="UTF-8" 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, wrote: > Christoph Grabenstein 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 > --0000000000004e739005e501e1a3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Ihor,

thanks for your reply, and thanks for further debugging the issue. I c= reated an issue for evil here:=C2=A0https://github.com/emacs-evil/evil/issues/1642. Fee= l free to add some more details to my report.=C2=A0
=
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 y= ou have any idea what could cause the difference in behaviour?=C2=A0
<= div dir=3D"auto">
Thanks again, and best regards=

Christoph


=
On Thu, 28= Jul 2022, 16:55 Ihor Radchenko, <= yantar92@gmail.com> wrote:
C= hristoph Grabenstein <christoph.grabenstein@gmail.com&g= t; 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<= br> > 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= 9;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
--0000000000004e739005e501e1a3--