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, 07 Dec 2021 10:18:37 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Again, what do you mean by "start is forced"?  Emacs sometimes forces
> the window-start upon itself, you can clearly see that in the code.

Whenever w->force_start is true.

> And if point is outside of the window, recentering makes no sense
> anyway, because there's nothing to recenter about, there's no point of
> reference for it.

The window start is moved to a suitable location which will cause point
to be displayed in the center of the screen.

If that isn't possible, the closest location to that is set as window
start.

> "not a problem" because point will be brought back into the window
> before pasting?  But is that what users want?

Yes, that's what users want.

> Thanks, I will look into this later.

Thanks.


reply via email to

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