2012-09-05 31 views
-1

我一直在使用emacs在mac中从这个repo https://github.com/technomancy/emacs-starter-kit它帮助我轻松上手。但问题是,无论何时我试图使用C-x k杀死一个缓冲区,它将缓冲区中的文件隐藏起来,但它仍然可用。当我做C-x b我可以再次看到它,从中选择。C-x k不会杀死mac中的缓冲区emacs

它有什么不对?

ispell是否必须做任何事情? 但我已经安装ispell使用brew install ispell

请让我知道我该如何解决这个问题。谢谢!

如以下问,展示了C-X k被绑定到,这里是输出:

C-x k runs the command ido-kill-buffer, which is an interactive 
compiled Lisp function in `ido.el'. 

It is bound to C-x k. 

(ido-kill-buffer) 

Kill a buffer. 
The buffer name is selected interactively by typing a substring. 
For details of keybindings, see `ido-switch-buffer'. 
+1

是什么'M-X描述了-key'说'C-X k'势必? – geoffspear

+0

当您使用'-q'命令行参数启动Emacs时,是否也会发生同样的情况? – user4815162342

回答

6

这是因为起动套件设置ido-use-virtual-buffers到t。 缓冲区实际上已被杀死,但它仍然被ido显示,作为最近使用的缓冲区的一部分,并且可以快速恢复。

如果你不喜欢它,只是

(setq ido-use-virtual-buffers nil)