emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allowing point to be outside the window?


From: Po Lu
Subject: Re: Allowing point to be outside the window?
Date: Mon, 07 Feb 2022 21:57:50 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> >> And I question the validity of the combination scroll-move-point = nil
>> >> with keep-point-visible = t.  The problem with your implementation is
>> >> that scroll-move-point = nil disables scrolling in redisplay_window,
>> >> but scrolling there is used not necessarily as result of scrolling
>> >> commands, but also when redisplay_window decides that the optimal
>> >> method of updating a window is to scroll its previous contents.  Thus,
>> >> disabling scrolling on that level will cause confusing results,
>> >> because users will expect that to affect only scrolling commands: they
>> >> are unaware that redisplay sometimes scrolls the window for other
>> >> reasons.

> I didn't say redisplay calls the scrolling commands: you did.
>
> The truth is that redisplay doesn't call any scrolling commands.

`scroll-move-point' doesn't affect redisplay; it only affects the
scrolling commands in window.c.

I thought what you wrote was a typo, and that you meant to say "disables
scrolling in window.c" or something else similar.

Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]