2010-02-24 19 views
11

Estoy usando emacs en modo ido. Al seleccionar el búfer deseado, en lugar de que aparezca el búfer en la ventana actual, me llevarán a un marco y una ventana separados en los que el búfer ya está abierto. ¿Hay alguna forma de modificar (desactivar) este comportamiento? Parece algo que espero de (pop-to-buffer) pero en ido.el no hay referencia que pueda encontrar. Creo que es una "función" idó-modo porque no ocurre cuando inicio emacs con la opción -q. Gracias de antemano ..."abrir el búfer aquí" en emacs (modo ido)

Respuesta

19

ido-default-buffer-method puede ser lo que usted está buscando, que tiene los mismos valores posibles como ido-default-file-method, y le dirige a su ayuda, que es:

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 
+3

En mi caso ido- El método default-buffer-method parece ser la variable que necesito cambiar, ¡pero esto me llevó directamente a eso! Gracias ~ – hatmatrix

Cuestiones relacionadas