[Top][All Lists]

[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, 29 Nov 2021 21:22:18 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> A $64M question ;-)  Your opinion about my memory is too good.
> But in general, I think you are looking at a too-narrow aspect of this
> behavior.  First, even in xdisp.c there are several places where we
> attempt to redisplay a window, and then reject the results because
> point is not fully visible in the window.  "Reject" here sometimes
> mean another, fresh attempt of redisplaying the window with some
> conditions or variables modified to yield a success.  These places
> should be audited in order to decide whether the rejection is
> justified under this new feature.

Thanks, I will look at it.  One last question though:

> Second, look at the scrolling code in window.c: under some conditions,
> it decides up front that point will be invisible, and then either
> moves point or modifies the scroll (i.e. the window-start).  That,
> too, will have to be revisited and carefully audited.

Is any of that scrolling code used during redisplay (for instance, if
the window start is changed?)  The main use I have for this feature will
be in the pixel scrolling code, which doesn't use any of the normal
scrolling commands.


reply via email to

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