diff options
-rw-r--r-- | configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el index b3ff7dc7f475..cc7a8c86a1da 100644 --- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el +++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el @@ -184,5 +184,22 @@ "Return the name of the current frame." (frame-parameter nil 'name)) +;; Having difficulty starting the server using systemd or calling +;; `emacs --daemon' in ~/.profile, ~/.xsessionrc, and similar files. + +;; systemd has issues syncing the socket-name, so it becomes messy. I also +;; experienced strange initialization where things like wpc-org and other +;; modules wouldn't get loaded. +;; +;; Even if I resolved the socket-name resolution issue, I couldn't find an +;; elegant way to reuse GUI frames. GUIs for me have the advantage of supporting +;; True Color, support additional keys for KBDs (i.e. super), and aren't limited +;; by the terminal for rendering certain things. +;; +;; For these reasons, it seems preferable to start the server from here. I'm +;; considering starting emacs in my ~/.xsessionrc so that the server will be +;; running after X initializes. +(server-start) + (provide 'wpc-misc) ;;; wpc-misc.el ends here |