[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: |
Wed, 09 Feb 2022 09:57:45 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> I don't think you can do that indiscriminately, because some of the
> places that set the window's force_start flag are unrelated to this
> feature. One example is set_window_buffer and its callers. Another
> example is the code in redisplay_window that ends with "goto
> force_start". And there are probably more.
>
> So if you want to do that, you'll need to carefully audit all those
> places, and make sure you avoid moving point only when force_start was
> set by scrolling commands or in some similar situations. Otherwise,
> users will complain that point goes out of view when they didn't
> expect it to. For example, "C-x 2" goes through that code, and I'm
> quite sure we don't want point to be left outside of the window in
> that case.
Would it make sense to introduce a new flag that split-window-below and
other such commands set that makes force_start move point regardless of
the value of `keep-point-visible'?
- Re: Allowing point to be outside the window?, (continued)
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2022/02/06
- Re: Allowing point to be outside the window?, Po Lu, 2022/02/06
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2022/02/06
- Re: Allowing point to be outside the window?, Po Lu, 2022/02/06
- Re: Allowing point to be outside the window?, Po Lu, 2022/02/07
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2022/02/07
- Re: Allowing point to be outside the window?, Po Lu, 2022/02/07
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2022/02/07
- Re: Allowing point to be outside the window?, Po Lu, 2022/02/07
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2022/02/08
- Re: Allowing point to be outside the window?,
Po Lu <=
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2022/02/10
- Re: Allowing point to be outside the window?, Po Lu, 2022/02/10