Very much like Restart emacs from within emacs, except I'd like to do this for an emacs daemon and client.
Specifically, I'm interested in the terminal client, but of course being able to restart from the graphical client would be cool.
EDIT: A quick glance at the Emacs source makes it look like stuffing a string to the STDIN of a terminal hosting a client cannot be done. :( Perhaps there's some other way?
M-x load-file RET ~/.emacs
or where ever your init file is (could be~/.emacs.d/init.el
as well). The other interpretation is if you want to start a server from within emacs. Then you would doM-x server-start RET
and it will fire up the server. – Sparx Sep 15 '15 at 21:56M-x server-start RET
kills both the emacs process and the emacsclient, if any. In any case, how's this solution and comments different from what you're asking now? – Emacs User Sep 15 '15 at 23:56