aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-05-17 11:00:07 +0000
committerEli Zaretskii2001-05-17 11:00:07 +0000
commit8f7cad1fa5a7ee6a8d49b353ec02af52881aebd7 (patch)
tree3c49b8904ce06d9f07039d8adde8087a5bbf7d59
parent4c6a4739478d9d0b78aa583dbbd8ab8ec34c4dca (diff)
downloademacs-8f7cad1fa5a7ee6a8d49b353ec02af52881aebd7.tar.gz
emacs-8f7cad1fa5a7ee6a8d49b353ec02af52881aebd7.zip
(Select Buffer): Document even-window-heights and
display-buffer-reuse-frames.
-rw-r--r--man/buffers.texi32
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
68(@code{switch-to-buffer-other-frame}). 68(@code{switch-to-buffer-other-frame}).
69@end table 69@end table
70 70
71@kindex C-x 4 b
72@findex switch-to-buffer-other-window
73@kindex C-x 5 b
74@findex switch-to-buffer-other-frame
75@kindex C-x b 71@kindex C-x b
76@findex switch-to-buffer 72@findex switch-to-buffer
77 To select the buffer named @var{bufname}, type @kbd{C-x b @var{bufname} 73 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}
81specifies the most recently selected buffer that is not displayed in any 77specifies the most recently selected buffer that is not displayed in any
82window.@refill 78window.@refill
83 79
80@kindex C-x 4 b
81@findex switch-to-buffer-other-window
82@vindex even-window-heights
83 To select a buffer in a window other than the current one, type
84@kbd{C-x 4 b @var{bufname} @key{RET}}. This runs the command
85@code{switch-to-buffer-other-window} which displays the buffer
86@var{bufname} in another window. By default, if displaying the buffer
87causes two vertically adjacent windows to be displayed, the heights of
88those windows are evened out; to countermand that and preserve the
89window configuration, set the variable @code{even-window-heights} to
90@code{nil}.
91
92@kindex C-x 5 b
93@findex switch-to-buffer-other-frame
94 Similarly, @kbd{C-x 5 b @var{buffer} @key{RET}} runs the command
95@code{switch-to-buffer-other-frame} which selects a buffer in another
96frame.
97
98@vindex display-buffer-reuse-frames
99 You can control how certain buffers are handled by these commands by
100customizing the variables @code{special-display-buffer-names},
101@code{special-display-regexps}, @code{same-window-buffer-names}, and
102@code{same-window-regexps}. See @ref{Force Same Window}, and
103@ref{Special Buffer Frames}, for more about these variables. In
104addition, if the value of @code{display-buffer-reuse-frames} is
105non-@code{nil}, and the buffer you want to switch to is already
106displayed in some frame, Emacs will raise that frame.
107
84 Most buffers are created by visiting files, or by Emacs commands that 108 Most buffers are created by visiting files, or by Emacs commands that
85want to display some text, but you can also create a buffer explicitly 109want to display some text, but you can also create a buffer explicitly
86by typing @kbd{C-x b @var{bufname} @key{RET}}. This makes a new, empty 110by typing @kbd{C-x b @var{bufname} @key{RET}}. This makes a new, empty