emacs-devel
[Top][All Lists]
Advanced

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

Re: "Final" version of tty child frames


From: Gerd Möllmann
Subject: Re: "Final" version of tty child frames
Date: Tue, 14 Jan 2025 11:12:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

martin rudalics <rudalics@gmx.at> writes:

>> Around xdisp.c:20500, there should be something like this in master:
>>
>>    /* Handle case where text has not changed, only point, and it has
>>       not moved off the frame, and we are not retrying after hscroll.
>>       (current_matrix_up_to_date_p is true when retrying.)  */
>>    if (current_matrix_up_to_date_p
>>        && (rc = try_cursor_movement (window, startp, &temp_scroll_step),
>>        rc != CURSOR_MOVEMENT_CANNOT_BE_USED))
>>      {
>>
>> What happens if you add "false && " to the if-condition so that the body
>> isn't executed?
>
> Doesn't help here (I have
>
>   if (current_matrix_up_to_date_p
>       && false
>       && (rc = try_cursor_movement (window, startp, &temp_scroll_step),
>         rc != CURSOR_MOVEMENT_CANNOT_BE_USED))
>
> to make sure I did what you mean).

That's what I meant, yes. Too bad.

>
> It's obvious that this _is_ a redisplay optimization trap.  But it's a
> very sophisticated one because the cursor ends up at the correct end of
> the line.  With other words C-f does what C-e does.

Yeah, everything in redisplay is kind of sophisticated, aka complicated
:-). I need to find a way to reproduce this somehow. I'm afraid that
could take some days, since I'm currently in the midst of doing
something else.

Please remind me, should I forget.



reply via email to

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