Post

21 Working with Frames

For a more convenient solution, add these lines to your .emacs file:

(setq initial-frame-alist '((top . 10) (left . 30)
(width . 90) (height . 50)))
(setq default-frame-alist '((width . 80) (height . 45)))

Frame commands

KeystrokesCommand nameAction
C-x 5 o Buffers Framesother-frameMove to other frame.
C-x 5 0 File Delete Framedelete-frameDelete current frame.
C-x 5 2 File New Framemake-frameCreate a new frame on the current buffer.
C-x 5 ffind-file-other-frameFind file in a new frame.
C-x 5 rfind-file-read-only-other-frameFinds a file in a new frame, but it is read-only.
C-x 5 bswitch-to-buffer-other-frameMake frame and display other buffer in it.
This post is licensed under CC BY 4.0 by the author.