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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -