Подтвердить что ты не робот

"открыть буфер здесь" в emacs (ido-mode)

Я использую emacs в ido-режиме. При выборе нужного буфера вместо буфера, отображаемого в текущем окне, я буду переводиться в отдельный кадр и окно, в котором буфер уже открыт. Есть ли способ изменить (отключить) это поведение? Кажется, что я ожидаю от (pop-to-buffer), но в ido.el нет такой ссылки, которую я могу найти. Я думаю, что это "особенность" ido-mode, потому что это не происходит, когда я запускаю emacs с опцией -q. Большое спасибо заранее...

4b9b3361

Ответ 1

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