Mercurial > emacs
changeset 37987:39cfe73648c8
selected buffer <=> current buffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 02 Jun 2001 20:55:48 +0000 |
parents | e11682cc1516 |
children | 553346e3d511 |
files | man/buffers.texi man/vip.texi |
diffstat | 2 files changed, 17 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/man/buffers.texi Sat Jun 02 20:54:03 2001 +0000 +++ b/man/buffers.texi Sat Jun 02 20:55:48 2001 +0000 @@ -15,14 +15,14 @@ @cindex selected buffer @cindex current buffer - At any time, one and only one buffer is @dfn{selected}. It is also -called the @dfn{current buffer}. Often we say that a command operates on + At any time, one and only one buffer is @dfn{current}. It is also +called the @dfn{selected buffer}. Often we say that a command operates on ``the buffer'' as if there were only one; but really this means that the -command operates on the selected buffer (most commands do). +command operates on the current buffer (most commands do). When Emacs has multiple windows, each window has its own chosen buffer and displays it; at any time, only one of the windows is -selected, and its chosen buffer is the selected buffer. Each window's +selected, and its chosen buffer is the current buffer. Each window's mode line normally displays the name of the window's chosen buffer (@pxref{Windows}). @@ -81,8 +81,8 @@ @key{RET}}. This runs the command @code{switch-to-buffer} with argument @var{bufname}. You can use completion on an abbreviation for the buffer 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 +specifies the buffer that was current most recently among those not +now displayed in any window. @kindex C-x 4 b @findex switch-to-buffer-other-window @@ -149,7 +149,7 @@ @samp{*} at the beginning of a line indicates the buffer is ``modified.'' If several buffers are modified, it may be time to save some with @kbd{C-x s} (@pxref{Saving}). @samp{%} indicates a read-only buffer. @samp{.} marks the -selected buffer. Here is an example of a buffer list:@refill +current buffer. Here is an example of a buffer list:@refill @smallexample MR Buffer Size Mode File @@ -262,12 +262,13 @@ @kindex C-x k @kbd{C-x k} (@code{kill-buffer}) kills one buffer, whose name you -specify in the minibuffer. The default, used if you type just @key{RET} -in the minibuffer, is to kill the current buffer. If you kill the -current buffer, another buffer is selected; one that has been selected -recently but does not appear in any window now. If you ask to kill a -file-visiting buffer that is modified (has unsaved editing), then you -must confirm with @kbd{yes} before the buffer is killed. +specify in the minibuffer. The default, used if you type just +@key{RET} in the minibuffer, is to kill the current buffer. If you +kill the current buffer, another buffer becomes current: one that was +current in the recent past but is not displayed in any window now. If +you ask to kill a file-visiting buffer that is modified (has unsaved +editing), then you must confirm with @kbd{yes} before the buffer is +killed. The command @kbd{M-x kill-some-buffers} asks about each buffer, one by one. An answer of @kbd{y} means to kill the buffer. Killing the current @@ -383,7 +384,7 @@ Immediately select this line's buffer in a full-screen window. @item 2 Immediately set up two windows, with this line's buffer in one, and the -previously selected buffer (aside from the buffer @samp{*Buffer List*}) +previously current buffer (aside from the buffer @samp{*Buffer List*}) in the other. @item b Bury the buffer listed on this line.
--- a/man/vip.texi Sat Jun 02 20:54:03 2001 +0000 +++ b/man/vip.texi Sat Jun 02 20:55:48 2001 +0000 @@ -784,8 +784,8 @@ @cindex current buffer In Emacs the text you edit is stored in a @dfn{buffer}. -See GNU Emacs Manual, for details. There is always one @dfn{selected} -buffer which is called the @dfn{current buffer}.@refill +See GNU Emacs Manual, for details. There is always one @dfn{current} +buffer, also called the @dfn{selected buffer}.@refill @cindex window @cindex modified (buffer)