GNU bug report logs - #3053
"emacsclient -a emacs" produces "No server editing buffers exist" when closing buffer

Previous Next

Package: emacs;

Reported by: Danai SAE-HAN (韓達耐) <danai.saehan <at> gmail.com>

Date: Sun, 19 Apr 2009 14:45:44 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #27 received at 3053 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Danai SAE-HAN (韓達耐) <danai.saehan <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 3053 <at> debbugs.gnu.org
Subject: Re: bug#3053: "emacsclient -a emacs" produces "No server editing
Date: Sat, 25 Apr 2009 02:08:39 +0200
Hi Stefan

I have compiled "EMACS_PRETEST_23_0_92.tar.gz" and tried the following command:

[2009-04-25 02:01:27] danai <at> danai:/usr/src/EMACS_PRETEST_23_0_92/lib-src
  $ ./emacsclient -a "../src/emacs" ../Makefile
./emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".

Now a new Emacs instance is started, and my own ~/.emacs is loaded
which includes "(server-start)".

When I close the "Makefile" buffer with "C-x #" I still get the same
message: "No server editing buffers exist".

In other words: when emacsclient fails to load because there is no
server running, it will launch "../src/emacs ../Makefile".  What I
would like to see instead, is that it will launch "../src/emacs"
first, and then try "emacsclient ../Makefile" again.  This behaviour
seems more logical to me.

Best regards

-- 
Danai




This bug report was last modified 16 years and 87 days ago.

Previous Next


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