[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, 04 Dec 2021 15:41:20 +0200 |
User-agent: |
K-9 Mail for Android |
On December 4, 2021 3:19:57 PM GMT+02:00, Po Lu <luangruo@yahoo.com> wrote:
> dick <dick.r.chiang@gmail.com> writes:
>
> > PL> + if (!keep_point_visible
> > PL> + && (!w->cursor_visible_p
> > PL> + || w->cursor.vpos == -1)
> > PL> + && w->phys_cursor_on_p)
>
> > The display code is already rife with a hundred state variables, all of
> > which invite laborious combinations of if-clauses to accommodate
>
> I am aware of that.
But you could perhaps avoid a separate flag if you'd set w->cursor.vpos to a
negative value when the cursor is outside of the window.
- Re: Allowing point to be outside the window?, (continued)
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/25
- 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
- Re: Allowing point to be outside the window?, tomas, 2021/12/04
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/04
- Re: Allowing point to be outside the window?,
Eli Zaretskii <=
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/04
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2021/12/05
- 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/05
- 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/05
- 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/05
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/05
Re: Allowing point to be outside the window?, dick, 2021/12/04