From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id OCvKNgNDP2ZLOQEAqHPOHw:P1 (envelope-from ) for ; Sat, 11 May 2024 12:05:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OCvKNgNDP2ZLOQEAqHPOHw (envelope-from ) for ; Sat, 11 May 2024 12:05:55 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=H1kG9sHf; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715421955; a=rsa-sha256; cv=none; b=cGsO7EZMz5bF82zm7gnMJnieIPe4Yu8WIA0N0UoeubTMe/SLlb6D5C8zW6tq9uZ5QLgIDF 0D1wL+on2s0kC7d+8uiEfo02KpNpcMXUWQM42+PSNt4e6trEb9s3ml6x8CPiKjYpE0zYlW 84jPFfL4Fn8VWEyV5q80yK8/PmYYWNUV60K7wwXU9t7Z7nqdkDz0i1f3683XAmS6VNh7NG T4w4881tmXaZzSH4PZjh7Zhqz6i39angmn/LuGRGneV1Q7vu97t08ltRj7JRxCKlQV3njX +Bl5kBXw8J4FMMPHqy+KSE4Lux7WMIllwizXnaeCBlRNaPup4t80w2h9/71UVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=H1kG9sHf; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715421955; 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=DUw5MIB8AceJeWjSkswXk6j3YVh7TEj3G2gzH+F7nKI=; b=NVh9A6d6XifnXm0gvqWQ6Cy97xboQT1xPz4O5d4mh7PYLTzsHWOs8FyNWSyiM6/B3ly99D zQnHcDRdyMofzsXDJkZaMM1heEcmzfORXh2KkAyW9Y6jBTU/08oORL7cRChs65vQVP3Bi4 k5FtZ9VYCV0YNWUgX/VM2wmtTKp9rqFuiR9e4tya+IRggygLewxf9HANgzjM5Nh3ZrZLvh unxcDx4WBrt9vRUfVkXEZsOlSS3AmNdPU5oxGOA0GrlhBHndJfjmEf3aLpo2Y81oqwZkYv HyNbfvAaDe69WE7sq00brXpJH0V64D0FtybMrnT4Y+kZf6fltRjfJXrXFmRlrg== 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 BFF00647E9 for ; Sat, 11 May 2024 12:05:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5jbW-0003yA-8z; Sat, 11 May 2024 06:05:22 -0400 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 1s5jbT-0003xi-51 for emacs-orgmode@gnu.org; Sat, 11 May 2024 06:05:19 -0400 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 1s5jbE-0000Gm-HN for emacs-orgmode@gnu.org; Sat, 11 May 2024 06:05:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B4430240103 for ; Sat, 11 May 2024 12:05:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1715421902; bh=REru4RlNtrxUtlepJOtxi3gySetlgGI8HJTPMc4mUlY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=H1kG9sHftVo82+k9hau0pBIFpflCrG+IU4Q/j1hGFjFaqMO4UxFOWZovrYhvhFoJj wbBbp3Mpv7ciKc7wvS7h/9iBTFLv6+rIsPxg39s/J9LI3LLA4rvgD9ggKOIIqrsC2V YIXVF/F5zFoADMC8wxJNjpeifDihlwkbwWT2ECQezmhIn75zGJcmWCXd9FLz7/9Wm1 DhVTVr5CNj1xUvrReSFD8MxwaUWLEPm4gYXWcpiNoIZytrlK+0mNgJHdmfxRAwsT+y K6I9NJlg+FT4KfGycOA3KAbWmhnXuEyJ2bJq3FZuB2T2HgRwOaQrkP9GAMM2A3nDk5 iqSU39zhNIhOw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Vc1Zj6x3Tz9rxB; Sat, 11 May 2024 12:05:01 +0200 (CEST) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: arozbiz@gmail.com, emacs-orgmode@gnu.org Subject: Re: Flyspell process called frequently when using Org export (was: Flyspell causes severe slowdown when manipulating footnotes) In-Reply-To: <87tu21hsuk.fsf@localhost> References: <87y1rjjqk0.fsf@localhost> <87k02zr1xm.fsf@localhost> <87tu22l267.fsf@localhost> <87tu21hsuk.fsf@localhost> Date: Sat, 11 May 2024 10:06:34 +0000 Message-ID: <87bk5cvf11.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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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 X-Migadu-Queue-Id: BFF00647E9 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.60 X-Spam-Score: -9.60 X-TUID: dCPwnMtCc5by Ihor Radchenko writes: >> A new Ispell process started on export. > ... > Confirmed. > This is because `org-html-final-function' uses `mhtml-mode' to indent the > resulting html file. `mhtml-mode' unconditionally runs `prog-mode-hook' > thus starting Ispell. > > We may try `delay-mode-hooks' around `set-auto-mode', but it is not > honoured by `mhtml-mode'. I guess we can report this as Emacs bug. Fixed, on main. The fix will only work in Emacs 30+, because it requires Emacs bug fix described in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70671 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e36a4fe20 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at