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: Tue, 08 Feb 2022 08:58:22 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> `scroll-move-point' doesn't affect redisplay; it only affects the
>> scrolling commands in window.c.
>
> It does affect redisplay: by not setting the force_start flag of the
> window.

What about modifying the code under force_start to not move point if
`keep-point-visible' is nil?  Since the point isn't required to be
visible anymore, there is no need to move the cursor there, I think.

> No, the problematic word was "scrolling": I meant the large block in
> redisplay_window conditioned by w->force_start being non-zero.  That
> includes the code under try_to_scroll.

Thanks for explaining that.



reply via email to

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