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 20:26:23 +0300 Message-ID: <83r11gdrr4.fsf@gnu.org> References: <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> <83zgg4dw4y.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38385"; 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 19:27:36 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 1oO0Ln-0009rt-P7 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 19:27:35 +0200 Original-Received: from localhost ([::1]:54880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oO0Lm-0008IQ-A9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 13:27:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO0LG-0008I3-1n for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 13:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oO0LF-0001B4-Pq for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 13:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oO0LF-0001pt-MB for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 13:27:01 -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 17:27:01 +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.16606708057035 (code B ref 56682); Tue, 16 Aug 2022 17:27:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 16 Aug 2022 17:26:45 +0000 Original-Received: from localhost ([127.0.0.1]:48207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO0Kz-0001pP-0i for submit@debbugs.gnu.org; Tue, 16 Aug 2022 13:26:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO0Kx-0001pC-ME for 56682@debbugs.gnu.org; Tue, 16 Aug 2022 13:26:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO0Kq-00019o-SH; Tue, 16 Aug 2022 13:26:38 -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=49wyXUd5+fQ7xZw3IMny/GHSQrLuef1cApPGS1cv3GI=; b=g9NSus4mLQF0 st3j9XNE0VKVlmCaQiigZDtIGq0me3cyAE1X5eMPNhKmr1yXd7VHHmT38DDK1kG9da/rIrvtEbCXA z+gEdY3mx3DvBDoSHpJnUp0FvvHZ/l4NRV9RqJwAlt1eDcAQFyEOIRjX8VXADQdWMx61V9PHpZ+hN UJTA8SZPPwvk1NbZ98GzMpgll5ZTmHDF2wa2ZphcQRPdEzDR/hXU9J5t8uxDgXkw/YMrSrYvl+Wms YFh36uLPc8hvF0Oy6hWZ9uzDMLcIxLFGkWjpux07XSq3VGu2bHFl0PFZl54Yvtxar8ISm4dfPGEg9 A/6TT9eVGSe0yKrB6h5Z0Q==; Original-Received: from [87.69.77.57] (port=1520 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 1oO0Kq-0000fr-BK; Tue, 16 Aug 2022 13:26:36 -0400 In-Reply-To: (message from Stefan Monnier on Tue, 16 Aug 2022 13:15:04 -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:239981 Archived-At: > From: Stefan Monnier > Cc: dgutov@yandex.ru, 56682@debbugs.gnu.org, gregory@heytings.org > Date: Tue, 16 Aug 2022 13:15:04 -0400 > > Eli Zaretskii [2022-08-16 18:51:41] wrote: > >> 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. > > How? I'm sure you can figure it out if you just think for a few seconds. But if you want me to do it for you, then please tell which changes do you want to try and in what situations, because the technique depends on that. (Not that I understand where are you going with this. Especially since a feature to unlock the narrowing is just one simple commit away.)