GNU bug report logs - #56393
Actually fix the long lines display bug

Previous Next

Package: emacs;

Reported by: Gregory Heytings <gregory <at> heytings.org>

Date: Tue, 5 Jul 2022 08:50:02 UTC

Severity: normal

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: gerd.moellmann <at> gmail.com, larsi <at> gnus.org, 56393 <at> debbugs.gnu.org
Subject: bug#56393: Actually fix the long lines display bug
Date: Mon, 18 Jul 2022 18:17:39 +0000
[Message part 1 (text/plain, inline)]
>> BTW, there is now a C-x x t binding for that.
>
> Old habits die hard ;-)  Besides, what I really type is
>
> M-x tog TAB tr TAB RET
>

10 keys instead of 4, a 250 % slowdown! 😉

>> 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.
>
> So you are saying that font-lock becomes much more expensive when lines 
> are truncated?  Because the comparison is with the same file and 
> font-lock turned ON, but without line truncation.
>

I can't give a precise answer to your question.  All I can say is that I'm 
sure that font locking slows down things significantly.  After opening 
that file and typing C-u C-x x f C-x x t, editing is fast.  That being 
said, perhaps there are specific optimizations to add for 
toggle-truncate-lines.  Which would be yet another subsection of this bug.

This bug report was last modified 3 years and 33 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.