4

When I type C-x C-b (i.e. the command list-buffers), how can I force it to list buffers in the other window? i.e. I typically have my screen split into 2 buffers. I am editing one buffer. I want a command which always lists buffers in the other window.

p.s. list-buffers used to always do this. But somewhere between emacs 24.3 and 24.5 it changed, so now it sometimes puts the buffer list in the current window.

1

2 Answers 2

1

I've discovered the command buffer-menu-other-window, which seems to do what I want. It'll take a few hours of use before I'm sure.

1
  • 1 day later and I'm happy with that solution. I set it to a key shortcut (F5 in my case) so I don't need to type the command.
    – Peter B
    May 20, 2015 at 4:23
0

Yes, buffer-menu-other-window is the solution, rebind C-x C-b in your .emacs file and you can permanently restore the default behavior of earlier emacs releases.

(global-set-key "\C-x\C-b" 'buffer-menu-other-window)

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .