2012-09-05 59 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) 
相關問題