[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 18:37:58 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Po Lu <luangruo@yahoo.com>
>> Cc: dick.r.chiang@gmail.com, emacs-devel@gnu.org
>> Date: Sun, 05 Dec 2021 17:31:03 +0800
>>
>> >> Also, where should I put the code to test if cursor is invisible? I
>> >> think it should be after the label force_start, as forcing the start
>> >> could potentially adjust point to be inside the window.
>> >
>> > It goes back to the same question I asked above: why do you need to
>> > know that point is outside of the window? for what purposes?
>> >
>> > IOW, why not just let redisplay do its thing, without bothering to
>> > bring point into the window, when that is allowed?
>>
>> I need to erase the phys cursor and to tell display_and_set_cursor to
>> not draw it: otherwise, the ghost of the cursor remains on-screen even
>> after point is moved out.
> Which probably means you need to put the code which determines whether
> point is inside or outside of the window in update_window or
> thereabouts?
Thanks.
- Re: Allowing point to be outside the window?, (continued)
- 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/04
- 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 <=
- Re: Allowing point to be outside the window?, dick, 2021/12/04
- Re: Allowing point to be outside the window?, Eli Zaretskii, 2021/12/04
- Re: Allowing point to be outside the window?, dick, 2021/12/04
- Re: Allowing point to be outside the window?, Po Lu, 2021/12/04
Re: Allowing point to be outside the window?, John Ankarström, 2021/12/07