: Learning GNU Emacs, 3rd Edition

4.4.3 Deleting and Minimizing Frames

4.4.3 Deleting and Minimizing Frames

To get rid of a frame, press C-x 5 0. Emacs deletes the frame you are in. Deleting a frame, like deleting a window, affects only the display. The underlying buffer is still active, and you can move to it by typing C-x b.

If you try to use C-x 5 0 to delete the only frame that is left, Emacs won't do it. To exit Emacs, type C-x C-c or close the frame as you would any other GUI window using the mouse.

To minimize a frame, either minimize it in the usual way or press C-z. Table 4-1 summarizes the frame commands.

Table4-1.Frame commands

Keystrokes Command name Action
C-x 5 o Buffers ? Frames other-frame Move to other frame.
C-x 5 0 File ? Delete Frame delete-frame Delete current frame.
C-x 5 2 File ? New Frame make-frame Create a new frame on the current buffer.
C-x 5 f find-file-other-frame Find file in a new frame.
C-x 5 r find-file-read-only-other-frame Finds a file in a new frame, but it is read-only.
C-x 5 b switch-to-buffer-other-frame Make frame and display other buffer in it.

: 0.320. /Cache: 3 / 1