Re:Using Emacs as $Editor
by Scarbutt on Monday October 02, 2023 @02:32PM
(#37742442)
What's the difference between daemon and server-mode?
[ Parent
| on HN ]
IIRC, daemon mode is a headless instance of the Emacs that the clients can connect to. Server-mode is just a standard, headful, user-session instance of Emacs that can also accept clients.
Re:Using Emacs as $Editor
by globular-toast on Monday October 02, 2023 @04:13PM
(#37743795)
Daemon runs without a UI at all and can only be used with emacsclient. server-mode is used with a normal/non-daemon instance so emacsclients can connect to it. Combined with the --alternative option you can then run emacsclient without really thinking about it. The first one will start a full emacs instance and enable the server, subsequent ones will just connect to that server.