[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Allowing point to be outside the window?
From: |
Eli Zaretskii |
Subject: |
Re: Allowing point to be outside the window? |
Date: |
Sat, 25 Dec 2021 09:07:00 +0200 |
> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Sat, 25 Dec 2021 14:45:59 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > I already provided an example where this could not be what users
> > expect: some command inserts text before the window-start, which
> > causes the text shown in the window to move if we use the same
> > window-start position. Now, window-start is a marker, so
> > theoretically we could use the same marker with the buffer position
> > updated due to the insertion, in which case the stuff displayed in the
> > window may stay unchanged.
>
> > But is this what users will expect? And if this is not what users
> > expect, i.e. if we will need to recompute window-start anew in that
> > case, we cannot use the "recenter around point" fallback. Likewise
> > with bringing point into the view: will this be what users expect in
> > the described situation?
>
> To be completely clear, the "recenter around point" fallback you allude
> to is the code under the `recenter' label in `redisplay_window',
> correct?
Yes.
- Re: Allowing point to be outside the window?, (continued)
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2021/12/06
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/06
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2021/12/07
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/07
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2021/12/08
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/08
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2021/12/09
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/09
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2021/12/09
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/25
- Re: Allowing point to be outside the window?,
Eli Zaretskii <=
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2021/12/09
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/09
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2021/12/09
Re: Allowing point to be outside the window?, dick, 2021/12/04