How to exit client in server-mode reddit / emacs ---------------------------------------------------------------------- wWA5RnA4n2P3w2WvfHq · 2022-01-25 10:29 The manpage of `emacsclient` tells me to exit/finish a session via `C-x #`. But why? Also `C-x C-c` also works well. I do not see that this would cause any problems. And it seams like that the server is still running. ---------------------------------------------------------------------- Gangsir · 2022-01-25 12:46 When you're using emacsclient as your editor, things like git will open files with emacs and then wait for emacsclient to terminate to continue. Running C-x # or `server-edit` kills the buffer EC created, and terminates EC, which allows git or whatever invoked your editor to continue. ---------------------------------------------------------------------- wWA5RnA4n2P3w2WvfHq · 2022-02-05 19:05 `C-x C-c` does not close `emacsclient` ? I am confused.