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: Tue, 02 Aug 2022 22:14:56 +0000 Message-ID: <74ddc877f187cd66b722@heytings.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> <83v8rc2n1h.fsf@gnu.org> <74ddc877f128e46733c1@heytings.org> <74ddc877f12af40a651c@heytings.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="25166"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, Eli Zaretskii To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 03 00:16:31 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 1oJ0Bh-0006LT-Bb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Aug 2022 00:16:29 +0200 Original-Received: from localhost ([::1]:46676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJ0Bf-0007gF-Sa for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Aug 2022 18:16:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJ0BH-0007g6-1n for bug-gnu-emacs@gnu.org; Tue, 02 Aug 2022 18:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJ0BG-0007YG-NR for bug-gnu-emacs@gnu.org; Tue, 02 Aug 2022 18:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJ0BG-00042F-JR for bug-gnu-emacs@gnu.org; Tue, 02 Aug 2022 18:16: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: Tue, 02 Aug 2022 22:16: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.165947850215417 (code B ref 56682); Tue, 02 Aug 2022 22:16:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 2 Aug 2022 22:15:02 +0000 Original-Received: from localhost ([127.0.0.1]:45357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJ0AH-00040J-VR for submit@debbugs.gnu.org; Tue, 02 Aug 2022 18:15:02 -0400 Original-Received: from heytings.org ([95.142.160.155]:36164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJ0AE-000400-Ue for 56682@debbugs.gnu.org; Tue, 02 Aug 2022 18:15:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1659478497; bh=7qviVYa4uqrB85r/3KOTcLdlTkx6IIajxwgmMkIc++8=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=yT4eMlF1zya4Gc8i+ieUjxcE4UfcuvnFxuzQpYD2m2XL8m2jTC2EnjWqlUZkqIBSC /s6FzyVvd6sAGQBoo9xHyjEKr/yBLd8OYPCdCkdIsVZrkr4m58lU/ThAezh97uczFi xOs3xF/GN6RzBH/UEyel4y56TApb48qvonZRfvlpegb0CFqnWXj5ZFqWqhH97P8Ont TCbm4QBXicD4pdzIz451HXlB4fz/XGQFnuoyC0+9TDbN06IAPemV0p9LIlWm31PErz 8XF10obn7/SfghNJpxZ+6Z2f3o30PKYrG5uhK9Xm1mMU1oNYhIxE8QnySNo8LtB+a4 GVlf2ceH2N2vw== In-Reply-To: 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:238595 Archived-At: >> I see what you mean now. But I don't think it would work. What I want >> is to take reasonable measures to ensure that Emacs remains responsive >> "in spite of" mode maintainers. > > "Reasonable measures" is good. > > But once you step into "impossible to circumvent", you start going > directly against the goals of Free Software (and Emacs) to empower the > user. > But it is *not* impossible to circumvent. Just add (setq long-line-threshold nil) in your init file, or evaluate it with M-:, or... > > I suffer from the same lack of imagination, as I sure many others here > do. To make up for that, we've learned to follow a philosophy of > empowering the users (and not imposing arbitrary limits just because we > couldn't think of good reasons to go beyond them). > I'm all for empowering the users who want power, and the changeset is, intentionally, fully backward compatible. In fact, strictly speaking, this changeset does exactly that: it empowers users, they can do things they couldn't do earlier. But I'm also for protecting regular users who want a powerful editor that "just works". In the same vein, we are marking a number of local variables as risky, to protect regular users, without preventing users from shooting themselves in the foot by adding (defalias 'risky-local-variable-p 'ignore) in their init file if they see fit.