Most modern editors don't have a separate
<editor>client binary. Instead, the main binary acts as a client to open a new window/the file given as an argument when possible.
Is there a way to accomplish the same in Emacs? I know about
emacsclient but 1. it's not a drop-in replacement and 2. using it comfortably requires additional setup beyond copying
.emacs.d to a machine -- e.g. adding a desktop file for
I'm envisioning something like this:
;; Start of init.el (if (server-running-p) ;; Open given file in existing server (server-start))