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 does it do this / how can I fix it? On initial load, it starts with scratch for a few seconds.
C-x #and then re-open the same file in a new client, is the second time faster than the first? - phils*Messages*buffer visible in one client window while you open a file in a new client, do you see any activity other than the message to typeC-x #when you're done with the buffer? - philsemacsprocess running to be the server. So wheneveremacsclientlaunches it first needs to launchemacs. Am I wrong? Because whenever I invokeemacsclientthe emacs process I have running has the buffer up and ready for me to use. This means I do NOT get an editing session in the shell where I invokedemacsclient. - Sean PerryC-x C-fto find a file from a running Emacs instance? (If so, then your problem isn't with emacsclient). You should also check whether things are any different if you runemacs -Q --daemon- phils