I've started using the emacsclient
more along with the daemon, and I'm a huge fan, but it's started giving me trouble when I reboot my computer. After reboot when I open up a new emacsclient
, I don't get the usual daemon startup stuff in my terminal. Then once the window opens, I am unable to input anything to the minibuffer. Any time I try typing, for example M-x
or C-x C-f
, I get an error message reading Error reading from stdin
.
Killing emacs with pkill emacs
and restarting fixes the issue, but I'd rather not have it in the first place. How can I tell the daemon to die, or clean up after itself, when I'm rebooting my computer? If it makes any difference, I'm on OpenSUSE 13.2 with KDE.
emacsclient &
. I haveexport ALTERNATE_EDITOR=""
andexport EDITOR=emacsclient
in my.bashrc
file.(setcdr var 'foo)
wherevar
wasnil
, but I didn't see the error message until I tried starting emacs asemacs --debug-init
instead of using emacsclient – the server/client is a bit finicky like that.