|
|
发表于 2006-5-11 23:51:25
|
显示全部楼层
Post by pluskid
还有一个问题,就是现在不能用 C-x b 切换到 *scratch* 了,我想可能是后台那个隐藏着的 emacs 占用着 *scratch* ,所以切换的时候它简单地切换到后台那个或者是不执行操作?也许需要在后台服务的时候用 --eval 打开一个不存在而且名称不会重复的 buffer 也许是个不错的做法。
I'm using the iswitchb-mode, which do buffer switching using partial string match (say, c-x b scra<enter> will switch to *scratch*) . I address the problem you mentioned by setting iswitchb-default-method.
.emacs snippet:
(iswitchb-mode 1)
(setq iswitchb-default-method 'maybe-frame)
This way, whenever I'm switching to a buffer visible in another frame, emacs will prompt whether to show the buffer in the current frame's window.
`c-h v' that variable for more options |
|