www.delorie.com/gnu/docs/emacs/emacs_187.html   search  
 
Buy the book!


GNU Emacs Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

O.4 Displaying in Another Window

C-x 4 is a prefix key for commands that select another window (splitting the window if there is only one) and select a buffer in that window. Different C-x 4 commands have different ways of finding the buffer to select.

C-x 4 b bufname RET
Select buffer bufname in another window. This runs switch-to-buffer-other-window.
C-x 4 C-o bufname RET
Display buffer bufname in another window, but don't select that buffer or that window. This runs display-buffer.
C-x 4 f filename RET
Visit file filename and select its buffer in another window. This runs find-file-other-window. See section M.2 Visiting Files.
C-x 4 d directory RET
Select a Dired buffer for directory directory in another window. This runs dired-other-window. See section AB. Dired, the Directory Editor.
C-x 4 m
Start composing a mail message in another window. This runs mail-other-window; its same-window analogue is C-x m (see section Z. Sending Mail).
C-x 4 .
Find a tag in the current tags table, in another window. This runs find-tag-other-window, the multiple-window variant of M-. (see section W.2 Tags Tables).
C-x 4 r filename RET
Visit file filename read-only, and select its buffer in another window. This runs find-file-read-only-other-window. See section M.2 Visiting Files.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003