GNU bug report logs - #50849
28.0.50; Proposal for Emacs daemon to signal when being busy

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Mon, 27 Sep 2021 14:28:02 UTC

Severity: wishlist

Tags: patch

Found in version 28.0.50

Fixed in version 29.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: larsi <at> gnus.org, 50849 <at> debbugs.gnu.org, stefankangas <at> gmail.com, bugs <at> gnu.support, visuweshm <at> gmail.com
Subject: bug#50849: 28.0.50; Proposal for Emacs daemon to signal when being busy
Date: Tue, 06 Sep 2022 17:12:15 +0300
> From: Robert Pluim <rpluim <at> gmail.com>
> Cc: stefankangas <at> gmail.com,  Visuwesh <visuweshm <at> gmail.com>,
>   larsi <at> gnus.org,  bugs <at> gnu.support,  50849 <at> debbugs.gnu.org
> Date: Tue, 06 Sep 2022 16:02:01 +0200
> 
> >>>>> On Tue, 06 Sep 2022 15:22:27 +0300, Eli Zaretskii <eliz <at> gnu.org> said:
> 
>     Eli> Looking at the code, I don't understand how this was supposed to
>     Eli> work.  After sending the request to the server, we call recv in a
>     Eli> loop, waiting for a response.  But in a normal session, the server
>     Eli> will only respond when the user is done with editing the file, which
>     Eli> could be after a very long time.  So this _must_ time out.
> 
> Doesnʼt the server send its pid to the client? Youʼd want to
> recv+timeout just for that initial response, no?

Maybe, I don't know.  If that's always so, then yes, the code should
be restructured to time out only on that single response.




This bug report was last modified 2 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.