我目前在守护进程模式下使用 Emacs。我使用桌面包保存我的会话。我还将它与此结合起来,以便保存多个命名会话。如果我打开了多个 Emacs 窗口,它们都会在同一个会话中打开,如果我切换到另一个会话,所有 Emacs 窗口都会切换到同一个会话。我希望能够在不同的 Windows 中进行不同的会话。如何才能做到这一点?
小智 1
来自 emacs 信息文档:
You can run multiple Emacs servers on the same machine by giving
each one a unique "server name", using the variable `server-name'. For
example, `M-x set-variable <RET> server-name <RET> foo <RET>' sets the
server name to `foo'. The `emacsclient' program can specify a server by
name, using the `-s' option.
Run Code Online (Sandbox Code Playgroud)
这有帮助吗?
归档时间: |
|
查看次数: |
462 次 |
最近记录: |