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

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

bug#64866: 30.0.50; Emacsclient block for 2 seconds when error is raised


From: Jim Porter
Subject: bug#64866: 30.0.50; Emacsclient block for 2 seconds when error is raised from command
Date: Wed, 26 Jul 2023 22:34:11 -0700

On 7/26/2023 9:48 PM, Eli Zaretskii wrote:
Date: Wed, 26 Jul 2023 12:48:38 -0700
Cc: 64866@debbugs.gnu.org, yikai@z1k.dev
From: Jim Porter <jporterbugs@gmail.com>

On 7/26/2023 11:48 AM, Eli Zaretskii wrote:
Why did you think it should?  According to its documentation it only
affects minibuffer-message.  The 2-sec delay in the above case is done
by an explicit call to sit-for with a hard-coded argument of 2 sec.
See server-return-error.

Thanks for the pointer to this code. Looking at it, it doesn't seem easy
to avoid this delay without causing the problems that you've mentioned.

Yes, see bug#63629 for the problems that code attempts to solve.

Thanks. I'll take a look at that in more detail in the next week or so, since at this point I'm just curious as to whether there's a way to get the best of both worlds. (At minimum, maybe I can add a regression test.)






reply via email to

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