如何让emacs快速打开新缓冲区?

cho*_*ida 12 emacs buffer

我曾经能够使用该命令快速在Emacs中打开一个新的缓冲区 C-x b <non existent buffer name>

不知怎的,我在我的Emacs版本(23.1)中打破了这个.当我尝试这样做时,我[No match]在命令缓冲区中获取消息.

有谁知道我可能已经做了什么来打破这个功能,或者我有可能想到能够做到这一点?

sco*_*zer 9

设置confirm-nonexistent-file-or-buffernil:

confirm-nonexistent-file-or-buffer is a variable defined in `files.el'.
Its value is after-completion

Documentation:
Whether confirmation is requested before visiting a new file or buffer.
If nil, confirmation is not requested.
If the value is `after-completion', confirmation is only
 requested if the user called `minibuffer-complete' right before
 `minibuffer-complete-and-exit'.
Any other non-nil value means to request confirmation.

This affects commands like `switch-to-buffer' and `find-file'.

You can customize this variable.

This variable was introduced, or its default value was changed, in
version 23.1 of Emacs.
Run Code Online (Sandbox Code Playgroud)


Der*_*ger 7

如果已启用ido-mode,您仍可以切换到您熟悉的行为.当我知道我将创建一个新的命名缓冲区时,我经常这样做.

C-x b C-b