From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#71644: 30.0.50; Severe slowdown in larger files with markers beginning in emacs 29+ Date: Wed, 26 Jun 2024 12:35:55 +0000 Message-ID: <87zfr7lw44.fsf@localhost> References: <86ed8tozub.fsf@gnu.org> <86jzijmo5a.fsf@gnu.org> <87h6dmbyy2.fsf@localhost> <87wmmhgjao.fsf@localhost> <861q4k9bjh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29516"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mitchellahren@gmail.com, Stefan Monnier , 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 14:35:16 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 1sMRrn-0007KN-GX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Jun 2024 14:35:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMRrZ-0000Sf-LH; Wed, 26 Jun 2024 08:35:01 -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 1sMRrY-0000SM-Hn for bug-gnu-emacs@gnu.org; Wed, 26 Jun 2024 08:35:00 -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 1sMRrY-0007IR-9q for bug-gnu-emacs@gnu.org; Wed, 26 Jun 2024 08:35:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMRra-0007EN-3S for bug-gnu-emacs@gnu.org; Wed, 26 Jun 2024 08:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jun 2024 12:35: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.171940527027750 (code B ref 71644); Wed, 26 Jun 2024 12:35:02 +0000 Original-Received: (at 71644) by debbugs.gnu.org; 26 Jun 2024 12:34:30 +0000 Original-Received: from localhost ([127.0.0.1]:38739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMRr4-0007DW-33 for submit@debbugs.gnu.org; Wed, 26 Jun 2024 08:34:30 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:54589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMRr2-0007DB-80 for 71644@debbugs.gnu.org; Wed, 26 Jun 2024 08:34:28 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 43AD7240103 for <71644@debbugs.gnu.org>; Wed, 26 Jun 2024 14:34:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719405259; bh=+uMHnMZivwfdkeQCyklvXEWVHUuHHxBmQJaD4ZJ+FQ0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=X5wb+jrnn5vy+NDblylJtTRHrFGPtQY7Za6+OxMSErxabjHnJA5CfH8hWchbLbIi0 hvfFLFksX37Ra64vPAEstfHZP87e+ZVNhkJX4kSn9ILIrxhW7pqrj/dEkenRV6u9Ve b9S/nB0iXaMqFAQEeXCY2BezC9pLNNyC3X/NXI5iYQcf1OeKtnPYEBucrNBphbFE/s C4TUB9obZpdJkzro0DIGoF39caPkkzgGKWd2RIvR+bXOIbusYuJ3b9tM91YDMWQ7LS P2Q8Gpkz8VISTP+TsDBauTnHey3skkYtOMUUFqctrLb+rB6CEZGlNYI4i06VO0PPIO ltyCzDd94ImbQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W8Ljh1rKrz9rxK; Wed, 26 Jun 2024 14:34:16 +0200 (CEST) In-Reply-To: <861q4k9bjh.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:287933 Archived-At: Eli Zaretskii writes: > And questions to Ihor: what are the reasons Org creates these markers? > In particular, is there any way to know or guess whether these markers > will be distributed more-or-less evenly over the buffer text, or > clustered near some specific positions? Also, does Org move these > markers frequently, or do they stay put once created? In this particular case, with the reproducer we are using here, Org does not create markers. `councel-outline' does - for every headline in buffer with marker pointing to the beginning of each headline. These markers are distributed as headlines do. Org mode may also create markers in some scenarios. Also at headlines, but not necessarily _all_ headlines. org-agenda creates markers for every headline that is displayed in agenda (matches agenda search criterion). org-refile creates markers for each top level heading (by default). org-goto creates markers for each heading down to level 5. Org mode does not move these markers frequently, except markers created by agenda, when a heading is killed/yanked via org-cut-special/org-paste-subtree or org-refile commands. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at