emacsclient
Open files in an existing Emacs server. See also:
emacs. More information: https://www.gnu.org/software/emacs/manual/html_node/emacs/emacsclient-Options.html.
- Open a file in an existing Emacs server (using GUI if available):
emacsclient
- Open a file in console mode (without an X window):
emacsclient
- Open a file in a new Emacs window:
emacsclient
- Evaluate a command, printing the output to
stdout, and then quit:
emacsclient '()'
- Specify an alternative editor in case no Emacs server is running:
emacsclient
- Stop a running Emacs server and all its instances, asking for confirmation on unsaved files:
emacsclient '(save-buffers-kill-emacs)'
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
