server-mode enabled so that I can use
emacsclient to execute functions from other parts of my system. My main example is that I have a polybar module that calls
emacsclient for some details about the active Emacs frame. When polybar is periodically calling
emacsclient, I've noticed that the server uses up more CPU, seemingly in pursuit of deleting each new client. This makes editing feel a bit slower.
Here is a CPU sample of me editing a file.
How can I execute some elisp in the Emacs server environment without creating a whole new client each time (by calling