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: Sun, 14 Aug 2022 17:54:03 +0000 Message-ID: <5900f208366acefabeef@heytings.org> References: <92da07bd02a6cc861e1a@heytings.org> <837d3lzv8n.fsf@gnu.org> <2c8d6755-cfe2-6559-3fde-3fa30ffb411e@yandex.ru> <83mtcgy44k.fsf@gnu.org> <83k07jx5jn.fsf@gnu.org> <866e510d-a060-7daa-d002-97861d056fa7@yandex.ru> <1144021660321893@iva5-64778ce1ba26.qloud-c.yandex.net> <12348081660379417@sas2-a098efd00d24.qloud-c.yandex.net> <66bbbb95983414e79637@heytings.org> <66bbbb95983475c5f3b0@heytings.org> <0d67f253-c080-d750-c2cb-4a9591ff8c6c@yandex.ru> <83lerrl734.fsf@gnu.org> <83wnbbj7v4.fsf@gnu.org> <75c316c0-3346-e702-b114-41a7f899deb1@yandex.ru> <5900f20836ca3f305df8@heytings.org> <8ef8eaba-1add-e87e-247e-71888beaf1f8@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="uum2HVoWeR" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14210"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 Sun Aug 14 19:55:20 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 1oNHpX-0003Uh-GB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 19:55:19 +0200 Original-Received: from localhost ([::1]:37374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNHpV-0008H8-6V for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 13:55:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNHpG-0008Gk-9t for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 13:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50109) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNHpG-00075w-10 for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 13:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNHpF-0007tR-TC for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 13:55: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: Sun, 14 Aug 2022 17:55: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.166049964730266 (code B ref 56682); Sun, 14 Aug 2022 17:55:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 14 Aug 2022 17:54:07 +0000 Original-Received: from localhost ([127.0.0.1]:39855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNHoN-0007s5-Gt for submit@debbugs.gnu.org; Sun, 14 Aug 2022 13:54:07 -0400 Original-Received: from heytings.org ([95.142.160.155]:52982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNHoL-0007rx-9D for 56682@debbugs.gnu.org; Sun, 14 Aug 2022 13:54:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1660499644; bh=LcicaBRWgjEYTQSQBe1DZy/sVSLdtOBC8wIoNb6ffKQ=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=u7WOh4MuV9rFwyePyvLu3dN2FW6TMIoaAbnOSXmqr2ej4K8rmS9e16FC3u7Ekq3Ib kwuBBQl+Tmy/RbzpEGfTqKT1LFEtSmPN/TEYxGIr9SYqgcptKOE3NyPE5cdEsfGE6T 7iY9Vkks1bj4SNkbm5bfrnR98Ss1rO3e42Nq5c6KuMH6OPId8wH0FduxdkQB1BhFrH yc4vUsvHFJH950ncKn+mIKqCyFcfDnsFEnuSvMDU8SUMP58JG3tcuTpaIxrq/xAmq2 9XNhbia7pMokwdmnmzH+29GAjuQJV4HzLPiapTYQF1peruHLK/Z8cXgBhfuFdOcIiI 4H5T/PbBl31Iw== In-Reply-To: <8ef8eaba-1add-e87e-247e-71888beaf1f8@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:239683 Archived-At: --uum2HVoWeR Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable >> If the conclusion is, after some reasonable effort, that there is no=20 >> way to make syntax-ppss significantly faster in one way or another in=20 >> such cases, and that there is no way to make font locking reasonably=20 >> accurate even when it doesn't have access to the whole buffer, it might= =20 >> make sense to provide user options to fine-tune the behavior.=C2=A0 But = we=20 >> are not there yet. > > Both conclusions lead to removing the applications of narrowing from=20 > handle_fontified_prop. > I have seen no effort whatsoever to make syntax-ppss significantly faster= =20 in one way or another. --uum2HVoWeR--