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

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

bug#3128: marked as done (emacsclient 22.3 race condition when launching


From: Emacs bug Tracking System
Subject: bug#3128: marked as done (emacsclient 22.3 race condition when launching emacs is required)
Date: Mon, 22 Jun 2009 06:55:05 +0000

Your message dated Mon, 22 Jun 2009 02:51:08 -0400
with message-id <stab40223n.fsf@fencepost.gnu.org>
and subject line Re: bug#3128: Bug#3128: emacsclient 22.3 race condition when 
launching emacs is required
has caused the Emacs bug report #3128,
regarding emacsclient 22.3 race condition when launching emacs is required
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
3128: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3128
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
--- Begin Message --- Subject: emacsclient 22.3 race condition when launching emacs is required Date: Mon, 27 Apr 2009 13:03:44 -0400 I have emacs 22.3 installed on

$ uname -a
Linux void 2.6.9-67.0.1.ELsmp #1 SMP Fri Nov 30 11:57:43 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

No emacs is running:

$ ps -e | grep emacs
$

If I invoke emacsclient at this point it does launch emacs but with an unnecessary message on stderr and does not return (as expected since --no-wait was not used):

$ echo $ALTERNATE_EDITOR
/sandbox/bin/emacs
$ emacsclient foo
emacsclient: connect: Connection refused

The newly launched emacs has a buffer open on foo but not as a server buffer.

emacsclient is waiting for a done message from emacs and emacs is acting as though it was launched by emacsclient using the --no-wait option.

Thanks.

--- End Message ---
--- Begin Message --- Subject: Re: bug#3128: Bug#3128: emacsclient 22.3 race condition when launching emacs is required Date: Mon, 22 Jun 2009 02:51:08 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Glenn Morris wrote:

> Terence Dineen wrote:
>
>> $ echo $ALTERNATE_EDITOR
>> /sandbox/bin/emacs
>> $ emacsclient foo
>> emacsclient: connect: Connection refused
>>
>> The newly launched emacs has a buffer open on foo but not as a server
>> buffer.
>>
>> emacsclient is waiting for a done message from emacs and emacs is acting as
>> though it was launched by emacsclient using the --no-wait option.
>
>
> I don't really understand what you are saying the problem is

On reflection, I think you're asking for a feature that Emacs 22
simply does not have, namely the ability for emacsclient to start the
emacs server if it is not running, then connect to it. It doesn't work
like that. If it finds the server not running, it simply starts a
stand-alone emacs like any other alternate editor, and does not try to
communicate with it on a client/server basis. There is no "race
condition".

As I say, it sounds like Emacs 23 will have the feature you want.

--- End Message ---

reply via email to

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