From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 32839@debbugs.gnu.org
Subject: bug#32839: 27.0.50; recenter doesn't redisplay
Date: Sun, 30 Sep 2018 22:46:47 +0300 [thread overview]
Message-ID: <87murysr88.fsf@mail.linkov.net> (raw)
In-Reply-To: <838t3j5wto.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 30 Sep 2018 09:22:11 +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.
next prev parent reply other threads:[~2018-09-30 19:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-25 19:11 bug#32839: 27.0.50; recenter doesn't redisplay Juri Linkov
2018-09-25 20:08 ` Eli Zaretskii
2018-09-25 20:55 ` Juri Linkov
2018-09-26 5:39 ` Eli Zaretskii
2018-09-26 23:55 ` Juri Linkov
2018-09-27 6:44 ` Eli Zaretskii
2018-09-27 22:59 ` Juri Linkov
2018-09-28 6:22 ` Eli Zaretskii
2018-09-29 23:32 ` Juri Linkov
2018-09-30 6:08 ` Eli Zaretskii
2018-09-30 19:40 ` Juri Linkov
2018-10-01 5:34 ` Eli Zaretskii
2018-09-29 23:38 ` Juri Linkov
2018-09-30 6:22 ` Eli Zaretskii
2018-09-30 19:46 ` Juri Linkov [this message]
2018-10-01 6:58 ` Eli Zaretskii
2018-10-08 22:56 ` Juri Linkov
2018-10-09 7:44 ` martin rudalics
2020-02-07 0:30 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87murysr88.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=32839@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).