aquamacs - Emacs server file path -
i'm using aquamacs , started emacs server m-x server-start
. emacsclient
connects fine. however, when start ssh session (on same pc) cannot locate socket-name / server file. it's not in ~/.emacs.d/server/server
expect it.
how can find out server-file / socket-name emacs server using?
this working configuration:
.emacs
(setq server-socket-dir "~/.emacs.d/server") (server-start)
em.sh
location="/`whoami`@`hostname`:$(readlink -f $1)" ssh <you@local-workstation> emacsclient -n -s '~/.emacs.d/server/server' $location
the variable server-socket-dir
(atleast on gnu emacs) holds location of socket. socket file in case called server
.
Comments
Post a Comment