From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Sun, 31 Jul 2022 10:22:40 +0200 Message-ID: <87edy14rov.fsf@gnus.org> References: <136c4fe0fc0fceb0d752@heytings.org> <838roc8ka7.fsf@gnu.org> <83tu706obt.fsf@gnu.org> <83h7306ifa.fsf@gnu.org> <83edy37pul.fsf@gnu.org> <83pmhn55sk.fsf@gnu.org> <65cb7c73fdc753518d35@heytings.org> <83fsii68o3.fsf@gnu.org> <65cb7c73fdf6704d19d5@heytings.org> <835yje62vz.fsf@gnu.org> <65cb7c73fd159efe32af@heytings.org> <83zggq4fgb.fsf@gnu.org> <65cb7c73fd6ca16565e1@heytings.org> <83y1wa4e6q.fsf@gnu.org> <65cb7c73fdbf1de53ea7@heytings.org> <83tu6x4xis.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24378"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: gerd.moellmann@gmail.com, 56682@debbugs.gnu.org, Gregory Heytings , monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 31 10:23:32 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 1oI4EW-0006C1-Br for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Jul 2022 10:23:32 +0200 Original-Received: from localhost ([::1]:41082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oI4EQ-00013W-Ot for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Jul 2022 04:23:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI4E3-00013J-6t for bug-gnu-emacs@gnu.org; Sun, 31 Jul 2022 04:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oI4E2-0006VO-9f for bug-gnu-emacs@gnu.org; Sun, 31 Jul 2022 04:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oI4E2-00068u-5c for bug-gnu-emacs@gnu.org; Sun, 31 Jul 2022 04:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Jul 2022 08:23: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.165925577423585 (code B ref 56682); Sun, 31 Jul 2022 08:23:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 31 Jul 2022 08:22:54 +0000 Original-Received: from localhost ([127.0.0.1]:36348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oI4Du-00068L-Fi for submit@debbugs.gnu.org; Sun, 31 Jul 2022 04:22:54 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:33468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oI4Ds-000687-A4 for 56682@debbugs.gnu.org; Sun, 31 Jul 2022 04:22:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=F9YORtlKmN+jy/mV+Dv8CZlU5XkURU6nSDJ6TkWvfQM=; b=ZEME4Rc233zb8cGYJbHMRWlfnl O6O3cCxE8R3pRTVnJQm8Q5HZW9dLU52JNwrpqEJ4Lb2uO7pKuTh7p4GCUglmWgnbirI5ZnOREdu7v NTGOTPh1wLpEnpzq9UFkzVz2/F6fJXl+rjkglIuO99ZyY4LaY3fpGBmpLutcBXmzBsg8=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oI4Dh-0001Co-FX; Sun, 31 Jul 2022 10:22:43 +0200 In-Reply-To: <83tu6x4xis.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 31 Jul 2022 09:16:43 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXRwqT69d6ogltd RjAgFA7///+u9mQ5AAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YHHwgSFa2pDGYAAAG1SURBVDjLdZOB keMwCEWRsgUoqsBGLsArVEAmov+a7gN2Npn4yIyd4Rk+IETpfmmJrkEhWq8j7ogA9X/xis9ha83M mcpaeaGAeagqJfg7cwVwQygHQOCCR8pEeNK9NPPrt0Zxv16Um+Ge/A2KAOzpo0TTo2IB/R2UF5gL JL8kqmpPB7Cv7UemWHViTJlilIYoecV1dqvsItVMVjHATQQZShZmq72s5hGATXUt99xQZjSVW28B Zsf34wTNpjoiQoitXwd1iui8oUAAXe+F/wCLcETobxyPA3ilDVRv4PEGkHkOJdkNzGIi4uUKtyeq kv3HZamJ94NUjXUMAzhjgXo7gI5pJ6j7tqPpBZ0EOE/BNNDcE/2K2gKcC8eLiQOQp7L9CQANtApf lJsPQEe5aDFrgKqxPvoI8Kgy5B20NcCsQ6enojD2kaAupLIzfYkP73xtulsAQBE3H4nI8qOPocux Pq4h+631jib6kOlNx3WwiDYlbb0j/v2qDe8jbU8Z5zIEiD7S9nuTzh8gIgbOptM3WFTHsXCfqXx5 5ofGOUQ99+oEsSVXgDK/7A+UY5QpvS5c3KD/2z8/UYVxzpVNRQAAACV0RVh0ZGF0ZTpjcmVhdGUA MjAyMi0wNy0zMVQwODoxODoyMSswMDowMPkIrrwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDct MzFUMDg6MTg6MjErMDA6MDCIVRYAAAAAAElFTkSuQmCC X-Now-Playing: Simple Minds's _Sons and Fascination_: "70 Cities as Love Brings the Fall" 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:238324 Archived-At: Eli Zaretskii writes: >> It's the same problem than with fontification-functions. We cannot know >> what all these hooks that are installed by major and minor modes will do, >> we cannot hope to fix them one by one, so it seems to me that with >> long_line_optimizations_p, which is an unusual case anyway, it makes sense >> to "punish" them all in the same way. > > It sounds...too drastic. Lars, WDYT? I agree with Gregory that it makes sense to disable (some) fontification stuff in long-line buffers. It much more important to be able to view and edit these files than getting fontification details completely correct. Of course, it'd be better if everything just worked perfectly, but that's very ambitious.