aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-06-02 20:55:48 +0000
committerRichard M. Stallman2001-06-02 20:55:48 +0000
commitab25a0c78f8e779aa34fb2cd5d6b0ae9e3685594 (patch)
treeaced34896744943af6be614eb545a1aef23ead02
parent66e46e195182bc8f3fc5328d6576235d06cb3562 (diff)
downloademacs-ab25a0c78f8e779aa34fb2cd5d6b0ae9e3685594.tar.gz
emacs-ab25a0c78f8e779aa34fb2cd5d6b0ae9e3685594.zip
selected buffer <=> current buffer.
-rw-r--r--man/buffers.texi29
-rw-r--r--man/vip.texi4
2 files changed, 17 insertions, 16 deletions
diff --git a/man/buffers.texi b/man/buffers.texi
index 0afe99bcea6..8ddbe0b42d0 100644
--- a/man/buffers.texi
+++ b/man/buffers.texi
@@ -15,14 +15,14 @@ command's documentation, that appears in a buffer called @samp{*Help*}.
15 15
16@cindex selected buffer 16@cindex selected buffer
17@cindex current buffer 17@cindex current buffer
18 At any time, one and only one buffer is @dfn{selected}. It is also 18 At any time, one and only one buffer is @dfn{current}. It is also
19called the @dfn{current buffer}. Often we say that a command operates on 19called the @dfn{selected buffer}. Often we say that a command operates on
20``the buffer'' as if there were only one; but really this means that the 20``the buffer'' as if there were only one; but really this means that the
21command operates on the selected buffer (most commands do). 21command operates on the current buffer (most commands do).
22 22
23 When Emacs has multiple windows, each window has its own chosen 23 When Emacs has multiple windows, each window has its own chosen
24buffer and displays it; at any time, only one of the windows is 24buffer and displays it; at any time, only one of the windows is
25selected, and its chosen buffer is the selected buffer. Each window's 25selected, and its chosen buffer is the current buffer. Each window's
26mode line normally displays the name of the window's chosen buffer 26mode line normally displays the name of the window's chosen buffer
27(@pxref{Windows}). 27(@pxref{Windows}).
28 28
@@ -81,8 +81,8 @@ Similar, but select @var{buffer} in a separate frame
81@key{RET}}. This runs the command @code{switch-to-buffer} with argument 81@key{RET}}. This runs the command @code{switch-to-buffer} with argument
82@var{bufname}. You can use completion on an abbreviation for the buffer 82@var{bufname}. You can use completion on an abbreviation for the buffer
83name you want (@pxref{Completion}). An empty argument to @kbd{C-x b} 83name you want (@pxref{Completion}). An empty argument to @kbd{C-x b}
84specifies the most recently selected buffer that is not displayed in any 84specifies the buffer that was current most recently among those not
85window.@refill 85now displayed in any window.
86 86
87@kindex C-x 4 b 87@kindex C-x 4 b
88@findex switch-to-buffer-other-window 88@findex switch-to-buffer-other-window
@@ -149,7 +149,7 @@ buffers that were current most recently come first.
149 @samp{*} at the beginning of a line indicates the buffer is ``modified.'' 149 @samp{*} at the beginning of a line indicates the buffer is ``modified.''
150If several buffers are modified, it may be time to save some with @kbd{C-x s} 150If several buffers are modified, it may be time to save some with @kbd{C-x s}
151(@pxref{Saving}). @samp{%} indicates a read-only buffer. @samp{.} marks the 151(@pxref{Saving}). @samp{%} indicates a read-only buffer. @samp{.} marks the
152selected buffer. Here is an example of a buffer list:@refill 152current buffer. Here is an example of a buffer list:@refill
153 153
154@smallexample 154@smallexample
155 MR Buffer Size Mode File 155 MR Buffer Size Mode File
@@ -262,12 +262,13 @@ Offer to kill each buffer, one by one.
262@kindex C-x k 262@kindex C-x k
263 263
264 @kbd{C-x k} (@code{kill-buffer}) kills one buffer, whose name you 264 @kbd{C-x k} (@code{kill-buffer}) kills one buffer, whose name you
265specify in the minibuffer. The default, used if you type just @key{RET} 265specify in the minibuffer. The default, used if you type just
266in the minibuffer, is to kill the current buffer. If you kill the 266@key{RET} in the minibuffer, is to kill the current buffer. If you
267current buffer, another buffer is selected; one that has been selected 267kill the current buffer, another buffer becomes current: one that was
268recently but does not appear in any window now. If you ask to kill a 268current in the recent past but is not displayed in any window now. If
269file-visiting buffer that is modified (has unsaved editing), then you 269you ask to kill a file-visiting buffer that is modified (has unsaved
270must confirm with @kbd{yes} before the buffer is killed. 270editing), then you must confirm with @kbd{yes} before the buffer is
271killed.
271 272
272 The command @kbd{M-x kill-some-buffers} asks about each buffer, one by 273 The command @kbd{M-x kill-some-buffers} asks about each buffer, one by
273one. An answer of @kbd{y} means to kill the buffer. Killing the current 274one. An answer of @kbd{y} means to kill the buffer. Killing the current
@@ -383,7 +384,7 @@ select the window.
383Immediately select this line's buffer in a full-screen window. 384Immediately select this line's buffer in a full-screen window.
384@item 2 385@item 2
385Immediately set up two windows, with this line's buffer in one, and the 386Immediately set up two windows, with this line's buffer in one, and the
386previously selected buffer (aside from the buffer @samp{*Buffer List*}) 387previously current buffer (aside from the buffer @samp{*Buffer List*})
387in the other. 388in the other.
388@item b 389@item b
389Bury the buffer listed on this line. 390Bury the buffer listed on this line.
diff --git a/man/vip.texi b/man/vip.texi
index 6b423908a4d..349caeca4ef 100644
--- a/man/vip.texi
+++ b/man/vip.texi
@@ -784,8 +784,8 @@ typing @kbd{\}. Thus @kbd{5 \ +}, as well as @kbd{\ C-u 5 +}, will insert
784@cindex current buffer 784@cindex current buffer
785 785
786In Emacs the text you edit is stored in a @dfn{buffer}. 786In Emacs the text you edit is stored in a @dfn{buffer}.
787See GNU Emacs Manual, for details. There is always one @dfn{selected} 787See GNU Emacs Manual, for details. There is always one @dfn{current}
788buffer which is called the @dfn{current buffer}.@refill 788buffer, also called the @dfn{selected buffer}.@refill
789 789
790@cindex window 790@cindex window
791@cindex modified (buffer) 791@cindex modified (buffer)