From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Tue, 26 Jul 2022 06:52:00 +0000 Message-ID: References: <837d46mjen.fsf@gnu.org> <8335esjppt.fsf@gnu.org> <837d43j198.fsf@gnu.org> <83y1wjhkkh.fsf@gnu.org> <83wnc3hkdg.fsf@gnu.org> <49df74e5-e16a-a532-98d1-66c6ff1eb6c6@yandex.ru> <83pmhuft5a.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9729"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 56682@debbugs.gnu.org, Eli Zaretskii , monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 26 08:53: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 1oGERb-0002MI-MP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jul 2022 08:53:27 +0200 Original-Received: from localhost ([::1]:54952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGERa-0000K9-6d for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jul 2022 02:53:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGERC-0000Jl-57 for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2022 02:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGERB-0000tM-SL for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2022 02:53:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGERB-0005oF-PC for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2022 02:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jul 2022 06:53: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.165881832622235 (code B ref 56682); Tue, 26 Jul 2022 06:53:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 26 Jul 2022 06:52:06 +0000 Original-Received: from localhost ([127.0.0.1]:52038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGEQH-0005mX-TG for submit@debbugs.gnu.org; Tue, 26 Jul 2022 02:52:06 -0400 Original-Received: from heytings.org ([95.142.160.155]:53072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGEQE-0005lx-3g for 56682@debbugs.gnu.org; Tue, 26 Jul 2022 02:52:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1658818320; bh=qv2w7fBfj3ttcpOd0liSYEwaFXTxwiY8/Fe2yW55oBc=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=I2U1tJf6LS1NCxfIYO9mqjgAyb6ZmYD1LmB2d+8y0pjXsXawTV9at/GSFdt1+FFm4 X5yGq9UAHDdZW4t/ZD29mKQRlGMO6gsTC22PEqd3tjSNHd6Mi2/EIx19HYxpZIO5bB WebiBNRhRoc9SfUapTsOS54GRqYfPwS1KQ/WK8aJze2SogKeaH77Wc1GBbcb30Wnsh MmvLyxQdV4VNNWn4/A+aigD44yP3j5DAvRTEExzbbByUeDgCY4CSY3tswSuA9Do/ps Qe5CmhlCmvMhEDiyPvySlv4xGamUNnttwkatuPz0md7/j+A6x1Wiac3oooJSaDvXGe bpL8sgyYx4NVQ== In-Reply-To: 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:237925 Archived-At: > > With font-lock, it seems to get progressively slower the farther you get > along the current (long line). > > E.g. you can have a long line spanning several screenfuls without line > breaks. When the window is scrolled to the beginning, redisplay is > relatively fast (I can press up/down arrows, and they seem responsive). > > But if I scroll the window to the end of said long line, up/down > commands become much less responsive. > > Tested that with today's master and js-mode visiting a minified JS file. > You should have tried the feature/long-lines-and-font-locking branch instead, where that problem has been fixed a few hours ago.