From: Jim Porter <jporterbugs@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 64866@debbugs.gnu.org, yikai@z1k.dev
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 [thread overview]
Message-ID: <569eed52-7d21-87be-b177-87b9e987d2ce@gmail.com> (raw)
In-Reply-To: <83zg3im03a.fsf@gnu.org>
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.)
prev parent reply other threads:[~2023-07-27 5:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-26 2:10 bug#64866: 30.0.50; Emacsclient block for 2 seconds when error is raised from command Yikai Zhao
2023-07-26 2:30 ` Eli Zaretskii
2023-07-26 15:50 ` Yikai Zhao
2023-07-26 15:58 ` Eli Zaretskii
2023-07-26 18:07 ` Jim Porter
2023-07-26 18:48 ` Eli Zaretskii
2023-07-26 19:48 ` Jim Porter
2023-07-27 4:48 ` Eli Zaretskii
2023-07-27 5:34 ` Jim Porter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=569eed52-7d21-87be-b177-87b9e987d2ce@gmail.com \
--to=jporterbugs@gmail.com \
--cc=64866@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=yikai@z1k.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).