[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: switching frame focus
From: |
John Conrad |
Subject: |
Re: switching frame focus |
Date: |
Thu, 4 May 2006 10:25:11 -0400 |
On 5/4/06, Roger Mason <rmason@esd.mun.ca> wrote:
"Ryan Krauss" <ryanlists@gmail.com> writes:
> This seems like a silly question, but I have goolged around and not
> come up with an answer. If I split my window using C-x 2, how do I
> switch the focus between the two split frames (or whatever emacs calls
> them). I have an aversion to touching the mouse, but basically I want
> to click in the other window and work over there and then click
> back. I also want to use this when I do C-x C-b to list the buffers.
> I want
> to switch into the buffer list to choose the one I want to open.
C-x o cycles between frames.
HTH,
Roger
Specifically, the command/function 'other-window' cycles through
windows, and, as Roger pointed out, it is bound by default to the
C-x o.
It always annoyed me that C-x C-b (and lots of other commands) open
new windows, possibly messing up my window configuration, and almost
always requiring me to take the extra step of hitting C-x o (or F7,
which I've bound to 'other-window). About a year ago I took the step
of adding the following sexp to my .emacs file, which causes all these
buffer-creating commands to open in the current window:
(setq same-window-regexps (list ".*"))
I would be curious to hear from anybody who might share my frustration
and has found an alternative solution.
Regards,
John Emerson Conrad