Subject: bug#19776: 25.0.50; HTML rendering is very slow

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 16 Apr 2018 00:00:39 +0200

Lars Ingebrigtsen <[email-masked]> writes:

> Richard Stallman <[email-masked]> writes:
>
>> It takes around 5 seconds now -- still enough to lead a user
>> to think it is broken.  If it is going to take this long,
>> it should show echo area messages about process.
>
> If we had a form like
>
> (with-delayed-message (1 "Rendering html...")
>   ... all the code ...)
>
> then we'd be able to display a message if the code took longer than 1
> second.  We don't have that, do we?

Oh, I asked this before, and the answer is "nope, not at all".

The problem is that it can't be done with normal timers, since "all the
code" may be pure Elisp and never yield.  For that reason, it can't be
done with the new thread support, either.

So it would require some C-level magic.  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no