From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#57150: 29.0.50; [PATCH] Add test coverage for overlay modification hooks Date: Tue, 16 Aug 2022 22:50:38 -0400 Message-ID: References: <87ilmygjyv.fsf@rfc20.org> <878rns946i.fsf@localhost> <87zgg7fyb8.fsf@rfc20.org> <87y1vqxhw2.fsf@localhost> <83mtc5iw80.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38204"; mail-complaints-to="usenet@ciao.gmane.io" Cc: matt@rfc20.org, yantar92@gmail.com, 57150@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 17 04:51:13 2022 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 1oO99F-0009kR-Di for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 04:51:13 +0200 Original-Received: from localhost ([::1]:56920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oO99E-0005Pr-5v for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 22:51:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO994-0005Nn-O0 for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 22:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59134) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oO994-0002n5-C6 for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 22:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oO994-0001jV-6H for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 22:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Aug 2022 02:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57150 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57150-submit@debbugs.gnu.org id=B57150.16607046476618 (code B ref 57150); Wed, 17 Aug 2022 02:51:02 +0000 Original-Received: (at 57150) by debbugs.gnu.org; 17 Aug 2022 02:50:47 +0000 Original-Received: from localhost ([127.0.0.1]:48878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO98o-0001ig-Tk for submit@debbugs.gnu.org; Tue, 16 Aug 2022 22:50:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO98l-0001iN-Mv for 57150@debbugs.gnu.org; Tue, 16 Aug 2022 22:50:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO98g-0002iV-Cg; Tue, 16 Aug 2022 22:50:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=2wIhlqsOBxoP3SUFQ8mK3e97k2ROZDbrkjGjNn/P+VY=; b=bbVQBfBWigJQ OzCzFfx+Nq9NAsM06iI5ZumnZr2ErAKzvj26wvRqzNOZm13OOpbxIeH6gUnf+Z3wGdf+qOt4V3LXJ ZDjqpk40HDrMYcFkc1fOOYsZ592ZdqyLJHZ6r6aZkacv0BoPWjn+RU3Vig8mrhxOanUzH5zcuarKk Enl2tljMK1FVlvDjz5SUwcZ9mYDYt5yIKEF+bk4Crw0MMfp75kD1p9S/76X2tRqLZ2+9Q+mqQRHPh 4wedocvfqmKmdU45LLPrPCNx8csre2W29JGyNZzK3++1PTYem5rKnVXqsBUTy5wpo2E8KboWUHHme +1NadMdz/e7jOMj+wA2V+Q==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oO98g-0008JS-3o; Tue, 16 Aug 2022 22:50:38 -0400 In-Reply-To: <83mtc5iw80.fsf@gnu.org> (message from Eli Zaretskii on Mon, 15 Aug 2022 14:26:23 +0300) 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" Xref: news.gmane.io gmane.emacs.bugs:240025 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > The problems with overlays in Emacs are much wider than just Org. Our > performance sucks in many cases because of that. Just two examples > that were mentioned lately in the "long-line optimizations" > discussion: show-paren-mode and isearch-lazy-highlight -- each one of > these two is capable of literally bringing Emacs to its knees, > response-time wise. The first question is, should these use text properties instead of overlays? Are they using many overlays to highlight many potential matches in a long buffer? If so, would it make sense to show, at any time, only those that are near point? When you move to a far-away part of the buffer, it could add highlighting to the matches near there. But maybe it can avoid ever trying to highlight more than a few parts of the buffer. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)