emacs-server

Emacs Client: difference between C-x k and C-x #

一个人想着一个人 提交于 2019-12-02 10:59:40
问题 When running emacs in daemon with a client and I hit C-x k, it says: Emacs buffer still has clients. Are you sure you want to quit? But when using C-x #, it exits immediately. I don't understand the difference. Why doesn't C-x k just behave normally in the first place, if its in a client? I found this snippet that's supposed to make C-x k behave properly but I don't understand the difference. Furthermore, when an emacs client starts up, it starts with the previous buffer for a few seconds

Emacs Client: difference between C-x k and C-x #

荒凉一梦 提交于 2019-12-02 03:54:12
When running emacs in daemon with a client and I hit C-x k, it says: Emacs buffer still has clients. Are you sure you want to quit? But when using C-x #, it exits immediately. I don't understand the difference. Why doesn't C-x k just behave normally in the first place, if its in a client? I found this snippet that's supposed to make C-x k behave properly but I don't understand the difference. Furthermore, when an emacs client starts up, it starts with the previous buffer for a few seconds then opens up the new buffer. Isn't the point of emacs server to speed up the initial start up time? Why