GNU bug report logs - #32839
27.0.50; recenter doesn't redisplay

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Tue, 25 Sep 2018 19:38:02 UTC

Severity: normal

Tags: wontfix

Found in version 27.0.50

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32839 <at> debbugs.gnu.org
Subject: bug#32839: 27.0.50; recenter doesn't redisplay
Date: Sun, 30 Sep 2018 22:46:47 +0300
>> I grepped for window-scroll-functions, and see that the current situation
>> is quite bad:
>> 
>> 1. tabulated-list-window-scroll-function is not called on 'C-u -1 C-l'
>>    when the last window line is fully visible, so it doesn't adjust
>>    the width for display-line-numbers in this case.
>
> A bug report with a recipe would be appreciated.

The recipe is essentially the same as for this bug report,
but more complicated.

>> probably at the same time when post-command-hook is called.
>
> That hook is not called from the display code.  But in any case, if
> post-command-hook is what you want, just use it.  Why do we need
> another hook at the same place?  It sounds redundant.

If window-scroll-functions can't be fixed, then indeed a workaround
is to remember an old value of window-start in pre-command-hook,
and compare it with a new value of window-start in post-command-hook.




This bug report was last modified 5 years and 103 days ago.

Previous Next


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