Saturday, 15 August 2015

windows - Emacs can't start server -



windows - Emacs can't start server -

i seek start emacs server on windows 8 machine. downloaded vanilla emacs, , run using runemacs.exe. run m-x server-start , execution of command takes 3 minutes, after there's ~/.emacs.d/server/server file next contents:

class="lang-none prettyprint-override">127.0.0.1:65118 5868 r@twzr]x-vjcb`g\&t;u1<bj3x]}6!8xuz~p;{q9'aij322!w0o1xk[/k4v>zok*

and emacs server doesn't run: when seek open file emacsclientw.exe says no server.

apparently emacs tried start server failed. i'm owner of ~/.emacs.d folder.

you're using non-standard socket directory. default, sockets stored in /tmp/emacsxyzq (where xyzq number). emacsclient cannot expected know set sockets, need tell (if it's not usual place). can -s command.

class="lang-sh prettyprint-override">emacsclient -s ~/.emacs.d/server/server

normally, you'd create more convienient adding

class="lang-sh prettyprint-override">emacs_server_file=~/.emacs.d/server/server

to ~/.profile , using emacsclient normally, i'm not sure windows analog of be.

references:

this question emacsclient options docs

windows emacs windows-8 permissions localhost

No comments:

Post a Comment