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: larsi <at> gnus.org, 56393 <at> debbugs.gnu.org
Subject: bug#56393: Actually fix the long lines display bug
Date: Thu, 07 Jul 2022 18:46:53 +0000
>
> One problem with the current implementation that uses narrowing is that 
> if you have the same buffer buffer shown in more than one window, the 
> non-selected windows sometimes scroll "by themselves".  To reproduce, 
> visit, e.g., long-line.xml, say "C-x 2", then scroll with C-v: at some 
> point the other window will also scroll, to reflect the narrowing.
>

Indeed.  Another similar problem is that scroll-other-window does not work 
(or rather, it does, but the narrowing of the buffer is not updated).

By the way, that's a problem I see with the idea of computing the 
narrowing dynamically by multiplying window-body-width by 
window-total-height.  If a buffer is displayed in two windows, a small one 
and a larger one, and we navigate the buffer in the smaller one, the 
larger one will display only a part of what it could display.




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.