|
From: | Phil Sainty |
Subject: | bug#33934: 26.1; server.el/emacsclient mismatch regarding socket... |
Date: | Mon, 31 Dec 2018 18:25:13 +1300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
On 31/12/18 3:02 PM, kris wrote: > emacsclient has the -s option for specifying a UNIX socket directory > but server.el uses defvar to set server-socket-dir and there appears no > way to override it. You can override it just as easily as with any defvar: (require 'server) (setq server-socket-dir "/path/to/dir") (setq server-name "myserver") (server-start) $ emacsclient -c -s /path/to/dir/myserver You can also use: $ emacs --daemon=myserver To start a server with 'server-name' set to 'myserver'; and then: $ emacsclient -c -s myserver
[Prev in Thread] | Current Thread | [Next in Thread] |