From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mitchell Newsgroups: gmane.emacs.bugs Subject: bug#71644: 30.0.50; Severe slowdown in larger files with markers beginning in emacs 29+ Date: Tue, 25 Jun 2024 21:53:42 -0600 Message-ID: References: <86ed8tozub.fsf@gnu.org> <86jzijmo5a.fsf@gnu.org> <87h6dmbyy2.fsf@localhost> <87wmmhgjao.fsf@localhost> <87le2t5q07.fsf@localhost> <86o77p9lwv.fsf@gnu.org> <87frt15dya.fsf@localhost> <86jzid9lbj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000008b821061bc2f865" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5839"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ihor Radchenko , monnier@iro.umontreal.ca, 71644@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 26 06:33:53 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sMKLx-0001Ik-DK for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Jun 2024 06:33:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMJlN-0004PB-FD; Tue, 25 Jun 2024 23:56:06 -0400 Original-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 1sMJlI-0004Mb-EZ for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2024 23:56:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMJlI-00014p-6j for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2024 23:56:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMJlK-0007Ya-6K for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2024 23:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mitchell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jun 2024 03:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71644 X-GNU-PR-Package: emacs Original-Received: via spool by 71644-submit@debbugs.gnu.org id=B71644.171937413029002 (code B ref 71644); Wed, 26 Jun 2024 03:56:02 +0000 Original-Received: (at 71644) by debbugs.gnu.org; 26 Jun 2024 03:55:30 +0000 Original-Received: from localhost ([127.0.0.1]:37893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMJkn-0007Xi-Ls for submit@debbugs.gnu.org; Tue, 25 Jun 2024 23:55:29 -0400 Original-Received: from mail-ed1-f54.google.com ([209.85.208.54]:45146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMJkl-0007XV-Gp for 71644@debbugs.gnu.org; Tue, 25 Jun 2024 23:55:28 -0400 Original-Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-57d1679ee83so6809986a12.2 for <71644@debbugs.gnu.org>; Tue, 25 Jun 2024 20:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719374059; x=1719978859; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YMXsh1+ogi/369VcBAnmBG3nxkbr45b3YDzSvGl1ahQ=; b=gGBH+ok84iQwDPcQPqz64GfeGP3r2srCQP55bS4s8xZt6qn4Ul/6W3zISF7z+rVa6K RBftciiz/Ou8GtccobXsrMzUjhZhAG1NT6pZDDby9vfiL7glmFSct4n9oNRd6ofnHwJ2 PizrsPvfTwvSTKPSq5VZaEhaFx6kVrp3r7mTeC8RhzfNmmu3U4D5V8GE0wgMbOtdyo1c 9yypcQnJpUCRM8FrtmauXzWlchNvZaZiglP1HAe2fMt7y6RudxbeDaVcM9weYr/yHg6Z Hlp0kEQus2tdcL7D2b22Tp9NWefvzKM3jEEwCG77SnTbnEEO1THi5HCqqxhOao/ye4F3 ADlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719374059; x=1719978859; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YMXsh1+ogi/369VcBAnmBG3nxkbr45b3YDzSvGl1ahQ=; b=nDeErUGmGO9CG59DEbl9aghMf9kX44p2IK67UYYz67+cV3eG/lLYzPvYczoNF9O2IT YdNQ3CyKJs82a7dck0QWQFkLmCX9zO+Ci2vTFKuEOXt6XpsRBChd3ebM6SDl8wF3L9SR Pge3G2N/gAEC1LmJG6f4ffrfIcNXfwKcQKMPLSDYqCbkJUKuTLWWBtxRl7t2rc36cQGm JvDceVMe/HyLQaJpulLvXRF67VHhZgUkh/xruPInjGd4/QMAj8gCW0XGT64zYzRqzVQ2 /qK6B2NKLAeBtHY3A+6zx6OklEaicSUr6iVYjp4g/sqyJ5xLCsUtGkIAdLSBnqILYhGl Qosw== X-Forwarded-Encrypted: i=1; AJvYcCUNebQaZgaRQtoSeAmvXICq5CVHi/WB3RDZI4L4dD+TtIOCloyeKBbMc0vDJNEbWnNM21ejSbCFeKiotIr6SksX0fxP2zU= X-Gm-Message-State: AOJu0YzcNNNmfbdzxR5I2gXmpXIKJtn4L2K5TnnFbI43NpT2Y1P/Mgnc vJdIQjbhKg2XznIuYuVPD2prMCjdyUg1reVR3v7balX4hcimvFRBIy/lS5dO9ZflLFUXirimYU6 6jewk8Z4vggzyyKUxnNsLDxgljgw= X-Google-Smtp-Source: AGHT+IEtjaxsAKbjMJh4SguLy8BOJo3muAwaDuuwB1Os+6qfGRavrS5DCPCW3v8QH8QqCJ0E8/oRfk2Ars/7SB9AGcM= X-Received: by 2002:a50:d795:0:b0:57c:c019:a9f6 with SMTP id 4fb4d7f45d1cf-57d457f60f9mr6988922a12.32.1719374059188; Tue, 25 Jun 2024 20:54:19 -0700 (PDT) In-Reply-To: <86jzid9lbj.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287913 Archived-At: --00000000000008b821061bc2f865 Content-Type: text/plain; charset="UTF-8" > > Eli Zaretskii writes: > > > > > ... So if you could come up with a change to try on > > > top of Org 9.6 that would change it back to use overlays for folding, > > > we could try that and see if the slowdown goes away, and take it from > > > there. > > > > (setq org-fold-core-style 'overlays) ; before Org is loaded > > Thanks. Mitchell and Stefan, can you try this? I tested setting org-fold-core-style to 'overlays before loading org and unfortunately it did not help the slowness in the test org buffer. These are the two lines I tried in separate tests: (setq org-fold-core-style 'overlays) (customize-set-variable 'org-fold-core-style 'overlays) --00000000000008b821061bc2f865 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
>=20 > Eli Zaretskii <eliz@gnu.org>= writes:
>=20 >
>=20 > > ...=C2=A0 So if you could come up with a change to try on
>=20 > > top of Org 9.6 that would change it back to use overlays for fold= ing,
>=20 > > we could try that and see if the slowdown goes away, and take it = from
>=20 > > there.
>=20 >
>=20 > (setq org-fold-core-style 'overlays) ; before Org is loaded
>=20
>=C2=A0 =C2=A0 Thanks.=C2=A0 Mitchell and Stefan, can you try this?
= =C2=A0
I tested setting=20 org-fold-core-style to 'overlays before loading org and unfortunately i= t did not help the slowness in the test org buffer. These are the two lines= I tried in separate tests:

(setq org-fold-cor= e-style 'overlays)
(customize-set-variable 'org-fold-core= -style 'overlays)
--00000000000008b821061bc2f865--