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: Wed, 10 Aug 2022 13:11:52 +0000 Message-ID: References: <83edxuzemr.fsf@gnu.org> <83a68hzz0a.fsf@gnu.org> <6ae35c93062c589b2e02@heytings.org> <7b7fbad7-55ac-49b8-840f-7f89a7e8771a@yandex.ru> <6ae35c93064b3588974c@heytings.org> <6ae35c9306c515f420d8@heytings.org> <87k07gwkjq.fsf@gmx.net> <87fsi4wiel.fsf@gmx.net> <837d3gs4p0.fsf@gnu.org> <83tu6kqnf1.fsf@gnu.org> <8735e4w8p6.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37369"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, Eli Zaretskii , monnier@iro.umontreal.ca, dgutov@yandex.ru To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 10 15:35:02 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 1oLlrR-0009Vw-RP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Aug 2022 15:35:01 +0200 Original-Received: from localhost ([::1]:55396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLlrQ-0005qq-Ly for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Aug 2022 09:35:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLlVD-0004xF-3q for bug-gnu-emacs@gnu.org; Wed, 10 Aug 2022 09:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57130) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLlVC-00034W-QN for bug-gnu-emacs@gnu.org; Wed, 10 Aug 2022 09:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLlVC-0002tU-IC for bug-gnu-emacs@gnu.org; Wed, 10 Aug 2022 09:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Aug 2022 13:12: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.166013711811113 (code B ref 56682); Wed, 10 Aug 2022 13:12:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 10 Aug 2022 13:11:58 +0000 Original-Received: from localhost ([127.0.0.1]:46879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLlV7-0002tB-NL for submit@debbugs.gnu.org; Wed, 10 Aug 2022 09:11:57 -0400 Original-Received: from heytings.org ([95.142.160.155]:47262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLlV4-0002t1-Ro for 56682@debbugs.gnu.org; Wed, 10 Aug 2022 09:11:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1660137112; bh=ZLQ/TfM+ovIw1lavqixkqvob8YYj6BoZJx8QhwhAajc=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=P/mzbT7izsTKk89ZQMrV04OUdmwCgkDgEwwUf9XFm1UOzHQBlXbF7hGaWQ2hy7mXi fLHPRVha8nAQ9y1Q9WrPwh3fIRMsMUepNO9XuZ/DxRMtRrRyUElN/L1gXotfRs1kkw br6YTyECFvqz4chUvlpTaQa2c68gr+f97BkNVbBRz7Ye4dsHXd9DVoNtATj0XLxiPR Jn8VgDhLILBLmgnyQxbh4AVpGURu0kS86wEoQBLKtMFKI+ApMOpWUv4mKK/4W4uDiD wkQ3JFJKsG+jHBXjlWwIhki895xLM9cl96xbaE9tI9thYM8veKzBTxcwEq5hVaMlQa RyZKxP4t/p6kQ== In-Reply-To: <8735e4w8p6.fsf@gmx.net> 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:239293 Archived-At: >> I'm not completely sure he did indeed remove those three brackets. >> Stephen, can you remove the three characters at positions 1, 22 and 23, >> and try again? These are the first two '{' and the first '[' characters >> in the buffer. > > I did remove those brackets previously; the improvement I see is that, > without them (and even without removing the corresponding closing > brackets at the end of the file, and of course with bidi-inhibit-bpa > nil), holding down `C-n' moves the cursor almost a whole screenful (~60 > visual lines) before coming to a halt, instead of just three visual > lines with the initial brackets, and after letting go of `C-n', the > cursor catches up to the actual position of point noticeably quicker > than with the unaltered file. Still, the movement is not at all smooth, > unlike with bidi-inhibit-bpa non-nil (and that is not as smooth as > moving through the same file with so-long-mode enabled). > Is that with emacs -Q? And with show-paren-mode disabled?