From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cIKAANmj4mJsuAAAbAwnHQ (envelope-from ) for ; Thu, 28 Jul 2022 16:57:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +N5fANmj4mICtwAAauVa8A (envelope-from ) for ; Thu, 28 Jul 2022 16:57:29 +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 A043239FEF for ; Thu, 28 Jul 2022 16:57:28 +0200 (CEST) Received: from localhost ([::1]:49648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oH4x5-0004pu-8u for larch@yhetil.org; Thu, 28 Jul 2022 10:57:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH4vA-0003hA-Cy for emacs-orgmode@gnu.org; Thu, 28 Jul 2022 10:55:28 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:37695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oH4v8-0008Tb-RH for emacs-orgmode@gnu.org; Thu, 28 Jul 2022 10:55:28 -0400 Received: by mail-pl1-x62a.google.com with SMTP id d3so2017468pls.4 for ; Thu, 28 Jul 2022 07:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=19ml7i8pUwz6SMmFEByIIL4L+cSUK5/So63zEGoREA0=; b=mfQyFOt5hP8hF7t4BIkqPftduSSYARZqgYzE9KqPJCaMY0p/STvrcUJqUziboxLLPf epPGQPpUuMNKHzZT91YBR35SbYu8eiB5nDHgvnQklmvg2JawVL87Swt+aQXty7BYnj+o NID6pqG7VjcuGaKdpsjUDX8DIwPOPpQRZitauBCAQh18QrSvr/RCP0tWRwvPw+cqkuJ9 drmOA8U9hRqEgwQqt91ek3m7F8rPpmJ5faLrBeM00A1T8plFQ+r/bOKO9S0x5GvKY1VN CKLkrnsia5Vv8fM4W4uju+/nKiJ7otqi7DegHtn9peDMEdP+bb0iFD3gXgieMU0sZOk/ zLSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=19ml7i8pUwz6SMmFEByIIL4L+cSUK5/So63zEGoREA0=; b=hpwATB1p9L5pEDIeuVcOlbQZUwwLRGGheJNRtp7lmbNLy0CcomlItv9nMVkBR6lRcb w0kYz1sh94jZUFf7dxzTqIVqpalZbbJ1UwNNJo0DkVKgsafLE2Nh957q7O08vgh2G/QU b1AHhuH4Ujmd8AhX20y9cS3JIjCqHfQPvtTHr4D1hGsq7oBZCbD3IIlqrH3CIsRbLaak bkOCofPhQAyfsc7GnRCW4Y+HiSkqhQlZU9EmMZ+9I1BaVz6xI5qodVj/Tx1bFlzVb7Em gescAf+KyuvXYakQs/5BPzLnefpCZgPrwdNtCt3C1HtZ7BmAu5N/NRXf6dMomEww5TtB b2Ig== X-Gm-Message-State: AJIora+I50cuDaIRTsbuTsqZbrIIvwxBJPSTHbwk8agMdvjAhZ8WRO8m OY2oPKFU0yxPdjFWiYozhBE= X-Google-Smtp-Source: AGRyM1uvO3r7WfzpA+tor1oOrwtdp+GtOJq5jl4sEFSp4R77fZqh1e/ShtqzkvT1DIxBFf5tZg+4Tw== X-Received: by 2002:a17:90b:1c8c:b0:1f1:be0b:8903 with SMTP id oo12-20020a17090b1c8c00b001f1be0b8903mr10922770pjb.160.1659020125012; Thu, 28 Jul 2022 07:55:25 -0700 (PDT) Received: from localhost ([2409:8a70:217:4f80:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id l18-20020a17090ac59200b001f31776ccf3sm1182586pjt.12.2022.07.28.07.55.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 07:55:24 -0700 (PDT) From: Ihor Radchenko To: Christoph Grabenstein 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/)] In-Reply-To: References: Date: Thu, 28 Jul 2022 22:56:25 +0800 Message-ID: <877d3x9tgm.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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=1659020248; 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=19ml7i8pUwz6SMmFEByIIL4L+cSUK5/So63zEGoREA0=; b=AcMUp8xXKuYURdL0DBxPznJ5JYZopuXIX5gDGo13w6PtGSFgAXWLarivjfsGX7Ci2SygWs jF5rTF8xRx0/yX/Qb7gPfqXRNKjwbm6QEa7npHUQ8Al7dPgo3hBm1iUxALgnDGTBWNBig1 j3M7yd0aTCT8R75kFin8IVk/XRPIL5KD5DGllFnuEoKGaauq0rMFHYBIpO+CmF3GdQwPYP IvBt6QvGZr3xy5hL0Co4CoBtPrs1ow1PLi5wXE3TbFLP1nh9fg6VI0MfNZ3RqsOu7ifD1i ZhYCLOfXZacR1tv2y8qDvgVa8yd6Ew4hbai7/v78CEa1VfXlpKNbee4So4ccPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659020248; a=rsa-sha256; cv=none; b=cVSTYTG6t/GNFu1QUeBk47jWMEILLkCZ2hC7Gr1WA8fD4zqnapb315jx8rl0L+WUcLXaXq QBiggJgucn1Fg3Eaeka1QpJdERpSlywaaWz5J0NrGe8KeWAAjUzoG3TH11wF5csO4eVpyY iOEqaa2mvz3dzg8k7fgPO/YQFH1e5S5QeAdZ0fGuzj9c5Lf1IlvR1nQp/2znKJ19fafriW Tnt1/VKXULznNO1uNGjBPVQlS7wV+mumD1N4sheo51079JeKPR/JrWewdqn9X0iJDEF2FX PmRDBCN+O7WvZWqGW//ZQ1csy3nQlAdtn72/q/KggZNloaMDUcOezK4c/k5agQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mfQyFOt5; 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: -8.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mfQyFOt5; 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: A043239FEF X-Spam-Score: -8.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: IDUC6RHqo28d 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