C-x k不会杀死mac emacs中的缓冲区

时间:2012-09-05 15:14:16

标签: macos emacs

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

它有什么问题吗?

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

安装了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 个答案:

答案 0 :(得分:6)

这是因为starter-kit将ido-use-virtual-buffers设置为t。 缓冲区实际上被杀死了,但它仍然是由ido显示的,作为最近使用过的缓冲区的一部分,可以快速恢复。

如果你不喜欢它,只是

(setq ido-use-virtual-buffers nil)