I’ve recently made the switch to using Emacs in Daemon mode.
The primary benefit (for me) is super quick boot up time — and it’s been wonderful, except I ran into the problem today of having a large set of my configuration not working. A bunch of my trusty keybinds were gone, some packages weren’t loaded, and this led to sessions started with emacsclient -t
not feeling quite like home.
Here are a few tips in case you run into issues with init config loading for you:
~/.emacs
or ~/.emacs.d/emacs.el
are looked for on startup (Because the documentation said so)--debug-init
so I devolved to print-statement debugging (the message
elisp function is your friend). Find out quickly whether your init file is being read at all by putting in some statements, and checking the *Messages* buffer once Emacs has started up.emacsclient -t -a ''
pkill emacs
between bug fixing iterationsWhile somewhat painful, after getting all the problems fixed, you’ll have a wonderfully fast emacs launch speed, and probably a better grasp on elisp.