From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Fri, 05 Aug 2022 14:48:30 +0300 Message-ID: <834jyq29o1.fsf@gnu.org> References: <837d46mjen.fsf@gnu.org> <8a3eaeef01be5bfaa5ef@heytings.org> <05388e8d8812bfa3695d@heytings.org> <83v8rf5894.fsf@gnu.org> <65cb7c73fd4a999cca00@heytings.org> <8c7321f2f3400a5db9be@heytings.org> <8c7321f2f388e5343475@heytings.org> <8c7321f2f36494299e61@heytings.org> <8c7321f2f336523624e3@heytings.org> <83r1202meh.fsf@gnu.org> <6020ffaf-9069-0070-76cf-a13379ef01b5@yandex.ru> <83les71ilg.fsf@gnu.org> <06c5560d-3009-e5a5-3d33-fe5d2ec32d6b@yandex.ru> <74ddc877f17a06d8f120@heytings.org> <100d08b3-c25b-683f-6def-39052107ab59@yandex.ru> <83h72r16g1.fsf@gnu.org> <640c2e07-98e1-96d6-bb02-19f5f03f637f@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7466"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, gregory@heytings.org, monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 05 13:52:12 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 1oJvsB-0001nZ-GW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 13:52:11 +0200 Original-Received: from localhost ([::1]:57800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJvsA-0005Ym-C8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 07:52:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJvp9-0003T6-S2 for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 07:49:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38433) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJvp9-0007Qb-0H for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 07:49:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJvp7-0005DA-RN for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 07:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Aug 2022 11:49: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.165970012020000 (code B ref 56682); Fri, 05 Aug 2022 11:49:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 5 Aug 2022 11:48:40 +0000 Original-Received: from localhost ([127.0.0.1]:56415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJvol-0005CW-Jm for submit@debbugs.gnu.org; Fri, 05 Aug 2022 07:48:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJvoj-0005CH-Tv for 56682@debbugs.gnu.org; Fri, 05 Aug 2022 07:48:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54918) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJvoe-0007MP-K8; Fri, 05 Aug 2022 07:48:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=YvL29cVdNrLQ1Zs3g5Dm2NfdFAMbABinX+BeiPcJrY8=; b=jKN89ak1Y5mr 6ZK0/VsfI9uFPcVOTt/oYL6CGIPgvlhLvl3SJkKT+Jx0AFnO6rq1WpT3Z78+aKxpWroQ6r3NyxXp6 ZZ4c34zAF1oqJ7bY4Iqu/oBwPrlj3u4e9yZ6pCXvTTUe33Zua+nqomtIzAWKloABHhk9Ouf2VdouF 69pvEE5QI8WKcHAXYeevdg3ZhdcQ8KPna48iD1/sH7vumPnhxH6Jk0y5L8wVbMqrw8ajxh12QQ0kK zDmvp3DzoPZWbvS8IeDbyW1CJCJOnCteX9+DjpSS8hfSozuAivrXY+745zYw5Uhqk+FUHzmd5N37D VPbt5BXiZk9TCiRylgChAw==; Original-Received: from [87.69.77.57] (port=4758 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJvoe-0008VH-2A; Fri, 05 Aug 2022 07:48:32 -0400 In-Reply-To: <640c2e07-98e1-96d6-bb02-19f5f03f637f@yandex.ru> (message from Dmitry Gutov on Fri, 5 Aug 2022 14:34:12 +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:238870 Archived-At: > Date: Fri, 5 Aug 2022 14:34:12 +0300 > Cc: gregory@heytings.org, 56682@debbugs.gnu.org, monnier@iro.umontreal.ca > From: Dmitry Gutov > > We really have different problems and thus need different solutions for > them. Not just one blunt instrument. The current opinion of both the head maintainers and of Gregory is that these are all parts of the same problem, and a single class of solutions can solve most of them. The problem being that many portions of Emacs code involved in navigation and redisplay don't expect lines to be too long, and therefore employ algorithms that don't scale well with line length. Preventing such code from going far back to the beginning of the previous line, and then coming back through all that text, is therefore an idea that should appear very reasonable. It also works surprisingly well in practice, at least according to what we know at this point. I get it that you disagree, but I haven't seen any real data behind your dissenting opinions, and thus I don't yet see any reason to reconsider changing the direction of development in this regard.