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: Sun, 05 Dec 2021 08:45:14 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Btw, one issue that I couldn't figure out from reading the patch is
> how do you intend to distinguish between point going out of the
> viewport by an explicit user command (which AFAIU is what we want to
> support in this new mode), and point going out of the viewport for
> some other reason, for example text insertion before point?
> Specifically, the bother is this: if we just disable/bypass all the
> places where Emacs brings point back into the window, we could find
> point outside of the window without the user meaning that to happen,
> and the disabled/bypassed code will then leave point invisible.

Hmm, how about not allowing point to _move_ out of the window, instead
only allowing window start to move so that point becomes invisible?

For instance, we could enable the code that scrolls the window to follow
point if PT != w->point (if that makes sense).


reply via email to

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