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: Fri, 05 Aug 2022 12:42:12 +0000 Message-ID: <92da07bd02b3d9acad33@heytings.org> References: <8c7321f2f3ec1ef81af9@heytings.org> <02e83b0e-1b5c-fe75-6e59-1f8ddff82d37@yandex.ru> <96f28fd8-6744-1925-0631-0095099362dd@yandex.ru> <74ddc877f1b74ab56d18@heytings.org> <83r11y5a9d.fsf@gnu.org> <83h72t5y2d.fsf@gnu.org> <83pmhg4le6.fsf@gnu.org> <83r11v1a9w.fsf@gnu.org> <83bksz0xgw.fsf@gnu.org> <92da07bd02f138b655cb@heytings.org> <2221c152-b4ec-dc46-0446-2a05db6196ab@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="agx0F6srrU" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18651"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 05 14:43:37 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 1oJwfx-0004hm-E0 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 14:43:37 +0200 Original-Received: from localhost ([::1]:56486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJwfw-0006c1-BD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 08:43:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJwfO-00068l-6p for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 08:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJwfN-0002L2-Tg for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 08:43:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJwfN-0000Ul-Oc for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 08:43: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: Fri, 05 Aug 2022 12:43: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.16597033361842 (code B ref 56682); Fri, 05 Aug 2022 12:43:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 5 Aug 2022 12:42:16 +0000 Original-Received: from localhost ([127.0.0.1]:56613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJwed-0000Td-Pc for submit@debbugs.gnu.org; Fri, 05 Aug 2022 08:42:16 -0400 Original-Received: from heytings.org ([95.142.160.155]:40410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJwec-0000TV-BH for 56682@debbugs.gnu.org; Fri, 05 Aug 2022 08:42:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1659703333; bh=HG9lqF9VYCn097KBnwSPtItzXl8dczgNg70x6L5tZFw=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=Cfc+VGGoVZUbEHGT4V4UBTJXK/5xFr/Z/oY0DXyES3gEVpTABOKsvE2xvrueds8o3 8SBlmI5AhVKoF5uq2rWEqSJDbGcHbeS90ygShLZwXxn7y2vF3J7tnN6Kv7L/Nfwq/b c9WiZSll6ofd5EI0jipmjAT/Q7GyLHsnrlfkBtfNyq5TkF0YimTFqNZSVTkhaPXLns EWgRFIxHmx9hJxV7hbRddE+RDQwE9Gu/F1SnN0GijsuP0DbLLb24OfI1kIJpfq1IMp gVUy3Z8m8tMvmwJr5V3+GZGl3KkzHSbosuYV/jmN23N6DmcxCeYfKtLm1+kcV+xZrO CqHgoI0qjiLiQ== In-Reply-To: <2221c152-b4ec-dc46-0446-2a05db6196ab@yandex.ru> 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:238902 Archived-At: --agx0F6srrU Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable >>> The locked narrowing currently in effect makes it impossible to=20 >>> investigate this problem or improve the behavior :-( >>=20 >> How so?=C2=A0 It is fully backward compatible, just (setq=20 >> long-line-threshold nil).=C2=A0 If what you want is only to remove the= =20 >> locked narrowing, comment out the relevant line in xdisp.c. > > That brings back the performance problems in redisplay, which have a=20 > more pronounced effect, overshadowing both issues and potential=20 > improvements in font-lock. > The first option does, the second does not. --agx0F6srrU--