Subject: Re: bug#3053: "emacsclient -a emacs" produces "No server editing buffers exist" when closing buffer

From: Stefan Monnier <[email-masked]>
Date: Mon, 20 Apr 2009 12:21:04 -0400

> When $EDITOR gets called from scripts, such as "reportbug" on Debian,
> and Emacs is not started yet, a new instance of Emacs will be launched
> (as can be expected).  However, I cannot close back the buffer with
> C-x #.  Pressing this shortcut so will result in a message "No server
> editing buffers exist".

You probably want to use the new "-a ''" argument, which will start an
Emacs in server mode.

        Stefan