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#56393: Actually fix the long lines display bug Date: Sat, 09 Jul 2022 13:01:30 +0300 Message-ID: <83ilo638qt.fsf@gnu.org> References: <38c1a31040d2d2bc47ae@heytings.org> <38c1a310405bd4bbe370@heytings.org> <87a69n98yy.fsf@yahoo.com> <38c1a31040f5546dbd3a@heytings.org> <87czej6buq.fsf@gnus.org> <38c1a31040e66d2b273e@heytings.org> <834jzt59jt.fsf@gnu.org> <831qux5806.fsf@gnu.org> <9C70BEF7-08EC-46A0-89D3-547417FA01F8@gmail.com> <83let43xg9.fsf@gnu.org> <83sfna3gzq.fsf@gnu.org> <83o7xy3amx.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17210"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, larsi@gnus.org, 56393@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 09 12:02:20 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 1oA7I0-0004D7-S2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Jul 2022 12:02:17 +0200 Original-Received: from localhost ([::1]:56510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oA7Hz-0003qO-ON for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Jul 2022 06:02:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oA7Hm-0003oA-QZ for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2022 06:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oA7Hm-0007PR-G8 for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2022 06:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oA7Hm-0000CN-BX for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2022 06:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jul 2022 10:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56393 X-GNU-PR-Package: emacs Original-Received: via spool by 56393-submit@debbugs.gnu.org id=B56393.1657360905733 (code B ref 56393); Sat, 09 Jul 2022 10:02:02 +0000 Original-Received: (at 56393) by debbugs.gnu.org; 9 Jul 2022 10:01:45 +0000 Original-Received: from localhost ([127.0.0.1]:33818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oA7HV-0000Bj-8P for submit@debbugs.gnu.org; Sat, 09 Jul 2022 06:01:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oA7HT-0000BY-VE for 56393@debbugs.gnu.org; Sat, 09 Jul 2022 06:01:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oA7HN-0007OO-Mn; Sat, 09 Jul 2022 06:01:38 -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=uSDPXH/AEfpnOUEeVjVJkLM/RpW7uvTDr9tzp0fhyTM=; b=akMFnTw/FjP/ R8fUsiI+i5Hyt31zKYh4v+V+B+8B/XNrYrXe/8Pt48+QpTAUjdD14enc+CwYkYBE4OBdFxir5e+zZ 2CNIvXI2aeDh2DGbRzywGR3tCuI969j+HHKi1tU/lmg2gbJJYPWZrjGxYytUr21+6dl//g1MhIhMa mLVhbnqOJAL8VtjuRlwlBlYEdMSouwfvy9QmmA46VYg6WQnVcFJdsnw+wqPpqdgnMooQKgVC0/DRy oiImvS9Xb+eHomnRoWtb1+274yUplUtVtUhiJNz6AqCk8YstXh6q4IO8y/+9HwtGzDLzMslqASpjB HLBLIoNef7HgU6vqVDCf8A==; Original-Received: from [87.69.77.57] (port=4991 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 1oA7HM-0002lh-FB; Sat, 09 Jul 2022 06:01:37 -0400 In-Reply-To: (message from Gregory Heytings on Sat, 09 Jul 2022 09:49:36 +0000) 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:236494 Archived-At: > Date: Sat, 09 Jul 2022 09:49:36 +0000 > From: Gregory Heytings > cc: gerd.moellmann@gmail.com, larsi@gnus.org, 56393@debbugs.gnu.org > > > If this is enough, then it's great. I'm just asking myself how come > > font-lock, for example, no longer slows things down as it did before? Do > > you understand why? > > > > Font lock does slow things down, see the NEWS entry. But it also slows > things down on much smaller files (see the long-line-excerpt.xml file I > sent you). As I said, to me the slowdown of font locking is a separate > problem, as is shown by the fact that turning it off removes the remaining > slowdowns in many/most cases. There are in fact four separate problems > here: > > 1. slowdowns caused by long lines, > > 2. slowdowns caused by multibyte characters in long lines (which are not > solved by solving 1), > > 3. slowdowns caused by font locking, > > 4. slowdowns caused by major and minor modes (pre and post-command hooks > and the like). > > This bug "only" solves 1 and 2. And as I said, I can try to look at 3 if > you want, but not now. I'm asking whether applying the "restriction" where we call Vfontification_functions from the display engine won't also solve 3.