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: Sun, 07 Aug 2022 17:07:55 +0300 Message-ID: <837d3kxi2s.fsf@gnu.org> References: <05388e8d8836c2e7ef3e@heytings.org> <136c4fe0fcb9ce5181cb@heytings.org> <3d639ea12689d767ba2a@heytings.org> <838ro44fc8.fsf@gnu.org> <3d639ea126d759bddfea@heytings.org> <83y1w42vp4.fsf@gnu.org> <3d639ea12618e6a503af@heytings.org> <83wnbo2uw3.fsf@gnu.org> <3d639ea126e3a4d880b8@heytings.org> <83k07o2izh.fsf@gnu.org> <3d639ea1265c40a07f40@heytings.org> <83h72s2e3o.fsf@gnu.org> <3d639ea126c6b0c6737b@heytings.org> <838ro42b1g.fsf@gnu.org> <3d639ea126db3913202e@heytings.org> <83wnbn264f.fsf@gnu.org> <3d639ea12684115449f8@heytings.org> <83tu6r1b03.fsf@gnu.org> <92da07bd02b96d54dbf4@heytings.org> <835yj62a18.fsf@gnu.org> <92da07bd02f5963a2da4@heytings.org> <83zgghy00k.fsf@gnu.org> <6ae35c93067115557a73@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23409"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 56682@debbugs.gnu.org, monnier@iro.umontreal.ca, dgutov@yandex.ru To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 07 16:09:29 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 1oKgy8-0005ti-J7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Aug 2022 16:09:28 +0200 Original-Received: from localhost ([::1]:33106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKgy7-00051X-4E for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Aug 2022 10:09:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKgxk-00050z-CN for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 10:09:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48262) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKgxi-0005s4-Lx for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 10:09:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKgxi-0003FE-HS for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 10:09: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: Sun, 07 Aug 2022 14:09: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.165988130812432 (code B ref 56682); Sun, 07 Aug 2022 14:09:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 7 Aug 2022 14:08:28 +0000 Original-Received: from localhost ([127.0.0.1]:38011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKgx9-0003ES-LH for submit@debbugs.gnu.org; Sun, 07 Aug 2022 10:08:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKgx4-0003E9-NN for 56682@debbugs.gnu.org; Sun, 07 Aug 2022 10:08:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKgwt-0005ng-Jm; Sun, 07 Aug 2022 10:08:12 -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=p4XxYFF8W+wrvbJ30ATXmpdxm9YPUJKTnnZnCFDNFbs=; b=osJ7Knj2VVbe 3JaAGRkTMh1aYWLytEJ5zLqhBgYVxoKm4UXrAg0gKvqBNVKj4R/LTCal7xk31VfmKwV0u0BdKAnws MYRfNhBPMpLlY3Xqn7GGcgz1+daYJYN+MpSn20odJnZval7fA8wl9qJ45q6JQuFMqGJCI1hpqahBo d+FVnkqskgw1k7mcNHhGmVmz5yWUf0CFGbWdP302ntrlJ3Bq9o/RvAuLTnHRqfiBsfPnh0kUKts4S vbxZyka5QwRJBm1oO2IkHO+F92nPIsR3+knWrMRI7Ip6hb8JuM+fDdo0JXQqZWJxxJn8+nFOsnVTn H0VrdDnA/9BdMf2JUor8EQ==; Original-Received: from [87.69.77.57] (port=1773 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 1oKgwt-0005n0-2j; Sun, 07 Aug 2022 10:08:11 -0400 In-Reply-To: <6ae35c93067115557a73@heytings.org> (message from Gregory Heytings on Sun, 07 Aug 2022 00:29:05 +0000) 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:239064 Archived-At: > Date: Sun, 07 Aug 2022 00:29:05 +0000 > From: Gregory Heytings > cc: gerd.moellmann@gmail.com, 56682@debbugs.gnu.org, monnier@iro.umontreal.ca, > dgutov@yandex.ru > > Thanks! Indeed these problem seem fixed now, it's much better. I did not > see any regressions, if I see anything I'll tell you. One case that still > isn't quite right apparently is the arabic-small.txt.json file. If I open > that file with emacs -Q and type C-f, or C-n, or C-p, point moves to EOB > (but strangly, not in 100% cases), and there C-a, or M-<, or C-p, or C-n > do not seem to work anymore. Indeed. But what you perhaps don't realize is that in this case what is shown on the last screen-full is not EOB, but BOB! That's because everything is reordered for display, so the first character appears last. I've fixed some more issues with such (relatively rare) situations, so now these commands should work more reasonably (but very slowly) after C-f in that file.