Something like this in your ~/.emacs might do the job:

  (define-key global-map (kbd "C-x C-b")
    (lambda ()
    (interactive)
    (select-window (call-interactively 'list-buffers))))

Cheers,

Mark


On Mar 30, 7:41 am, Mark Engelberg <mark.engelb...@gmail.com> wrote:
> When I have two windows open, and hit C-x-C-b, it pops up a list of
> buffers in the OTHER window from where the current focus is.  Any idea
> why it's doing that, and how I can alter the behavior so it pops up
> the list of buffers in the current window?
>
> Also, where can I look up the names of various commands to rebind to
> different keys?  For example, I want to remap C-s to do what C-x-C-s
> currently does, and I wan to remap C-f to do what C-s currently does,
> to make behavior more consistent with other programs I use.  (After
> using emacs for a while, I inevitably find myself hitting C-x-C-s to
> save in other programs :) )
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to