Cx k不会杀死mac emacs中的缓冲区

use*_*366 -1 macos emacs

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

它出什么问题了?

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

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

如下所示,显示Cx 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'.
Run Code Online (Sandbox Code Playgroud)

Sig*_*gma 6

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

如果你不喜欢它,只是

(setq ido-use-virtual-buffers nil)
Run Code Online (Sandbox Code Playgroud)