From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Tue, 16 Aug 2022 18:51:41 +0300 Message-ID: <83zgg4dw4y.fsf@gnu.org> References: <83k07jx5jn.fsf@gnu.org> <866e510d-a060-7daa-d002-97861d056fa7@yandex.ru> <1144021660321893@iva5-64778ce1ba26.qloud-c.yandex.net> <12348081660379417@sas2-a098efd00d24.qloud-c.yandex.net> <66bbbb95983414e79637@heytings.org> <83wnb9hadb.fsf@gnu.org> <395454dd-7238-c5d0-e924-2f65a186baa7@yandex.ru> <83r11hh4pm.fsf@gnu.org> <3a1232a17b09ce88af40@heytings.org> <83edxghqg2.fsf@gnu.org> <325f95fd2bcc0b666b0b@heytings.org> <83edxgfi75.fsf@gnu.org> <5e3c3081-f098-8140-c767-b895c32bf30b@yandex.ru> <835yisffil.fsf@gnu.org> <831qtgff78.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19899"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, gregory@heytings.org, dgutov@yandex.ru To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 17:53:26 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 1oNysf-000527-Gk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 17:53:25 +0200 Original-Received: from localhost ([::1]:43550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNyse-0004S4-Gq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 11:53:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNysI-0004RM-JT for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 11:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNysI-0003UR-6i for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 11:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNysI-0007pb-2m for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 11:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Aug 2022 15:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56682 X-GNU-PR-Package: emacs Original-Received: via spool by 56682-submit@debbugs.gnu.org id=B56682.166066512330024 (code B ref 56682); Tue, 16 Aug 2022 15:53:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 16 Aug 2022 15:52:03 +0000 Original-Received: from localhost ([127.0.0.1]:48085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNyrK-0007oB-M1 for submit@debbugs.gnu.org; Tue, 16 Aug 2022 11:52:02 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNyrH-0007nf-BX for 56682@debbugs.gnu.org; Tue, 16 Aug 2022 11:52:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNyrB-0003Ke-SS; Tue, 16 Aug 2022 11:51:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HPiagy5Ls6/+VoFtnHoG/dEq3HcoaTNIZUYcEBo+sLU=; b=dyHKG7gQRDiZ +OupLlTwiFfxB7hXGcklx9AZldmjg3QWXMzv/u8fT6Znaz4PeS8iRN4bu/KH9BKLI/36PWSh/lCIy KjSeKRA4jzp2AxFps31mOpfYt+Gujux2RXjA4DC7gGnxr5nXYSxfFb4LRDi4eWkR43F+dIhlwUZ7l WO/mBoNayRBZtNpooteZaniPVrX6QkHWkhVyHVuOidi4VtAtPGJe3L2K+NrO8JvPHiqT2Y955s+2/ pCMC7ZKGAaB/3aLdEQHDUNFJUlxNNN5qJqdKnSz87F+wQxc94SB4EMGlGh61gcVXsJHndbdmTAPNB NSIrcN3ZBYMwGmwKJr2XbQ==; Original-Received: from [87.69.77.57] (port=3499 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNyrB-0007wN-CJ; Tue, 16 Aug 2022 11:51:53 -0400 In-Reply-To: (message from Stefan Monnier on Tue, 16 Aug 2022 10:31:54 -0400) 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:239969 Archived-At: > From: Stefan Monnier > Cc: dgutov@yandex.ru, 56682@debbugs.gnu.org, gregory@heytings.org > Date: Tue, 16 Aug 2022 10:31:54 -0400 > > Eli Zaretskii [2022-08-16 17:14:35] wrote: > >> >> >> The locked narrowing prevents that "last mile", sadly. > >> >> > Nonsense, it doesn't prevent any such things. > >> >> > Let's not exaggerate when we try to make a point, okay? > >> >> Why nonsense? > >> > Because it takes no effort to override it and then try changes in any > >> > major mode. > >> AFAIK it requires recompiling Emacs > > No, it doesn't. > > I missed it then: you're saying that I can make nlinum-mode override the > locked narrowing to find the real current line number without having to > recompile Emacs? No, I'm saying that you can test improvements in nlinum-mode that would make it work better with long lines without recompiling.