代码之家  ›  专栏  ›  技术社区  ›  Rorschach

如何在emacs 27、ubuntu 18上启动EmacClient

  •  1
  • Rorschach  · 技术社区  · 6 年前

    相当于什么 emacsclient -a '' 在Ubuntu 18上使用emacs 27?我现在可以

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

    无需像以前那样启动emacs守护程序,然后再次连接。这也适用于ubuntu 16.04,所以我认为这与ubuntu 18.04有关。

    1 回复  |  直到 6 年前
        1
  •  1
  •   xmonk    6 年前

    你需要通过 -t -n 。如果需要GUI窗口: emacsclient -nc -a '' 。如果要在终端中运行 emacsclient -t -a '' emacsclient -nw -a '' 会做你想做的事。