emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: try_cursor_movement not called?


From: Po Lu
Subject: Re: try_cursor_movement not called?
Date: Thu, 02 Dec 2021 14:37:46 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Wed, 01 Dec 2021 14:49:09 +0200
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: emacs-devel@gnu.org
>> 
>> > > There's no such member.  Did you mean window_end_valid, perhaps?
>> > 
>> > Yes I did, sorry for the confusion.
>> 
>> No, you cannot make that assumption.

> Btw, why did you want to assume that? what did you want to do if
> window_end_valid were true?

I wanted to set w->cursor_valid_p (a field I added to `struct window')
to false there, if PT > w->window_end_pos.

When w->cursor_valid_p is false, display_and_set_cursor will never
display the cursor, only erase it.

Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]