From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 6DMrNjt8imNMEAAAbAwnHQ (envelope-from ) for ; Fri, 02 Dec 2022 23:29:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WNsTNjt8imONhwAA9RJhRA (envelope-from ) for ; Fri, 02 Dec 2022 23:29:15 +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 76D082FA45 for ; Fri, 2 Dec 2022 23:29:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1EVs-0002T4-KS; Fri, 02 Dec 2022 17:28:08 -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 1p1EVq-0002Sd-MY for emacs-orgmode@gnu.org; Fri, 02 Dec 2022 17:28:06 -0500 Received: from mail-os0jpn01olkn2042.outbound.protection.outlook.com ([40.92.98.42] helo=JPN01-OS0-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1EVo-0002yG-BA for emacs-orgmode@gnu.org; Fri, 02 Dec 2022 17:28:06 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LMjsRQESoVvf+Nkio2rGSFR+N+QJoK1AcihkG3aASxuW7jeLtES6Em+dp01E7xfZar4Z9L2qdBCUItuYOhXAHaHCwBMzeTfyM6GXT515K5OsnJljxcOPYgX6eSgZa+xDVHt1+myMR/zy8OiZuhgYeg/l2SNWUzM34RSiV9pw1pWB7YT95JmSXVZkJrdzQlwl9u8rHwLs9EhADNM09tsGkXTWXpS2YLstvpfuSEAWmdd5e8oNcqDG2EtTjHxKok2dtTZ2kaj6udhiPVABFJsorBM4VJEqpltpCmnbHOBzJDK0z2r65eunKhsVO1W+7qshzMJZeSp5OMMCCdfh5q1oqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DQIoZN+/Ao8YFUncTijWHdyEbVce6Ew3V2qQg0fE9uM=; b=oIwczVLx94s4/D3v363So1ygDSSRpFhBsLL1PBVFnft8ymDfQSfQNI3r5H5Iov/01ZF57FPwffAwhon8Rydl6zR8yGzc72Hs9w2ovJI7Vj0tZtpEPYnhAK19dir+dr4rjv+uSNm8T9NzQkce3xV1PyaDoIw0jO4zjYgNboeWTH6HOilt6OmosKMhrb3Ng8XxWXg9RlwqSZ7rn7PXWc0fBtur82KNeb3e/p2ckLyX41nq7IQkM3zI0BxT8dx9y6pOKfbjHMsWwJoKEiREhhiQ9C0+OJTSG1xdCsX3rb2rpGlwuhpTdVO2uREgpYA2x5NO7tg5OuWvLjYV9fw/FAaUNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DQIoZN+/Ao8YFUncTijWHdyEbVce6Ew3V2qQg0fE9uM=; b=n17plchTKSUtGd7JQ8t9dMPwYqZwg29p5pvfwjspKp40qBtfpY0RcI6EE6XF9VwKpSw3AfMDIU/3+SpWnTyg04KptnoEdctEfXINJTLasD23ZYCRfbi9snbLOpqIhLf0/V0r6brXDYqR/xDVY2jyZOKI1HaIKh1/uUrTfmKVnTt0qZ3L6VwEJyS+W3Fcgr2yyLHge4B1CyLbUKhPPrJ+Or9qNqAru17vNydyg35mxA86faZJThTr2qVBegnVEuals87YNdWjO43H/qytXQeiPnCGWiGhme661MWm6VhQbzuOEpLTBQGvaSVhy1IJjqsLuVY4ncFn+rr3vqDzbSv+eQ== Received: from TYCP286MB1986.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:15a::10) by TYCP286MB3204.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2c1::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.10; Fri, 2 Dec 2022 22:18:36 +0000 Received: from TYCP286MB1986.JPNP286.PROD.OUTLOOK.COM ([fe80::3091:aed:6015:f34f]) by TYCP286MB1986.JPNP286.PROD.OUTLOOK.COM ([fe80::3091:aed:6015:f34f%3]) with mapi id 15.20.5880.010; Fri, 2 Dec 2022 22:18:36 +0000 From: Lin Sun To: Ihor Radchenko 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/)] Thread-Topic: [BUG] dead loop on (org-table-clean-line "|a|b|") [9.6 (release_9.6-3-ga4d38e @ share/emacs/29.0.60/lisp/org/)] Thread-Index: AQHZBQlyTnamj1pnJ0esjRhhyh6Lz65YhJSAgAGxxEP///FjgIABBQIq Date: Fri, 2 Dec 2022 22:18:36 +0000 Message-ID: References: <874juf3cnu.fsf@localhost> <877czal35q.fsf@localhost> In-Reply-To: <877czal35q.fsf@localhost> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-tmn: [y29n5uNG+4LRWlDd1BDjj4JcAkbuLsOY] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYCP286MB1986:EE_|TYCP286MB3204:EE_ x-ms-office365-filtering-correlation-id: 35474148-d1e7-47ce-c846-08dad4b3286f x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QBoS61S/O7tIobsTK53zPFSiYxbKP3bFAjc4yCEjOecgNOit5d66Ke2GUpBtOppX+nXLUdzxmnrYYntvOpmFbW9MkLIhNU7kDRiLPVO4TAMqla/sOHuMdAJugmTp7XETeZ/XQguP0D7v1t5K6M/1z1Xp8oUJgEnIACft1UKQNxwmSaJjTbwhz85qoRYgefYQt6EnIZTPKz7IoOyOu67lc+zz4Ma9IK/c5KBLx8N4T3Etkqf9kPKT3LD2EBxXLsf1C2KsUTbsAdxhuao2DXx6mX/nfTysFYzQZoPPuzx288aN3WBx718lP/qs/oIBK5WdFrsoa9Qkunsf+PTmjWFzfQ3rZRm99hNn/r0mC6wDd/Df/Cc5NuOEeRvA99U+LTQVPkmhs9eOD+eudvJ6EAJtSb+6NRfgSx5Xyr6C8uN5tlhSOXKza8QCQgahEkJauFsPLQiWpeCLI17uwg8Vq2sRHAe3hr7LpykS2BlG0TF7tZd+1RA2+Wo+5tVxZkC/XoHCIbl9HRVjwaa6lSv1niuj8tMmvtq6eCpkKLQTGZl1L0D6DrjZJYP3Mph46SVDTukEcv6ec8N5iYwk1tCtozEUZZzTqx9agFbqKTDI/YFxKyeF1ss4jLINpFsOgPEholQ8bZCPH0FshKkPh6Keb4ws7g== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?sphrslCrQ13KT8kQfes7p3CWTS8q4x2Lr1oUk1jAkgpZicDdujqGm2XFsm?= =?iso-8859-1?Q?28lTgkenxIsSCWA6enTwu1cSwG+GYrP47LqWgr4wA/BxLzrqyJnPvN60OQ?= =?iso-8859-1?Q?HjNkndzoRgsgTa2xF1kcATKnBlR+7ruf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?= =?iso-8859-1?Q?oLHRd5dM+YmfSVjr8geFOb1ER6R/M2n9FwNCcObPsUh6TriOaHJkqEMpQb?= =?iso-8859-1?Q?/iqzxC3kzlGoQaXMTWADc63adbbhL9Rk8LYolynfCXqwB6SYt0PDN9XviR?= =?iso-8859-1?Q?gNLgYJWa1MV91cYNNR5GWm27wO4PYZUyl9Oxz4F/7uB0y1qIKUX4ENgtzX?= =?iso-8859-1?Q?eP6qRZXdraO1Dtmk6mfZzEmUzTbZkBUe++cAymJYPflhuQwqq9kJqv/zzZ?= =?iso-8859-1?Q?OIjKtSxREN2rvdtlhs7nEeq+hhp8HoX3Hub6cX7QSyHoG/RnTOJ5lgQIaW?= =?iso-8859-1?Q?a53t?= Content-Type: multipart/alternative; boundary="_000_TYCP286MB19866B25B4ADD0ECE3FFE396FB179TYCP286MB1986JPNP_" MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-05f45.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYCP286MB1986.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 35474148-d1e7-47ce-c846-08dad4b3286f X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2022 22:18:36.8683 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCP286MB3204 Received-SPF: pass client-ip=40.92.98.42; envelope-from=sunlin7@hotmail.com; helo=JPN01-OS0-obe.outbound.protection.outlook.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670020154; 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=DQIoZN+/Ao8YFUncTijWHdyEbVce6Ew3V2qQg0fE9uM=; b=gSt/BewSW3ISr8UAu6cx3FKXs0CDG/dTCYL8c1qCpeQIQyMT1o9a8Z/QHWeRJht5JIcQV2 ZDpQNjzm2SuF1yvQEMw/zDvPyjwTy3FsMXC2PmrDSTd2cUNpdJGxf74lp7ZvPQ3D8s9HLU Ofag01WL8aNPRqNr511wBcrXeJ4w9k0aAo5sBKJoJswmQg77v9ouOB9V7uKXqKLazCF6sX mHrcolI4Ky3rQZueTav/RtkfqnQbpW4vjN3ANePGTgf5ZEd5ggi8wYxfyLwUtZNZ8X2Ye+ t4dr2Xlo2VgLYeK2sRSSP8rLBWou6N/QetWjhFGweTx7gksnSkIk54aoFwbAfg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1670020154; a=rsa-sha256; cv=pass; b=TipaiIftBHJQF4jTm505T7zgzt3rq2gM8uMZRoyk5tUzTKwdz24vasIQrnVDNnLFf8bE+v y82+nFuNcU8ZmXpEwTtErW90ZPOQEtFnSvUkzhs8UnzGdlBOpnpdaeycIbRCpy2H73KAuM Pw50PPPzq/8FNmpy++qgXHxqevQL2qU/krizK3ekqK5b3u0NImg0d3t/D6k+NqzhiU6MOq kT4jC5K2J30XVjx1Y8qTIxsmrsUQ/xjgfpArikqkBq4DgrJVuy6IP/dNhd0zdVKSr9jp1t u5aalouYyuyURM9K4/evbzpxtxv4P7KeeCHss8vcfX0OMmEnHvtc62u/DNnyIQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=n17plchT; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.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.47 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=n17plchT; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.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: 76D082FA45 X-Spam-Score: -3.47 X-Migadu-Scanner: scn1.migadu.com X-TUID: OIOEbYmR/+IY --_000_TYCP286MB19866B25B4ADD0ECE3FFE396FB179TYCP286MB1986JPNP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Ihor, > Considering that you can only reproduce with Spacemacs, it might be > spacemacs screwing the match data. Not Org. > There is no reason to fix something not caused by Org on Org side. Agree with you, I had located the dead loop is cause by the advice function= for set-window-buffer from evil package, in which the function will screw = the match data. I had posted a patch to the evil-package to fix this issue. https://github.com/emacs-evil/evil/pull/1724/files Please mark this ticket as closed if you wish. Thank you Lin --_000_TYCP286MB19866B25B4ADD0ECE3FFE396FB179TYCP286MB1986JPNP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Ihor,

> Considering that= you can only reproduce with Spacemacs, it might be
> spacemacs screwing the match d= ata. Not Org.
> There is no reason to fix something not caused by Org on Org side.

Agree with you, I had located the d= ead loop is cause by the advice function for set-window-buffer from evil pa= ckage, in which the function will screw the match data.
I had posted a patch to the evil-pa= ckage to fix this issue.

Please mark this ticket as closed i= f you wish. Thank you

Lin
--_000_TYCP286MB19866B25B4ADD0ECE3FFE396FB179TYCP286MB1986JPNP_--