Subject: Re: bug#4888: 23.1.50; emacsclient vs. daemon

From: Stefan Monnier <[email-masked]>
Date: Sun, 08 Nov 2009 11:41:33 -0500

> 'As a special exception, if COMMAND is the empty string, then
> `emacsclient' starts Emacs in daemon mode and then tries
> connecting again.'

> This is not really true: as -a has a mandatory, non-empty COMMAND,
> it is impossible to call emacsclient this way from command line.

This is not true, it shoujld also work if you do

   emacsclient -a '' <blablabla>
or
   emacsclient --alternate-editor '' ...
or
   emacsclient --alternate-editor= ...

> On the same Info page an example is given this way:
> 'EDITOR="emacsclient --alternate-editor emacs +%d %s"'
> I think it should be:
> 'EDITOR="emacsclient --alternate-editor=emacs +%d %s"'

Either way should work,

        Stefan