From 522300c767493bd5217d593ea2800e64e8617cbe Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 10 Oct 2020 11:28:54 +0100 Subject: put server socket where emacsclient expects it I'm not sure why server and client look in different places, though --- init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index ee14835..57d65c4 100755 --- a/init.el +++ b/init.el @@ -6,6 +6,9 @@ ;; You may delete these explanatory comments. (package-initialize) +; put socket in home dir; emacs 27 daemon seems to put it in +; /tmp/emacs$id but emacsclient doesn't look there :/ +(setq server-socket-dir (format "/home/%s/.emacs.d" (user-login-name))) (defalias 'make-local-hook 'ignore) (add-to-list 'load-path (expand-file-name "~/.emacs-lisp") t) ; my path at the end -- cgit v1.2.3