From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 wH29LDw+iGN0gAEAbAwnHQ (envelope-from ) for ; Thu, 01 Dec 2022 06:40:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8anNKzw+iGPBjAAAG6o9tA (envelope-from ) for ; Thu, 01 Dec 2022 06:40:12 +0100 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 408E32DF87 for ; Thu, 1 Dec 2022 06:40:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0cI4-0004Eq-7k; Thu, 01 Dec 2022 00:39:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0cI3-0004Ei-D7 for emacs-orgmode@gnu.org; Thu, 01 Dec 2022 00:39:19 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0cI1-0004z9-8T for emacs-orgmode@gnu.org; Thu, 01 Dec 2022 00:39:19 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id ED9A0240101 for ; Thu, 1 Dec 2022 06:39:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1669873151; bh=DaeDNKoNjJMKSSubRzViJWH6eBmj+pUmn4NhzlV0g9E=; h=From:To:Cc:Subject:Date:From; b=O4V0vatgAfAccVy6JuCNG5qviHu8JFx3RQfNppef+XInqGwVQmNjKaZ/qbQJsM/5v 17xmicqBpKLTNr08tVqDwwYOGijZ8zUHVmu2Icj0tokTIkOHoM9GWzSSl7o8TyPR0I 1qtCwPxINbj9/YFodT8euchl5vtViK83FawxNscpwUTZ23eUZ4y3XDXrIitMQMapGH TmFSRRUm34/zMqGiwTVS71yGSVCkHulMDjv24KBSIm0H+3kjSUCtX335k5VUPVcMDg 9ek5hB9ybifjqTOx6ohG16cPEiQFLYLTcrfy4v/Msv6vI25xNydftgJNZkly5fPzXM /FW8cW6ZJm1YA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NN4d91jZ5z6tmG; Thu, 1 Dec 2022 06:39:09 +0100 (CET) From: Ihor Radchenko To: Lin Sun Cc: "emacs-orgmode@gnu.org" Subject: Re: [BUG] dead loop on (org-table-clean-line "|a|b|") [9.6 (release_9.6-3-ga4d38e @ share/emacs/29.0.60/lisp/org/)] In-Reply-To: References: Date: Thu, 01 Dec 2022 05:39:49 +0000 Message-ID: <874juf3cnu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669873212; 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=2HR/p0I9ExdBfzmPTJHZl5d+lhOh1EliyFhDr16MZ5s=; b=XFJVK8oV4st0Fs93XkaD1w2hCyzYGywQ4r3TfPveGZUnVsD6Ti1l0TuU+TpuP/T4nOvQtz TGoGNa1IUiZLRLF7qjFt4shOabg2Y2i6R3kYe1bIi1kRsM+8ru4/L2gFnL5e9veH7O361/ ZApFHzvYRsbVPANDu6cWwEmvw8qYgCt5NzMZIcJXdAfSSjZuDTQo31BQvbQIqJyw5wbxIO bWm65GolNDBXt3rlvHkvC5Xi+216ChCC7f1hdZB9UxvbzwnqoY74NFA3W7h9OpEWWzYg8V XHf1P6XCB8oqJWQTP5pEtOlIvzW5aMSgNUS7XgB8g6tcN2Te/rZe2Q7kiIZ9xg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669873212; a=rsa-sha256; cv=none; b=HG+lnvhu9h/ZFyVwxw2RmKZ5rHTqX8cu9xjBYsRltaX24KoBKhoN3mooWtCUuDvGOrch9I Eq9QMIZLdCR8jFnaybxa80jVjYaKqSDJ5dmJbFndro+4Cd4tZY5/W1WXrcTf0M7w59n9dM +iFhwBvW+IuAlJ7/gQv1Iu7b2/DCMJkI9UR/mTH6KB4yvINph/ij/PjPoEGvr0G6kEyA6Z tDa+2l46C0wGVcmRJKWyzjp9mkDVnSysp4ZvR7bIF16Wy+tkvyu4M4dlWiK1j95ak2o9nb Fnyt24ot0t07wydrGXy2e20wMzMjmqA1q/FPI+3hEilxBROreLCpEp/fwQdndw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=O4V0vatg; dmarc=pass (policy=none) header.from=posteo.net; 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: -4.26 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=O4V0vatg; dmarc=pass (policy=none) header.from=posteo.net; 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: 408E32DF87 X-Spam-Score: -4.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: j7jaiVdfXJY2 Lin Sun writes: > The emacs builtin org-mode will stuck after try to expand the table with Tab on a table column. > After investigate, I found the function org-table-clean-line will run into dead loop for a simply call: > > (org-table-clean-line "|a|b|") > > Please help to fix this function. Thanks. I cannot reproduce. Can you please provide detailed steps starting from emacs -Q? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at