emacs-diffs
[Top][All Lists]
Advanced

[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



reply via email to

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