Subject: Re: bug#7741: More about folding emacsclient into emacs

From: Xue Fuqiao <[email-masked]>
Date: Wed, 15 Jul 2015 07:13:21 +0800

On Tue, Jul 14, 2015 at 9:09 AM, Vaidheeswaran C
<[email-masked]> wrote:
> On Tuesday 14 July 2015 04:37 AM, Xue Fuqiao wrote:
>>> 1. Can I control what emacs (i.e., from which path) the emacs daemon
>>> >    will be loaded from.
>
>> You can set the variable `server-name' on the Emacs server and use the
>> `-s' option of emacsclient.  (Although it's not supported on
>> MS-Windows.)
>
> I don't work on remote machines across a network connection.

You don't have to.  See below.

>     can the daemon use my git checkout binary or the local
>     installation?"

IIUC you can start the git checkout emacs binary and the local
installation with:

  $ /path/to/git/checkout/src/emacs --daemon=git
  $ emacs --daemon=local

and use `emacsclient -s git' or `emacsclient -s local' to connect to the
daemon you want to use.