GNU bug report logs -
#9909
emacsclient -a "" -s server-name does not start/connect to named server
Previous Next
Reported by: Gregor Zattler <telegrap <at> gmx.net>
Date: Sun, 30 Oct 2011 19:05:01 UTC
Severity: normal
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9909 in the body.
You can then email your comments to 9909 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9909
; Package
emacs
.
(Sun, 30 Oct 2011 19:05:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Gregor Zattler <telegrap <at> gmx.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 30 Oct 2011 19:05:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi emacs developers,
emacsclient -a ""
starts a new server if there is none before and connects to it.
I would expect that emacsclient -a "" -s my-server-name behaves the
same but starts a server with server-name my-server-name and connects
to this specific emacs server.
But
emacsclient.emacs-snapshot -a "" -s my-server-name
does not start a server but instead says:
emacsclient.emacs-snapshot: can't find socket; have you started the
server?
To start the server in Emacs, type "M-x server-start".
Error: Could not start the Emacs daemon
ps (1) shows no emacs server
while
emacsclient.emacs23 -a "" -s my-server-name
starts a server but is not able to connect and says at the end of the
output:
Starting Emacs daemon.
Emacs daemon should have started, trying to connect again
emacsclient.emacs23: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
Error: Cannot connect even after starting the Emacs daemon
ps (1) shows
emacs --daemon=????t)????d)??
Thank you for developing Emacs, gregor
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9909
; Package
emacs
.
(Sun, 30 Oct 2011 22:38:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 9909 <at> debbugs.gnu.org (full text, mbox):
Gregor Zattler <telegrap <at> gmx.net> writes:
> Hi emacs developers,
>
> emacsclient -a ""
> starts a new server if there is none before and connects to it.
>
> I would expect that emacsclient -a "" -s my-server-name behaves the
> same but starts a server with server-name my-server-name and connects
> to this specific emacs server.
>
> But
>
> emacsclient.emacs-snapshot -a "" -s my-server-name
> does not start a server but instead says:
> emacsclient.emacs-snapshot: can't find socket; have you started the
> server?
> To start the server in Emacs, type "M-x server-start".
> Error: Could not start the Emacs daemon
>
> ps (1) shows no emacs server
>
>
> while
>
> emacsclient.emacs23 -a "" -s my-server-name
> starts a server but is not able to connect and says at the end of the
> output:
>
> Starting Emacs daemon.
> Emacs daemon should have started, trying to connect again
> emacsclient.emacs23: can't find socket; have you started the server?
> To start the server in Emacs, type "M-x server-start".
> Error: Cannot connect even after starting the Emacs daemon
>
>
> ps (1) shows
> emacs --daemon=????t)????d)??
This regressions seems to have been introduced by change 105655.
In set_local_socket the value of socket_name is destroyed in case of
failing to connect to the server. That value is needed for starting the
daemon.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9909
; Package
emacs
.
(Sat, 03 Nov 2012 09:05:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 9909 <at> debbugs.gnu.org (full text, mbox):
Gregor Zattler <telegrap <at> gmx.net> writes:
> emacsclient -a ""
> starts a new server if there is none before and connects to it.
>
> I would expect that emacsclient -a "" -s my-server-name behaves the
> same but starts a server with server-name my-server-name and connects
> to this specific emacs server.
>
> emacsclient.emacs-snapshot -a "" -s my-server-name
> does not start a server but instead says:
> emacsclient.emacs-snapshot: can't find socket; have you started the
> server?
> To start the server in Emacs, type "M-x server-start".
> Error: Could not start the Emacs daemon
I could not reproduce this bug with the latest bzr checkout, nor with
Emacs 24.1 and 24.2. I think it's been fixed in the meantime; could you
check it it still fails with you?
bug closed, send any further explanations to
9909 <at> debbugs.gnu.org and Gregor Zattler <telegrap <at> gmx.net>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 14 Feb 2013 08:47:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 14 Mar 2013 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.