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 SKlIKmGVkGPfWgAAbAwnHQ (envelope-from ) for ; Wed, 07 Dec 2022 14:30:09 +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 SH5kKmGVkGNcOwEAauVa8A (envelope-from ) for ; Wed, 07 Dec 2022 14:30:09 +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 8942D13ECA for ; Wed, 7 Dec 2022 14:30:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2uOh-00067p-19; Wed, 07 Dec 2022 08:23:39 -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 1p2uOf-00064s-DU for emacs-orgmode@gnu.org; Wed, 07 Dec 2022 08:23:37 -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 1p2uOd-0007v4-03 for emacs-orgmode@gnu.org; Wed, 07 Dec 2022 08:23:37 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 20A8924010B for ; Wed, 7 Dec 2022 14:23:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670419413; bh=VqCD4xxhukE7PVV/6bcuQMb5RjSV5fmKJAqyorWAdhE=; h=From:To:Cc:Subject:Date:From; b=njzp/wCoPFCiLkq0tg17+0/MdhtWmzatBvdMRYS+20a2o3TSRroxejNWoOHKbV2dV WEN0MkNblr3KrJwCyqXy6IdzE2DR1UzFdsRpY9gzJhNcvX8Uho/lNUD0qb/EQfyfaC 05VB8+/oQF0ccqMmY9Nt5o0u45atZGufC2D06jlHmBnOHQclbu/Clc0YbPq7nMPlbm ZHd3IfxazCujfDckL2PgFGHKy0ojgJRHQGX5CKekQSXsxKlskww/ifcBXhlVRewzVC HQFgzG6igwv6wp0OE507MTcBteDaq/OWquOPRFG5L4QI3SQR8gqu83uvjmOFUdr8O+ Y7/hqz4RujOjQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NRyfD27YGz9rxN; Wed, 7 Dec 2022 14:23:32 +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: Date: Wed, 07 Dec 2022 13:23:27 +0000 Message-ID: <87y1rjjqk0.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=1670419809; 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=KnTv+2FbIM81XAQ8/R/H9GevnpQg+uOYzWvH+2yTKWU=; b=l8J1TLQVCUoICNyI2sPHZxBqgNo9skrmwbMo6JQic3RalO+quHA7kx4pN/2Je/NW2xaM3e fja9Z9KioSEiBBThukNqnfIvQBB64zuCaWy/17aIMfTVaDjo7FzoJKOHV/JNd4SnS93f1B W6Y8Yd2+XoZ1vqr8TmoacM5rRPtqP7XB5yWjkJjm+HwpyD310hhIywoDdkxV6R35Lzyy/W WWVaR9YDV/2d/jMUvqPCkvC/QAer3ckHykqJxEbD9xTGifY5qa2pzPAwwDtbyokptYH8vL wIPE90pImlRt2mK4FieVriTed+TrhnDNWASpeazRaLWCmk7R6GI5n5QN1rDmxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670419809; a=rsa-sha256; cv=none; b=c4bb0ypuI8pSQjw5A7EzbdLqBacd/xu28F/SDrp5xxkT6qZw+CtiE8xsHzHbdPqlKteSAw z1RaNV4Kb7jeWH/r3WhlaMijXB/76PSgCnrn+1v7GbXfgBtyfCzksdhLJyjHAq7jD2b40h sscO8zo787YR3/cWY8Qq05AuxMFB70+D6A2inPOPEGC3+jNoHQSzRHDepOIhYw8Yagggtf O+r5UORu+M45bBXXKGBvBW0sq2W/pEmo7pZmFgevlo254oT5mbJsAL9EBJSUjFUcYW1Oyo ba4m7vEtBMx+WFhOwHuYQrzNWlQ1XSaoq8rVXkEjML1BeFNJj9PIZgrufo2yAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="njzp/wCo"; 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: -2.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="njzp/wCo"; 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: 8942D13ECA X-Spam-Score: -2.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: FoDHXmWAf0fj arozbiz@gmail.com writes: > I just upgraded to Org 9.6 and I've noticed that having flyspell-mode > turned on causes very large slowdowns when adding or deleting footnotes in > an org file with lots of footnotes (e.g., more than 200, which is common > for the academic articles that I use org for). Any ideas for what might be > causing this? Most likely cache updates. Could you please (1) Set org-element--cache-self-verify to nil and see if things get back to normal; (2) If things are still slow after setting the variable, please run M-x profiler-start ... M-x profiler-report and share the data. See https://orgmode.org/list/87ee2nlslt.fsf@localhost. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at