12

In emacs, I'd like to open the same buffer in multiple frames. Before I used ido, this was easy: I'd just switch to the buffer in one frame with C-x b, then focus a different frame in my window manager, and then open the buffer in that other frame too (with C-x b again.) But, now that I use ido for fuzzy completion in C-x b, when I try to open the second copy of the buffer, it just sends the focus back to the first frame and frustrates me.

Is there a variable I can set to control this behavior?

Ideally, I'd like C-x b ENTER to not be biased at all by the other buffers that are open (normally, it tries to default to a buffer that is not open in any window.)

Cœur
  • 37,241
  • 25
  • 195
  • 267
Geoff
  • 4,372
  • 5
  • 25
  • 29

2 Answers2

17

It looks like

(setq ido-default-buffer-method 'selected-window)

is what you need.

Sean
  • 29,130
  • 4
  • 80
  • 105
1

I use C-r in Ido to search backward through it's list. The buffer that I want has usually been pushed to the end of the list. I do tend to use multiple window splits (verticle and horizontal) instead of multiple frames.

Bryan Ash
  • 4,385
  • 3
  • 41
  • 57