运行 Emacs 作为守护进程,然后是 emacs 二进制文件

Run Emacs as a daemon and then the emacs binary

在 Mac OS 上,我能够 运行 Emacs 作为守护进程,然后是 emacs 二进制文件。但是,根据 Mickey Peterson 的 "Mastering Emacs"(请参阅下面的引用),我不应该那样做。我对这本书的误解在哪里?

emacs --daemon will run Emacs as a daemon. It will call server-start, as above, but will return control to your terminal immediately and run in the background, waiting for client requests.

If you go the server route, you cannot use the default emacs binary any more.

在 Mac Os 上,我从命令行使用“/Applications/Emacs.app/Contents/MacOS/Emacs”启动 Emacs。

引用具有误导性。启动服务器后,您可以根据需要愉快地 运行 emacsemacsclient。后者将连接到您的服务器;前者将(像往常一样)启动一个新的单独的 Emacs 实例。