From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Tue, 16 Aug 2022 10:31:54 -0400 Message-ID: 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> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25213"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56682@debbugs.gnu.org, gregory@heytings.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 16:33:34 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 1oNxdO-0006K1-7T for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 16:33:34 +0200 Original-Received: from localhost ([::1]:53780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNxdN-0001g5-6U for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 10:33:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNxct-0001fl-2a for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 10:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58211) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNxcs-0005wE-PT for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 10:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNxcs-0005lC-EM for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 10:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Aug 2022 14:33: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.166066032922066 (code B ref 56682); Tue, 16 Aug 2022 14:33:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 16 Aug 2022 14:32:09 +0000 Original-Received: from localhost ([127.0.0.1]:47957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNxc1-0005jq-Fw for submit@debbugs.gnu.org; Tue, 16 Aug 2022 10:32:09 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:40982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNxbz-0005jd-25 for 56682@debbugs.gnu.org; Tue, 16 Aug 2022 10:32:07 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id CD7F54413FB; Tue, 16 Aug 2022 10:32:00 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 9A7D84410A9; Tue, 16 Aug 2022 10:31:59 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1660660319; bh=WrCc7fVR0U2C4c990eSL2aJoNItio+b6zztUo4AselQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fxD5MWOM+SGgEg5mq5tI1SkcOiHHfKR/CtVrYyltyGw/hjqmLIz/4uhjIsOxbhKDf YFcaSajANJnEC5hl5JDBhnMxGuvZxJVEQDia7CNK7nLsZKom4+oVTZAW0bMFPGc55i +hyHSiHHyta2JEzNwHyrkz6gaZ9jUx9GgW+w4Afj4/9SitM+hOxVbzCp5NyCZrEExp jyS+6J2qB8iaIQvAGHt6LcxSiMjdZyVt7h/y5VvB9a5H+fCxiAJRSKhfoXkDl3z0pM xL0/+8TIZjFxbRodE9KhbnBGj53kFZ3PhaplEQFGyGD1DwdTOrc7Uerp50q1mD46rW vmhMboFF/AMBw== Original-Received: from pastel (unknown [45.72.195.111]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6294A120304; Tue, 16 Aug 2022 10:31:59 -0400 (EDT) In-Reply-To: <831qtgff78.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Aug 2022 17:14:35 +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:239958 Archived-At: 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? Stefan