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: Wed, 27 Jul 2022 07:08:25 +0000 Message-ID: <05388e8d880cebbdd45b@heytings.org> References: <837d46mjen.fsf@gnu.org> <174616cd5c33bfc14b1f@heytings.org> <837d44jr4p.fsf@gnu.org> <83bktghrn0.fsf@gnu.org> <8a3eaeef010995a5da8d@heytings.org> <837d40ds09.fsf@gnu.org> <83zggwcby5.fsf@gnu.org> <83o7xccagi.fsf@gnu.org> <831qu7daxb.fsf@gnu.org> <83r127b7kf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12397"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 56682@debbugs.gnu.org, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 27 09:24:27 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 1oGbP9-0002zU-9b for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Jul 2022 09:24:27 +0200 Original-Received: from localhost ([::1]:42638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGbP8-0006LZ-2s for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Jul 2022 03:24:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGbAE-0002Cr-NL for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2022 03:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGbAE-0006c6-Bt for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2022 03:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGbAE-0000gr-4p for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2022 03:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jul 2022 07:09: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.16589057092588 (code B ref 56682); Wed, 27 Jul 2022 07:09:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 27 Jul 2022 07:08:29 +0000 Original-Received: from localhost ([127.0.0.1]:54956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGb9h-0000fg-0E for submit@debbugs.gnu.org; Wed, 27 Jul 2022 03:08:29 -0400 Original-Received: from heytings.org ([95.142.160.155]:54590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGb9e-0000fV-Qz for 56682@debbugs.gnu.org; Wed, 27 Jul 2022 03:08:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1658905705; bh=lE3qiuDTayOZ0sktlJnVWI2Y+MTMohxce3YhsE0BojI=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=ahtCasna8AJue77bVa7ux8ZdU2R0HwN5nt8JEMy6Qc7/NB25/v0lFeWgveSS4voOt v64e/NV/yiEgJu9y9n6AxGXmXM5Hw74SbQkoRBA5wLVOjATgFDxhsgtpD40r+28mVP rXYoIuDbc2lzi0IleF5VjcBVEM0xss6+tAm0LxMsE1EUUR/P29Q7xJW8TVjGd0cnYD ovq4QAkzrbsf6B4Qz1DyJe2liaBwc3UUYUZ7vYYB2w4ESll5M75HST8UxkqsyFH/Wk Hmfnvg6GowZkWQ7QcKpt5GPsclIQPw4goJ3jH3SW5jrnYoGs4x2Ob9uz6Jh1JOtD// J+TwaZsc6Sr1w== In-Reply-To: <83r127b7kf.fsf@gnu.org> 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:238003 Archived-At: > > Even if we decide to disable truncate-lines in such buffers, we won't > prevent users from enabling it. > That's correct, but if they consciously decide to shoot themselves in the foot, that's not Emacs' responsibility anymore. > > And if and when they enable it, we'd still like to give them the best > performance we can. So speeding up the performance when truncate-lines > is enabled is still a worthy goal, although if that is disabled in > long-line buffers, that goal becomes less important. > I fully agree with that. > > I'm trying to speed up these situations as much as possible, and I think > it will serve us well even if we decide to turn off truncate-lines in > long-line buffers. > Thanks!