简体   繁体   English

如何在Emacs 27,Ubuntu 18上启动EmacsClient

[英]How to start emacsclient on emacs 27, ubuntu 18

What is the equivalent of emacsclient -a '' with emacs 27 on Ubuntu 18? 在Ubuntu 18上emacsclient -a ''与emacs 27等效吗? I now get 我现在得到

$ emacsclient -a ''
emacsclient: file name or argument required
Try 'emacsclient --help' for more information

Without the fallback of starting an emacs daemon and then connecting again as had worked previously. 无需回退即可启动emacs守护程序,然后像以前一样重新连接。 This had worked on ubuntu 16.04 as well, so I assume it has something to do with Ubuntu 18.04. 这也适用于ubuntu 16.04,因此我认为它与Ubuntu 18.04有关。

You need to pass either -t or -n . 您需要传递-t-n If you want a GUI window: emacsclient -nc -a '' . 如果需要GUI窗口: emacsclient -nc -a '' If you want it to run in the terminal either emacsclient -t -a '' or emacsclient -nw -a '' will do what you want. 如果您希望它在终端中运行,则emacsclient -t -a ''emacsclient -nw -a ''您的要求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM