分页: 1 / 1

[求助]emacsclient有什么用?

发表于 : 2009-12-06 14:14
wgf4242
一运行它用waiting emacs server to start?这是干啥哪

听说有那个daemon模式.看明明白咋启动的


搜来的文章

代码: 全选

最近,我开始在启动gdm的过程中使用emacs –daemon在后台运行一个emacs server,使用emacsclient -c打开一个图形化的frame,或者emacsclient -t在终端内打开一个frame,退出当前frame使用C-x 5 0。除了启动的时间稍微长一点以外,确实很方便。
我在命令行下emacs –daemon.(这是终端?)没发现它启动快啊..
emacsclient -t没在之前的终端打开一个frame.- -..没弄明白..

Re: [求助]emacsclient有什么用?

发表于 : 2009-12-06 21:28
davyzhu
我是这样用的,.emacs里设server-mode为t。在terminal里emacsclient filename就在同一个frame里打开文件了。
不过我的emacsclient -t报错,估计是make的时候没有装ncurse-dev,不知道是不是要重新compile一遍?