[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master e1e0315252 01/14: Initial implementation of "abort-redisplay"
From: |
Lars Ingebrigtsen |
Subject: |
Re: master e1e0315252 01/14: Initial implementation of "abort-redisplay" feature |
Date: |
Fri, 24 Jun 2022 13:07:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> Can you show a minimal recipe?
(setq max-redisplay-ticks 100000)
M-x eww RET https://mathiasbynens.be/demo/animated-webp RET
And then let it run for a while without doing anything.
>> So the tick counter should probably be reset in command_loop or something.
>
> We already do, or at least there's code there that's supposed to do
> that:
>
> /* Restart our counting of redisplay ticks before
> executing the command, so that we don't blame the new
> command for the sins of the previous one. */
> update_redisplay_ticks (0, NULL);
> display_working_on_window_p = false;
>
> call1 (Qcommand_execute, Vthis_command);
Ah, if I'm reading that right, it's reset only if the user does
something? We probably have to reset it somehow also when Emacs is just
waiting for input, I guess.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- master updated (fbb703f60a -> 289b457cac), Eli Zaretskii, 2022/06/24
- master e1e0315252 01/14: Initial implementation of "abort-redisplay" feature, Eli Zaretskii, 2022/06/24
- Re: master e1e0315252 01/14: Initial implementation of "abort-redisplay" feature, Lars Ingebrigtsen, 2022/06/24
- Re: master e1e0315252 01/14: Initial implementation of "abort-redisplay" feature, Eli Zaretskii, 2022/06/24
- Re: master e1e0315252 01/14: Initial implementation of "abort-redisplay" feature,
Lars Ingebrigtsen <=
- Re: master e1e0315252 01/14: Initial implementation of "abort-redisplay" feature, Eli Zaretskii, 2022/06/24
- Re: master e1e0315252 01/14: Initial implementation of "abort-redisplay" feature, Lars Ingebrigtsen, 2022/06/24
- Re: master e1e0315252 01/14: Initial implementation of "abort-redisplay" feature, Eli Zaretskii, 2022/06/24
- Re: master e1e0315252 01/14: Initial implementation of "abort-redisplay" feature, Lars Ingebrigtsen, 2022/06/24
master f1e1392868 03/14: Change the API of 'update_redisplay_ticks', Eli Zaretskii, 2022/06/24
master 82626e62ab 08/14: Allow aborting redisplay stuck in 'parse-partial-sexp', Eli Zaretskii, 2022/06/24
master a82af5ae78 09/14: Don't count ticks too eagerly in syntax.c, Eli Zaretskii, 2022/06/24
master 5a596bbed5 02/14: Fix a typo in a doc string., Eli Zaretskii, 2022/06/24
master bd44f39d6d 04/14: Restart tick counting every command, Eli Zaretskii, 2022/06/24
master 264472a507 05/14: Handle W = NULL in 'update_redisplay_ticks', Eli Zaretskii, 2022/06/24