我正在使用ido-mode的Emacs。在选择所需的缓冲区时,缓冲区不会出现在当前窗口中,而是会跳转到一个单独的框架和窗口中,该缓冲区已经打开。是否有一种方法可以修改(关闭)这种行为?它似乎是pop-to-buffer的功能,但我在ido.el中找不到此类参考。我认为这是ido-mode的“特性”,因为当我使用-q选项启动Emacs时,这种情况不会发生。非常感谢提前...
ido-default-buffer-method
可能是你正在寻找的,它具有与ido-default-file-method
相同的可能值,并将您引导到其帮助文档,该文档为:
ido-default-file-method is a variable defined in `ido.el'.
Its value is raise-frame
Documentation:
How to visit a new file when using `ido-find-file'.
Possible values:
`selected-window' Show new file in selected window
`other-window' Show new file in another window (same frame)
`display' Display file in another window without selecting to it
`other-frame' Show new file in another frame
`maybe-frame' If a file is visible in another frame, prompt to ask if you
you want to see the file in the same window of the current
frame or in the other frame
`raise-frame' If a file is visible in another frame, raise that
frame; otherwise, visit the file in the same window