From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oHqoI/AZlWOwtAAAbAwnHQ (envelope-from ) for ; Sun, 11 Dec 2022 00:44:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qIS0I/AZlWOZqgAA9RJhRA (envelope-from ) for ; Sun, 11 Dec 2022 00:44:48 +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 402B43CD4D for ; Sun, 11 Dec 2022 00:44:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p49VN-0004To-3h; Sat, 10 Dec 2022 18:43:41 -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 1p49VK-0004TG-FC for emacs-orgmode@gnu.org; Sat, 10 Dec 2022 18:43:38 -0500 Received: from mr85p00im-ztdg06011201.me.com ([17.58.23.181]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p49VG-00017Z-6u for emacs-orgmode@gnu.org; Sat, 10 Dec 2022 18:43:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1670715808; bh=ZZXBRi4dkxOXHSTOIC2j5lLJO6GwB0DczuXt8F+ORtE=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=kJ3sNdoujgg4bVvuqSSEGfvmqJaZVrmxNn8pTqJMSYOuC1jfDLap2GMUG4FmM2ppi yPmCk5/Bch8m3fI5cQ7+JyNMkhROHh0WvBfaHU16R0twRwhG7jJx/E4xsWVrNQ1fiy iZ19Vn4MH7kNQrY5eoG20P8UmBcbRiUZICgL4P7qZ7EJwD453yDuHAIpsk5OdVfOBc 480gFlQ67D8G4bZl1VMTG96EPnWEcUVg/uTKDMSjgMv3oHDaaheUAXyVU81QGPCUPv 28avl0EduJPCsvDVyTu3SOjn2yRPxkotFTk43/W2+gLoge5F6o8rvX7tDlw0MRAAXe ktrUuhFecTBDA== Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06011201.me.com (Postfix) with ESMTPSA id 6399F960952; Sat, 10 Dec 2022 23:43:27 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko , arozbiz@gmail.com Cc: emacs-orgmode@gnu.org Subject: Re: Flyspell causes severe slowdown when manipulating footnotes In-Reply-To: <87k02zr1xm.fsf@localhost> References: <87y1rjjqk0.fsf@localhost> <87k02zr1xm.fsf@localhost> Date: Sun, 11 Dec 2022 00:43:23 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: Adcg-5DeSwOAQal94PQ2u9-ttYJy5WA2 X-Proofpoint-ORIG-GUID: Adcg-5DeSwOAQal94PQ2u9-ttYJy5WA2 X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.572,17.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2022-01-14=5F01:2022-01-14=5F01,2020-02-14=5F11,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 phishscore=0 suspectscore=0 clxscore=1011 mlxlogscore=999 adultscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2212100220 Received-SPF: pass client-ip=17.58.23.181; envelope-from=salutis@me.com; helo=mr85p00im-ztdg06011201.me.com 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, FREEMAIL_FROM=0.001, 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=1670715888; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZZXBRi4dkxOXHSTOIC2j5lLJO6GwB0DczuXt8F+ORtE=; b=WCPGMwaV9ORi9dHRodbbCxbFI1VQzY5XQdrQt1SrfhtKBp8TkA0h86mch/IvYV1PFwMWAI 5oZRc3IPN76/IOmdfqtyZSHFgLqDa+FHk880NCi4sfRXFZEEXUqNksfAH8/j52bWGdfdC9 lWtQRpCxxqoP4SRthW0gMP5qTthECbPD6aWKNqKPzsBQO3j4Jj6LdaxgZm3Z+7qVNiFD5x lejQP7pe3lH/J+lrXalwZifRp264INd8TIt73e5UL8zxhLNkSh267mZuEDM/eVpu10WuWp eB8EAz/LbOiAqWxkfacXn0yVbTWURDmXjUphV7FST/lKp5K+Rf5xORo0og6ejA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670715888; a=rsa-sha256; cv=none; b=OBQyXOlpyM97bI1MPGY9ieCIART/dMZDdWfDXi3dir7+j0Fot1ne8+PJVgmCoFctLT3v3i Regsg9KdXtGKsqE6ntuQ+sC5fkDbwzBBvf+a2GMrCFxGNKKuOY8Pf0314qJFrT/IMbdAsN TjQuX2p3ee+NcsDn1p4o98UoOjQ/ky7OOY8zjI9e3lMSXqe0YkS8esqYdUaAzqeiSQfoT+ bK4Kei4naZTCDOy/x6dJQnB7zOZrGddKmFO5iJik/Dp1lSVIBhTgSwLFU1FVePHy1NX6Bc 8IBOIhFMtKAwrW7a7y0sSzuhSsutPYLA2LSsxhttTSQ3hsUnkYo4RAGyQNwTUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=kJ3sNdou; dmarc=pass (policy=quarantine) header.from=me.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: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=kJ3sNdou; dmarc=pass (policy=quarantine) header.from=me.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: 402B43CD4D X-Spam-Score: -2.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: Xsw8WSMxjZQO Ihor Radchenko writes: > I just pushed a slight optimization to the footnote sorting code. Unrelated to the footnotes mentioned above, but I noticed that Org starts and kills Ispell all the time. I see the following messages repeated over and over when working with Org: Starting new Ispell process aspell with american dictionary...done ... Ispell process killed For the sake of experiment, I have just tried to export (to HTML) a subtree that contains nothing in it but a single BibTeX source block. Sure enough, Org started and killed a new Ispell process! P.S. I use Flyspell with the following (standard) configuration: (add-hook 'after-init-hook (lambda () (add-hook 'text-mode-hook #'flyspell-mode) (add-hook 'prog-mode-hook #'flyspell-prog-mode))) Rudy --=20 "Strange as it may sound, the power of mathematics rests on its evasion of all unnecessary thought and on its wonderful saving of mental operations." -- Ernst Mach, 1838-1916 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia