From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id rfaZOcgZemEPNgAAgWs5BA (envelope-from ) for ; Thu, 28 Oct 2021 05:32:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wBGfNMgZemEPeAAAbx9fmQ (envelope-from ) for ; Thu, 28 Oct 2021 03:32:24 +0000 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 33EF7242CD for ; Thu, 28 Oct 2021 05:32:24 +0200 (CEST) Received: from localhost ([::1]:51870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfw9P-0003d6-AB for larch@yhetil.org; Wed, 27 Oct 2021 23:32:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfw15-0001yB-7l for emacs-orgmode@gnu.org; Wed, 27 Oct 2021 23:23:47 -0400 Received: from mail-oln040092066049.outbound.protection.outlook.com ([40.92.66.49]:31719 helo=EUR01-VE1-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 1mfw0u-0001at-EF for emacs-orgmode@gnu.org; Wed, 27 Oct 2021 23:23:43 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GjsAZ6er+YTeT00HqH6W+gimG0m37kx17gBzY+fKQ2brOr7jbiIj38CSA6Bx/QO7ps6n0Mk3gbPaL9NutsLiCFHmGphCQ2LRdAVk0lp1hNLZsC2MP76hT662jGW2VS3hRIhc0BsgSSoRLAGeM3b5sFIyt3DpE3aiZ0zzxWHsaPfN08mRMq7B8olPFX33qfoKo4vgQceEE1yLwRe70X3PuJod/92mBqZOkxEngzAze4mXY1DL+gSeVesgR/w3yb/K6OSnwzbsOWtfSt5OsInjXL/UEHl6gU4JZNCDA3RKNNc+HdzgLhaQc5uN9kmDtM0pKVksIscehewlOscjYV9hMw== 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=0gT0Ch/5bYJxUDTphNekKr1Qw4gCls8LV16FFXcmiV0=; b=KFHFeL8+qpKpHyYEEi8aP9SqbELCsgtOc7nemoE1rVP2EMcTiYIvaSwb0PA7IabZ9/uuH6iclB3N8ckemWc5mk30sixpjU6U+Qftkl+rRpq3itZKFRnvvJ1BPBLz5IAkIdMD810mjwYeUU4r0Tz1bkTUXIaWF1SGyr/j8r+avqtVwpNmnYWA/RK1Z2DMxdoiNEruezos91Hy8Q4zDxlxIKKqVCgvQJ3AA1gr+luaOkIQKrFtGKew3vIruaaZMtifmduqI4/RIsCOWroSTHAMUVNjVpEzS8EAMkXuiG4GDJcRFuCsd2Br858rzAvhWd3ONGpnxEbIGKHrV6FvGWQ5+g== 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=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0gT0Ch/5bYJxUDTphNekKr1Qw4gCls8LV16FFXcmiV0=; b=m2g/CMHPCqa2HgVaXyppoUbseyW8F2XPo8sJPYdqVrUW4wkEjB6JUspyUEQXhnMj2P31oDQJDHaVGvZLeWKM4jxi11dtjyRdM+5qKjfr5PfYeergEONzU1D/koLwBaq+LAq1GHMPgy4D4LnBT8/z+SUyHC4g8VRJwTpc/LEvGUDgq7A4ySMalNWxxpEnWpFvpNZeEaItnAy4FVu6BL9cm1vKqA4UX6IYa37qvvK+YmzDGfBSnV+fbXrFJAF8LX7nqmhFc+ubBmEaA5EVYpQU6gHkQ9RR4Ng6RxqJz6KmdfXrncccQqWsVHCzgvnmtOM2setmGXEvIJo2ahlOsXP2hA== Received: from PAXPR08MB6640.eurprd08.prod.outlook.com (2603:10a6:102:dd::5) by PA4PR08MB6190.eurprd08.prod.outlook.com (2603:10a6:102:e6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.13; Thu, 28 Oct 2021 03:23:28 +0000 Received: from PAXPR08MB6640.eurprd08.prod.outlook.com ([fe80::2d89:b86a:b634:48b6]) by PAXPR08MB6640.eurprd08.prod.outlook.com ([fe80::2d89:b86a:b634:48b6%3]) with mapi id 15.20.4628.020; Thu, 28 Oct 2021 03:23:28 +0000 References: <87cznsnql6.fsf@localhost> <878ryev6q2.fsf@localhost> User-agent: mu4e 1.7.0; emacs 28.0.60 From: "Christopher M. Miles" To: Ihor Radchenko Subject: [SOLVED] Re: [ISSUE] org-mode fill paragraph is slow and suspend often Date: Thu, 28 Oct 2021 11:23:00 +0800 In-reply-to: <878ryev6q2.fsf@localhost> Message-ID: Content-Type: multipart/mixed; boundary="=-=-=" X-TMN: [M7p3+0SMexWbCiMTJaRx+Z8uxUXwujEI] X-ClientProxiedBy: HK2PR02CA0166.apcprd02.prod.outlook.com (2603:1096:201:1f::26) To PAXPR08MB6640.eurprd08.prod.outlook.com (2603:10a6:102:dd::5) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 Received: from Mac-mini.local (183.246.144.93) by HK2PR02CA0166.apcprd02.prod.outlook.com (2603:1096:201:1f::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Thu, 28 Oct 2021 03:23:26 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 43a15ee0-d816-4cd8-970d-08d999c24f27 X-MS-TrafficTypeDiagnostic: PA4PR08MB6190: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hiNVHdjn+X7WTxU+L8M/NRIIkKT5CZiatdfzj8pKFIzJFyJ3Gwc90guXYW38Q1W5Grf/hw+n33qL/93HUZjlhhUTXHHaRRV+JS2H5kJk1FunUIEMS4SHAGsMCjuUjR7ycI4RtgsO2CiJ1f3N99QhIZzQXJxXNHafLgqZIevHer3mDYokwHXq9rH3CnLII3eWyrAhBhpm2a3EDWQnDoNhV1E+SxCArT1GrShcgAKD1YMPchOzvTTUcU3fY7UiuNI8auuOky+JXs4ZT7SWOpPRht28Lp93IYdljp7BxY37y8hsE8/SBIIglxqiiBK5Hh68x+u00FLG2SQ/3jVMeHMLnHDybmcWxitg2JcOjtvmfV3A8sDC8NFbpO9yhJ9TjkHhPR88Vam0Fz+4lVl8MEDOtLbpa3MO7MAxVWKFqCjV2/Kjh6hbqe0mmUPxBkUv5vsgsDcnH3wTEOMNNh1T/mmY4RusmpbDndXLKILXuyu48TMgl4w7wK+GTC7lSs3QJzgJLQCpTbcpa6HJrtqvA9I+pwT7SZVQjjxMqF2bDM12DbsJInjqn9V5ldHuH4KXGrO2qOha35NxyI8B/J5YJYrYTg== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xL0iPVB9SKTHhBAQaN3mBgEgfoGYEpdZqlY7qyeCOvYCu5swJSbaq+Hgm3KvkpxWxBVP0K59YVTq+pdPY0GuuNlUxGv/MN1JF05sVpr11YZ4U+dUU1BA9T0WfaweSiv40EpXi20xVmxDpY2dF3df1uIzb/bT381HqywTDiKNqdnt/sXNqi9B5nv/L6DfQhYfHcKA1CvXlY8r9/k4PHrWK39L0/mEpNC1YUFX1MG1cwgsiqvINc/jOmXNzuq6+vVeO0RBUgRI6RYcDVRfH4tLY+AcEQzIAHxvUjthXyj/Z6FQqiaKC4uyv0zLZyVRCtr9epU0GJA4JG5XynFq5TVzATBgNuoUlg5jgr05iFQcopBipsLojBybYNIo9FVr9N420t5mYGGxTicchCPCoP9uX4I5Rkelm5B4TuDP5dnlfirle826y/s8pmGUI9TdkMWkLufDKb3X8s7xd7w19wV7EyqVGdyz25EG7IDIHI+hlFtTwyinoE+3qKeE7HXcT5+MC6clqbW96cFCnefOPQLiiEh267Zottqo5iVK68ci4b3QT9B0UjFUQCi6dqAVPypL7425Hf9OMHOBNe0X4cEHFNJ8KFG+462+WOdXN2fOxjyICmA66k0Yz6EuZULX4iYuD/hCRoVAFN4G/YX/l//w567WNd/HJeFVgrIfa7Ms+XONhvsY5ngY4oP9W2oc8pDuX7RydwsWssaiGubv08KE7w== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 43a15ee0-d816-4cd8-970d-08d999c24f27 X-MS-Exchange-CrossTenant-AuthSource: PAXPR08MB6640.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2021 03:23:28.3790 (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: PA4PR08MB6190 Received-SPF: pass client-ip=40.92.66.49; envelope-from=stardiviner@outlook.com; helo=EUR01-VE1-obe.outbound.protection.outlook.com X-Spam_score_int: 34 X-Spam_score: 3.4 X-Spam_bar: +++ X-Spam_report: (3.4 / 5.0 requ) BAYES_50=0.8, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MSGID_FROM_MTA_HEADER=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: numbchild@gmail.com Cc: Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635391944; h=from:from:sender:sender:reply-to: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=0gT0Ch/5bYJxUDTphNekKr1Qw4gCls8LV16FFXcmiV0=; b=ZK67xOaEssyokdfQA/ibEpBdi4eAzZmSFOGQXy5mb7+svyITTOAecewWs/DvXzzWD/DaD6 eRcLCTKVvVZ12SR5iDilRr2Iheo0BXvyp6i3LfcXXgSN5A+Ni/4yXsVkcU675fO+qotwvD H6Pzjskp99S3HYJB7nNiLvL2N5O4PH/wXdwrwVLv4PwFBx9VSd1KJF4qu/szWcAJh3YVLr VpOXYEL9VByoFVcDMFx1ArHKTKmMhi+zddh4vLCuzTng7IPF4EnijXbfHXxqDZympZXbZq 92NmZdLe18KPuI70nyUyjlC7q44p/ngnKxXdDUKM3GPgAO9AdaoES5KEfHzWkg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1635391944; a=rsa-sha256; cv=pass; b=YvWfI2mbeRFdqnpF8eSBAXQwXYn/54oijKdJH4THvfKJHMeQTE3Ny1IMrgcVcOG33M/MpF gfuFXkW54N/+guS43wgIbbBYjQX9GO6dQKvozPLYEl1DNPSIHAVb9iRWlZIScfy6SiJpGM c5xh21AD9I9GzGC5d365FXiB9phGOVlI9qk9uqvnRVN9Acyp95lBRjMysDJ+sYvwGLvoLf Wg6Suf1k3woWlFrhyc0IQ9D4wSvK2xRZJ70VFlVEgCdC8JxRjt4iwSTV/4iLzirWFRj8yf xLGwdvBDOA1QJkXH77VbQJGHt6weYqMn1X/tdcFgdl3j0PEcFHQj+RXcUEsmDQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b="m2g/CMHP"; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b="m2g/CMHP"; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 33EF7242CD X-Spam-Score: -2.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: TFscDZe9IXwh --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain Thanks, confirmed solved. Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I applied your patch on the latest pulled org-mode source code. Still can't org-fill elements >> quickly when region select text contains org headlines, properties drawer etc. >> >> If I only fill paragraph, it is fine. > > Thanks for the pointer. I now managed to reproduce the problem. It was > an infinite loop in org--backward-paragraph-once. Fixed on main via > cc3df3af2. > > Best, > Ihor --==-=-= Content-Type: text/html

Thanks, confirmed solved.

Ihor Radchenko <yantar92@gmail.com> writes:

"Christopher M. Miles" <numbchild@gmail.com> writes:

I applied your patch on the latest pulled org-mode source code. Still can't org-fill elements quickly when region select text contains org headlines, properties drawer etc.

If I only fill paragraph, it is fine.

Thanks for the pointer. I now managed to reproduce the problem. It was an infinite loop in org–backward-paragraph-once. Fixed on main via cc3df3af2.

Best, Ihor

--==-=-=-- --=-=-= Content-Type: text/plain <#secure method=pgpmime mode=sign> -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-=--