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#56393: Actually fix the long lines display bug Date: Mon, 18 Jul 2022 17:11:23 +0000 Message-ID: References: <38c1a31040d2d2bc47ae@heytings.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> <83fsja36an.fsf@gnu.org> <34362AA6-6404-4727-9C60-6B6CA6736DD4@gnus.org> <83v8rvpxx7.fsf@gnu.org> <209e6aa436f84e1f729a@heytings.org> <83sfmzpw4e.fsf@gnu.org> <83h73epq7v.fsf@gnu.org> <83cze2pmtk.fsf@gnu.org> <838roqpkjs.fsf@gnu.org> <831quipdt2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33037"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, larsi@gnus.org, 56393@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 18 19:12:45 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 1oDUIV-0008G7-02 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Jul 2022 19:12:43 +0200 Original-Received: from localhost ([::1]:50426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDUIT-0001JN-Gu for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Jul 2022 13:12:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDUIB-0001GP-7z for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 13:12:24 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDUHp-0008OZ-Lj for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 13:12:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDUHp-0003AA-HR for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 13:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Jul 2022 17:12:01 +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.165816428712114 (code B ref 56393); Mon, 18 Jul 2022 17:12:01 +0000 Original-Received: (at 56393) by debbugs.gnu.org; 18 Jul 2022 17:11:27 +0000 Original-Received: from localhost ([127.0.0.1]:51969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDUHH-00039K-7b for submit@debbugs.gnu.org; Mon, 18 Jul 2022 13:11:27 -0400 Original-Received: from heytings.org ([95.142.160.155]:42772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDUHF-00039C-Bx for 56393@debbugs.gnu.org; Mon, 18 Jul 2022 13:11:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1658164283; bh=e6Jel9Q8X2rcQsCC1XPF+Ac13w2qxvy60aPEGSIPacw=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=ORO/lP8Q/1x8keMyM0urgofmjCjna9rgZvifuehv8jR5LVWOwhOCQDWrSJIMr96Qu HJWTHQkY8dL6jFizQxcXsef+dg548UA0gDJoXDWCPnlRttAl/Jg1Egj6lkU4JqsDun xkV6O4r7obCPk50/JL4KsDUvdMQqRzrG4N9ZjLZuSOfsvgveGagloMRoxKUnMzJns7 2JItDmjvqe3RXF1VklRLlzXjSNzdElbePw+yNaIwy+gdxro5QfLGkGbn4NaJW5SEO8 yT7akbtCFYm2+9TWkxPI6TUx8jaHJLZHi7xd2N6/CSGz8x3Nj/Vqgh2rrnIrGfSaqT EbkMlZnsgJoEw== In-Reply-To: <831quipdt2.fsf@gnu.org> 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:237375 Archived-At: > > Thanks, but couldn't we use the existing BUF_CHARS_MODIFF for that? > I'll have a look, thanks. > > And I found a scenario in which redisplay is still very slow, as slow as > the master branch. Here, try this: > > 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 > BTW, there is now a C-x x t binding for that. > > 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. > Yes, it's a font locking issue. Turn font-lock-mode off and the problem is gone. As I said, I'll look at that later.