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#56682: Fix the long lines font locking related slowdowns Date: Thu, 21 Jul 2022 21:04:48 +0300 Message-ID: <837d46mjen.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3017"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 21 20:05:51 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 1oEaYY-0000Ve-47 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jul 2022 20:05:50 +0200 Original-Received: from localhost ([::1]:34670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEaYW-0007F4-Q1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jul 2022 14:05:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEaXm-0007Dq-To for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 14:05:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49306) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEaXm-0005dR-K3 for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 14:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEaXm-0004h9-Eh for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 14:05: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: Thu, 21 Jul 2022 18:05: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.165842670218038 (code B ref 56682); Thu, 21 Jul 2022 18:05:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 21 Jul 2022 18:05:02 +0000 Original-Received: from localhost ([127.0.0.1]:39055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEaXl-0004gq-Ib for submit@debbugs.gnu.org; Thu, 21 Jul 2022 14:05:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEaXj-0004gc-NH for 56682@debbugs.gnu.org; Thu, 21 Jul 2022 14:05:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56240) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEaXe-0005cU-HE; Thu, 21 Jul 2022 14:04:54 -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=NZAGaOrtD5KG3z4l026FfT47s/hyZ0OOk9K6qzDRmG0=; b=pOj7e08KgbaZ 78WMi+esH8FQo8mTGsoQyl/xboUiCXPz73v/24f8o23A2GpKVFfMYvQlZ8uVJLHNpC7lqiwLFe+j5 7ox2m69M03hBRatPshgjAZBvTdSJMh3SJ1K76n+Nxhx28VPFCihPv1SrwkfmPm8o6hqXQYbbkV3nP zOYrmYtWIzs4ORjmwhbEH+8q3Wt/Z26qSllVkiTFelhvNtjqWQ5TEdwjUHH9O5FVjj2eT7UYrm6C0 deXuGHknoXqZTLLoOctjMn7IUoJdkuJc5o5MWTHVWDpFIbTJ1FK+cTm/cfp0VKVRIIKZcQwkx0aSB NrCo0c8iLqBd4nXF0Ae+Nw==; Original-Received: from [87.69.77.57] (port=3489 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 1oEaXe-0007ws-1A; Thu, 21 Jul 2022 14:04:54 -0400 In-Reply-To: (message from Gregory Heytings on Thu, 21 Jul 2022 18:00:37 +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:237567 Archived-At: > Date: Thu, 21 Jul 2022 18:00:37 +0000 > From: Gregory Heytings > > New bug number and thread to discuss the next chapter of the long lines > slowdowns. Thanks. FTR, I repeat here the recipe from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56393#425: emacs -Q C-x C-f long-line.xml RET Now, do NOT disable font-lock, and wait for Emacs to say "Valid" in the mode line (to get nXML mode out of the way). Then: M-x toggle-truncate-lines RET Now simple cursor motion commands that use redisplay optimizations are fast, but commands that cause more thorough redisplay are as slow as on master. As a simple example, try just "M-x" and wait until the "M-x" prompt appears in the minibuffer -- here it takes much longer, basically as long as the version on master.