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, 16 Aug 2022 08:12:55 +0000 Message-ID: <325f95fd2b09b959fddd@heytings.org> References: <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> <3a1232a17b80387503f4@heytings.org> <881ac6c7-116c-49d0-8f19-4a3778260914@yandex.ru> <3a1232a17b37db7a2498@heytings.org> <3a1232a17bf656136616@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="32578"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, Eli Zaretskii , Dmitry Gutov To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 10:13:18 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 1oNrhO-0008ER-72 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 10:13:18 +0200 Original-Received: from localhost ([::1]:54242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNrhL-0005qK-2A for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 04:13:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNrh8-0005ps-NU for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 04:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNrh8-0001fW-Dz for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 04:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNrh8-0007E4-91 for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 04:13: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, 16 Aug 2022 08:13: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.166063757927760 (code B ref 56682); Tue, 16 Aug 2022 08:13:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 16 Aug 2022 08:12:59 +0000 Original-Received: from localhost ([127.0.0.1]:44698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNrh5-0007Dg-7X for submit@debbugs.gnu.org; Tue, 16 Aug 2022 04:12:59 -0400 Original-Received: from heytings.org ([95.142.160.155]:55356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNrh2-0007DY-Oe for 56682@debbugs.gnu.org; Tue, 16 Aug 2022 04:12:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1660637576; bh=2zWysosVPNZuVEJli+B7pKacK/h/VLXB/sO9ecgBlq4=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=3SeNPIjpEITFzAF+tHh2oZ00Orb7YsN8qZIf8b0DqCkXxq+GRTSmMwy2k2wV/YmPW PJuZBAjGWelx+za+3OLqjDkwSW0/uZ0nrIOwRYRmbnf2RZFl2B0Utc3HeJCInnc9aI ee/k8Uc+9Y+V6LEjsDzlK71M0S3G/qn3u8/WarnDYfNWIIiRpCouGsMV9Qs7wGvpzB 1edQA8hXU33ienoEtkeqh9mMB7GL8QNqSmNLYUBGWDLME1cWhl9bBlIcGACVoMCNVa oCzSs2TLoR3HJbxaxK8BKiQqkxRn96nr6yQalNzbrLpnvLU5UBQsyT/WopdlCf+8Cj HtEHNm1duzaeA== 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:239877 Archived-At: >>>> There have been many more complaints about being unable to edit a >>>> file with a 5000+ line comfortably, than about editing 100+ MB files. >>> >>> Also because we have things like so-long to handle the large file >>> case. >> >> These things are expedients for want of anything better, aren't they? > > Yes, just like the narrowing your use in your long lines patch. > That's... unfair. These things turn off everything (in particular, the major mode and font locking) and provide a bare-bones editing experience. What we'd like now is to provide Emacs users a near-complete editing experience in all buffers. > > They're slightly different in that they don't try to prevent replacing > those solutions with something better (or worse), tho. > When one looks at things from far enough, everything is indeed "slightly different" from everything else. For example, the Statue of Liberty is "slightly different" from Empire State Building.