From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Mon, 15 Aug 2022 17:42:01 -0400 Message-ID: References: <5308e3b5-a160-17d7-77ee-b1d00acfa20d@yandex.ru> <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> <83wnb9hadb.fsf@gnu.org> <395454dd-7238-c5d0-e924-2f65a186baa7@yandex.ru> <83r11hh4pm.fsf@gnu.org> <3a1232a17b09ce88af40@heytings.org> <4ebdfdc3-4aeb-7ebb-b5ba-43b5c9b0aaa1@yandex.ru> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20834"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56682@debbugs.gnu.org, Gregory Heytings , Eli Zaretskii To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 15 23:43:10 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 1oNhrZ-00057n-TC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 23:43:10 +0200 Original-Received: from localhost ([::1]:48984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNhrY-0003cE-Tv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 17:43:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNhrS-0003bW-FA for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 17:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54497) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNhrS-0004u3-6J for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 17:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNhrR-0008AS-Ur for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 17:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Aug 2022 21: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.166059973731345 (code B ref 56682); Mon, 15 Aug 2022 21:43:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 15 Aug 2022 21:42:17 +0000 Original-Received: from localhost ([127.0.0.1]:44246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNhqj-00089V-5z for submit@debbugs.gnu.org; Mon, 15 Aug 2022 17:42:17 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNhqe-00089D-2u for 56682@debbugs.gnu.org; Mon, 15 Aug 2022 17:42:16 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A893F80470; Mon, 15 Aug 2022 17:42:06 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 50B658004C; Mon, 15 Aug 2022 17:42:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1660599725; bh=qN9/KeovRyluQtv3n8szRrWDJwXFXp0dXa0fKQICZF8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=HWgsMQZW2ym6bqQPQByHmUxPTpiLJM6Qio50wijpd0QZMvHaxwFOpJihoet4F5Op9 6rc6+3Pyh/vyROmh388WESuGPpA9ettnoDLUGryc8q+JVOHYCx6zi6waD3BrJJ39JH CxBuH46df2a62D5O03LdeJTIlp2amaUywMqXySl+13Ul7F8luvuI2iRPTzWg/tr1Xo WD+nzuQXskhsDxG0I7na4WzFKZPMi+nlT1Qaq/wT7yLxomVj4ruaH/67/McmH1ua5q Xa5K3VlZlsuB9SAM/zYezMLbYXTYG5K930TBUGBZkO9aZqXjGjvvETk3ScxPJPMQID e7VzS61VPsM7g== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 39439120283; Mon, 15 Aug 2022 17:42:05 -0400 (EDT) In-Reply-To: <4ebdfdc3-4aeb-7ebb-b5ba-43b5c9b0aaa1@yandex.ru> (Dmitry Gutov's message of "Mon, 15 Aug 2022 23:17:46 +0300") 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:239845 Archived-At: >> FWIW, I strongly object to the addition of such a variable (unless it is >> clearly stated that it is added temporarily and should not be used except >> for testing purposes). >> Adding such a variable only two weeks after locked narrowing has been >> introduced means that modes will have little incentive to adapt to that >> stronger constraint, if they can "fix" whatever problems that constraint >> might cause by setting that variable to nil in their initialization hooks. > I don't think major modes would take advantage of that var. > I hope not, at least. I wouldn't mind because if things get slow, we get to point the finger squarely at the culprit. Stefan