[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Final" version of tty child frames
From: |
martin rudalics |
Subject: |
Re: "Final" version of tty child frames |
Date: |
Tue, 14 Jan 2025 10:55:31 +0100 |
User-agent: |
Mozilla Thunderbird |
> 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).
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.
martin
- Re: "Final" version of tty child frames, Jared Finder, 2025/01/04
- Re: "Final" version of tty child frames, Gerd Möllmann, 2025/01/04
- Re: "Final" version of tty child frames, Jared Finder, 2025/01/13
- Re: "Final" version of tty child frames, Gerd Möllmann, 2025/01/13
- Re: "Final" version of tty child frames, Eli Zaretskii, 2025/01/13
- Re: "Final" version of tty child frames, martin rudalics, 2025/01/14
- Re: "Final" version of tty child frames, Gerd Möllmann, 2025/01/14
- Re: "Final" version of tty child frames,
martin rudalics <=
- Re: "Final" version of tty child frames, Gerd Möllmann, 2025/01/14
- Re: "Final" version of tty child frames, Eli Zaretskii, 2025/01/14
- Re: "Final" version of tty child frames, martin rudalics, 2025/01/14
- Re: "Final" version of tty child frames, Gerd Möllmann, 2025/01/14
- Re: "Final" version of tty child frames, Gerd Möllmann, 2025/01/14
- Re: "Final" version of tty child frames, martin rudalics, 2025/01/15
- Re: "Final" version of tty child frames, Gerd Möllmann, 2025/01/15
- Re: "Final" version of tty child frames, Eli Zaretskii, 2025/01/15
- Re: "Final" version of tty child frames, Gerd Möllmann, 2025/01/15
- Re: "Final" version of tty child frames, Eli Zaretskii, 2025/01/15