[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: |
Sat, 25 Dec 2021 14:45:59 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
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?
Please forgive me if this has been answered before, but I haven't been
working on this in a while, and my memory is already getting rusty.
Thanks.
- Re: Allowing point to be outside the window?, (continued)
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/05
- 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 <=
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2021/12/25
- 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