From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 8GU4Eln1lmNxSgAAbAwnHQ (envelope-from ) for ; Mon, 12 Dec 2022 10:33:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KNAJEln1lmPTdgAAauVa8A (envelope-from ) for ; Mon, 12 Dec 2022 10:33:13 +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 E95377150 for ; Mon, 12 Dec 2022 10:33:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4fB3-0006jN-Ur; Mon, 12 Dec 2022 04:32:49 -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 1p4fB1-0006il-Om for emacs-orgmode@gnu.org; Mon, 12 Dec 2022 04:32:47 -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 1p4fAz-0002X5-W1 for emacs-orgmode@gnu.org; Mon, 12 Dec 2022 04:32:47 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B38D1240103 for ; Mon, 12 Dec 2022 10:32:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670837563; bh=ulgov89uq7qJJJet+C1g+ZKqJsZyyuxv/QdXgL3hlds=; h=From:To:Cc:Subject:Date:From; b=G7gVfOiF1Vlxm/ZcZ3Ap/ZWnL9ZSxvjmLo955sgiHbsWXOka36LDpGTOB6VWoZaFV 5fCukkX9Z5R46J8oDXLtAx0TiRSvwV9Uh/EKEQQwSsrQCgZUHI7cnlKXElbcS8Ufda 2BUrMHS2l75tUjwuzV55sPuuF/q29zwoiTBZGGizQzVmDkawsGjsbVzyDay/LMy097 T3jm+fQ3MVrpziqm/NXda4u5+2sVaiKwMQtCU8rVPvpzjxDOpApQH80egY1Zg9plX6 ODCDHsZDesTZ8BJhWJCotSfiYBkAcivOR2KjQVoZEtB1bRlBlNxvPaCa+L6Q2R+5tw Dth1yDyTIYYXA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NVxHb0qGRz9rxV; Mon, 12 Dec 2022 10:32:43 +0100 (CET) From: Ihor Radchenko To: arozbiz@gmail.com Cc: emacs-orgmode@gnu.org Subject: Re: Flyspell causes severe slowdown when manipulating footnotes In-Reply-To: References: <87y1rjjqk0.fsf@localhost> <87k02zr1xm.fsf@localhost> Date: Mon, 12 Dec 2022 09:32:42 +0000 Message-ID: <87r0x5hsqt.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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670837593; 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=DsZjkyDMT5HpOBRR6z6vkVHIs8fb4L+PpVBtZAZPRGI=; b=jrYLLQrIimiBeY0+YydDRvu1rhkqaZ/tPne4HIuzdOQmpVzi7lF+FD8QTH3h5QVEBWAUTJ UQcJcp4ERjz0ryzOdS6IwwrGr8J1Pb3P/Ic+MdI28wlCJKHTpnv1osM9fzVhnLbCXLA+++ GsAr7Nss39ngJOLZ1zAuLNM53vPjrGyBuOXdz0Kff+y3PoHbuqFhXAPEPqmivdGmHKD6ok 7y884PzZiBNUkpdeGO1WPnd9Z3onzx+r1C12VBMtV+fXR3fRfRIw9kpSc5GNMszTaC459Y xhz0blqZGtk7Rbuh7LhxS0kzzagQf+DI5nmDdyiVpJko+1rtNMGZfprjHgXzHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=G7gVfOiF; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670837593; a=rsa-sha256; cv=none; b=AysmCzYofpkeVQK2iOsUNaUHge8XiL+0vU3Xun8BbVl9vRYdW54Q4iORQ501Nmmk6r3+66 +1rf9dzynWwLCymd8Mso7vxhV8pZO20e+REdIhdE7Tx7XWqZHiNHDJoHREEPr+Q0aWLrug t6Z16oE+vWNFv6Uwq1nMVQwJMnnfIqh3Qxl08F9iu6rU31tm44Q2ZxwiqYDbW4Jtcf4cYB EUX7ucbTwZGdvf116XZloJHEmNDFfxU5feRS33tJt1ayHYLRQADFmLY5UidaRvMcuj8rVL pPn0p5CfPu6mKVVA6DtBFcuVKJMFRjUoZEQFP4D6kF+9mgVvHXzetw/vpHCz8w== X-Migadu-Spam-Score: -11.15 X-Spam-Score: -11.15 X-Migadu-Queue-Id: E95377150 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=G7gVfOiF; 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"; dmarc=pass (policy=none) header.from=posteo.net X-TUID: m/jiTqxcNt7J arozbiz@gmail.com writes: > Thanks. It definitely helps, but it's still quite slow. What's made the > biggest difference is is advising the relevant functions to turn flyspell > off beforehand and then turn it back on. Sure, but it is not going to help others. Could you try to produce the profile using Org 9.5.5 and Org 9.6? I am wondering if there is anything in Org 9.6 that is slowed compared to Org 9.5.5. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at