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: Wed, 03 Aug 2022 16:36:05 -0400 Message-ID: References: <65cb7c73fd4a999cca00@heytings.org> <8c7321f2f3400a5db9be@heytings.org> <8c7321f2f388e5343475@heytings.org> <6ea376f6-d503-06d8-6d83-50c52b695394@yandex.ru> <8c7321f2f3ac52bfee4b@heytings.org> <8c7321f2f3ec1ef81af9@heytings.org> <02e83b0e-1b5c-fe75-6e59-1f8ddff82d37@yandex.ru> <96f28fd8-6744-1925-0631-0095099362dd@yandex.ru> <74ddc877f1e81f399eea@heytings.org> <83les55yqc.fsf@gnu.org> 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="4250"; 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.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 03 22:37:25 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 1oJL7N-0000uV-BP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Aug 2022 22:37:25 +0200 Original-Received: from localhost ([::1]:45360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJL7L-0006Jz-Rl for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Aug 2022 16:37:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJL72-0006Jo-4u for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 16:37:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJL70-0003wx-GI for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 16:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJL70-00052A-AR for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 16:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Aug 2022 20:37: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.165955897719291 (code B ref 56682); Wed, 03 Aug 2022 20:37:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 3 Aug 2022 20:36:17 +0000 Original-Received: from localhost ([127.0.0.1]:50047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJL6H-000514-HV for submit@debbugs.gnu.org; Wed, 03 Aug 2022 16:36:17 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:38235) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJL6G-00050s-4p for 56682@debbugs.gnu.org; Wed, 03 Aug 2022 16:36:16 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D198580767; Wed, 3 Aug 2022 16:36:10 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 4B4BC804E6; Wed, 3 Aug 2022 16:36:09 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1659558969; bh=FL+uMuRFiLRV5B57+14hx1jJaQBjmrMpbVbkqHhc54Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=SkrW6zF4kRED98VjIGJxBeiumb7e8FaIq/7EE1K7+t3++zpfkADhIub9JoBlTzGPJ HqasdxTQzDmd57zdHnYHwUZKHdDo5HO19U+LUM3hXyOUIX5ePeD5VREzpjPhOUHqWR djqSrXifoQSL45zDwTGCM6sdYGW+fdtF+wyT62vDixHq9TD109KQ9LUP5lr19SyOD0 JyKzQyS6Ek5bOQss0puXyp7UwGAFcjwAM4FY1hUb+ft6ceTa/bJ20L6NJgLwV97OEO afhHZgm9zvcQOyhVBZ9gYgxWdDyszNwriqIaUM727bUh7gkqN2yWvoxdJmkYcJsgXp iEwazWx5qXHHA== Original-Received: from milanesa (unknown [46.44.221.102]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 567931202C1; Wed, 3 Aug 2022 16:36:08 -0400 (EDT) In-Reply-To: <83les55yqc.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 03 Aug 2022 14:54:19 +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:238650 Archived-At: > What do you mean by "accidentally" in this context? A program rarely > does anything "accidentally", it almost always does what the > programmer wanted it to do. I mean that currently font-lock just blindly widens all the time, so we should fix it so it only widens when it's expected to (i.e. not when the widening is installed by the LLT code). Stefan