bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11822: 24.1; emacsclient terminal mode captures escape characters as


From: Stefan Monnier
Subject: bug#11822: 24.1; emacsclient terminal mode captures escape characters as text
Date: Tue, 08 Sep 2015 09:22:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> 5) Even better, can we do the other-display updates in small increments,
>> so that once we start doing those updates we don’t have a block of 160*RTT
>> seconds where we’re unresponsive to new user input?

We could potentially do something like:
- arrange for redisplay to first redisplays the selected frame.
- check for input (and abort redisplay if applicable) between each frame.

But the redisplay of each frame (or at the very least each window) can't
be cut into small increments, as the code currently stands.

Of course, I'd really happy if someone were to come and change the
redisplay so that each frame gets redisplayed from its own thread,
concurrently with the main Elisp loop.

I think parallelising the redisplay (i.e. one thread per terminal or
per frame or per window) shouldn't be too difficult.  But making the
redisplay concurrent with the main Elisp loop is likely to be a fair
amount of work.

"Fair amount of work" doesn't mean impossible, tho.


        Stefan





reply via email to

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