As a standalone instance (without daemon mode) I close my emacs
via C-x C-c
(save-buffers-kill-terminal
).
This works also with emacsclient
and I see no problem about that.
But the manpage of emacsclient
tells me that I should close a session via C-x #
(server-edit
).
And when I start emacsclient
the minibuffer informs me that When done with this frame, type C-x 5 0
. Which would be delete-frame-functions
.
So I see 3 kinds of "closing". What are the differences and which one should I use?
I have read the documentation of all three functions but I do not understand them. There are some relevant questions and answers to this topic. But I can not bring them together. I assume the reason is that I lack a lot of emacs basic knowledge that would be relevant to understand the answers.
Maybe relevant: