GNU bug report logs - #56683
29.0.50; long lines fix doesn't work correctly when lines are truncated

Previous Next

Package: emacs;

Reported by: Andrey Listopadov <andreyorst <at> gmail.com>

Date: Thu, 21 Jul 2022 19:00:02 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Andrey Listopadov <andreyorst <at> gmail.com>
Cc: 56683 <at> debbugs.gnu.org
Subject: bug#56683: 29.0.50; long lines fix doesn't work correctly when lines are truncated
Date: Thu, 21 Jul 2022 19:45:19 +0000
[Message part 1 (text/plain, inline)]
>
> I'm using emacs with `truncate-lines` set to `t` in my init.el.  After 
> the merge of #56393 I've rebuilt Emacs, and started testing the fix. 
> I've noticed, that when lines are truncated, opening dictionary.json 
> from the #45898 and pressing C-e doesn't move you to the end of the 
> line, but stops somewhere inside it.  E.g. with the default window width 
> of Emacs -Q, I can see the following portion of the line
>
> ←, "hu": ["index"]}, "examples": [["en C la indicoj aperas interortajkrampoj, →
>
> Arrows shown in the fringe indicate that there are more to the line on 
> the right side.
>

You would have seen the same bug before the merge, so it's entirely 
unrelated to the merge.  It is present at least in Emacs 24, 25, 26, 27 
and 28.

>
> As a side question, does these optimizations work with truncated lines? 
> As far as I can tell Emacs is not as responsive as when the lines are 
> wrapped, but I don't know how to measure this precisely.
>

They do work with truncated lines, but I suspect that truncated lines 
require specific fixes to work efficiently.

This bug report was last modified 2 years and 326 days ago.

Previous Next


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