When I switch buffers, emacs will switch to an existing frame if the buffer is already opened there.
I found how to prevent that when switching with ido using :
(setq ido-default-buffer-method 'selected-window)
But it's not enough : for exemple if there's a lisp error emacs will automatically switch to the buffer *Backtrace*, and will switch frames if it's already open.
Is there a way to prevent completely emacs from switching to an existent frame?
popwin
package as a way of dealing with special buffers -- not sure if that plus the ido config you already found might be sufficient. – glucas Nov 13 '14 at 19:26inhibit-switch-frame
seems useful. (I have not had a chance to experiment with these options yet.) – glucas Nov 13 '14 at 20:26display-buffer
anddisplay-buffer-alist
makes my head hurt, but it's only a question of time until I find a solution. – MonsieurBanana Nov 16 '14 at 12:47