- 在emacs中启动server(m-x server-start)
- 在其他地方用emacsclient打开文件
- emacsclient 文件 的方式打开文件的话,需要在开启server的emacs窗口进行编辑,编辑完成保存之后使用 c-x #退出,并通知client端编辑结束。
- emacsclient -t 文件 方式的话,则在当前终端开启emacs窗口进行编辑。
转载于:https://my.oschina.net/shuizeiguohe/blog/148948
转载于:https://my.oschina.net/shuizeiguohe/blog/148948