How can emacs open a new file in a new gui window? And how can it be made to open by splitting a window?
1 Answer
Emacs refers to gui windows as 'frames', and the partitions with a frame are called 'windows'.
You can open a file in a new frame with C-x 5 f
. You can open a file in a different window in the same frame with C-x 4 f
.
-
1I like
'new-frame
and'other-frame
to switch between frames better. Commented Dec 11, 2013 at 23:53 -
3In my case
C-x 4 f
opens the file in the other existing window in that frame. Is there a way to open the file in anew
window in the same frame. So say, I have 2 windows, I want to open the file in a third window?– ZeynelCommented Dec 29, 2013 at 11:07 -
3
C-x 2 C-x C-f
orC-x 3 C-x C-f
. If the combo is too long you can save it as a macro and bind it to something shorter.– TylerCommented Dec 30, 2013 at 14:02