0

Multiple named emacs servers might be invoked by the the commands

{ 
emacs --daemon="test1" 
emacs --daemon="test2" 
emacs  --daemon='test3"
} &> /dev/null 

As there are three emacs server running on background,

How could attach an emacsclient to a specified one , saying "test2"?

1 Answer 1

1

From https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html:

The emacsclient program can specify a server by name, using the ‘-s’ or the ‘-f’ option (see emacsclient Options), depending on whether or not the server uses a TCP socket (see TCP Emacs server).

Sign up to request clarification or add additional context in comments.

1 Comment

emacsclient, not emacs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.