diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-05-17 11:00:07 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-05-17 11:00:07 +0000 |
commit | 8f7cad1fa5a7ee6a8d49b353ec02af52881aebd7 (patch) | |
tree | 3c49b8904ce06d9f07039d8adde8087a5bbf7d59 /man/buffers.texi | |
parent | 4c6a4739478d9d0b78aa583dbbd8ab8ec34c4dca (diff) | |
download | emacs-8f7cad1fa5a7ee6a8d49b353ec02af52881aebd7.tar.gz |
(Select Buffer): Document even-window-heights and
display-buffer-reuse-frames.
Diffstat (limited to 'man/buffers.texi')
-rw-r--r-- | man/buffers.texi | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/man/buffers.texi b/man/buffers.texi index 65907e6480b..22b05a39349 100644 --- a/man/buffers.texi +++ b/man/buffers.texi @@ -68,10 +68,6 @@ Similar, but select @var{buffer} in a separate frame (@code{switch-to-buffer-other-frame}). @end table -@kindex C-x 4 b -@findex switch-to-buffer-other-window -@kindex C-x 5 b -@findex switch-to-buffer-other-frame @kindex C-x b @findex switch-to-buffer To select the buffer named @var{bufname}, type @kbd{C-x b @var{bufname} @@ -81,6 +77,34 @@ name you want (@pxref{Completion}). An empty argument to @kbd{C-x b} specifies the most recently selected buffer that is not displayed in any window.@refill +@kindex C-x 4 b +@findex switch-to-buffer-other-window +@vindex even-window-heights + To select a buffer in a window other than the current one, type +@kbd{C-x 4 b @var{bufname} @key{RET}}. This runs the command +@code{switch-to-buffer-other-window} which displays the buffer +@var{bufname} in another window. By default, if displaying the buffer +causes two vertically adjacent windows to be displayed, the heights of +those windows are evened out; to countermand that and preserve the +window configuration, set the variable @code{even-window-heights} to +@code{nil}. + +@kindex C-x 5 b +@findex switch-to-buffer-other-frame + Similarly, @kbd{C-x 5 b @var{buffer} @key{RET}} runs the command +@code{switch-to-buffer-other-frame} which selects a buffer in another +frame. + +@vindex display-buffer-reuse-frames + You can control how certain buffers are handled by these commands by +customizing the variables @code{special-display-buffer-names}, +@code{special-display-regexps}, @code{same-window-buffer-names}, and +@code{same-window-regexps}. See @ref{Force Same Window}, and +@ref{Special Buffer Frames}, for more about these variables. In +addition, if the value of @code{display-buffer-reuse-frames} is +non-@code{nil}, and the buffer you want to switch to is already +displayed in some frame, Emacs will raise that frame. + Most buffers are created by visiting files, or by Emacs commands that want to display some text, but you can also create a buffer explicitly by typing @kbd{C-x b @var{bufname} @key{RET}}. This makes a new, empty |