/[emacs]/emacs/man/buffers.texi
ViewVC logotype

Diff of /emacs/man/buffers.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by eliz, Thu Nov 1 13:29:25 2001 UTC revision 1.20.4.1 by miles, Fri Apr 4 06:20:46 2003 UTC
# Line 54  megabytes. Line 54  megabytes.
54  * Kill Buffer::         Killing buffers you no longer need.  * Kill Buffer::         Killing buffers you no longer need.
55  * Several Buffers::     How to go through the list of all buffers  * Several Buffers::     How to go through the list of all buffers
56                            and operate variously on several of them.                            and operate variously on several of them.
57  * Indirect Buffers::    An indirect buffer shares the text of another buffer.  * Indirect Buffers::    An indirect buffer shares the text of another buffer.
58  * Buffer Convenience::  Convenience and customization features for  * Buffer Convenience::  Convenience and customization features for
59                            buffer handling.                            buffer handling.
60  @end menu  @end menu
# Line 155  current buffer.  Here is an example of a Line 155  current buffer.  Here is an example of a
155   MR Buffer         Size  Mode           File   MR Buffer         Size  Mode           File
156   -- ------         ----  ----           ----   -- ------         ----  ----           ----
157  .*  emacs.tex      383402 Texinfo       /u2/emacs/man/emacs.tex  .*  emacs.tex      383402 Texinfo       /u2/emacs/man/emacs.tex
158      *Help*         1287  Fundamental          *Help*         1287  Fundamental
159      files.el       23076 Emacs-Lisp     /u2/emacs/lisp/files.el      files.el       23076 Emacs-Lisp     /u2/emacs/lisp/files.el
160    % RMAIL          64042 RMAIL          /u/rms/RMAIL    % RMAIL          64042 RMAIL          /u/rms/RMAIL
161   *% man            747   Dired          /u2/emacs/man/             *% man            747   Dired          /u2/emacs/man/
162      net.emacs      343885 Fundamental   /u/rms/net.emacs      net.emacs      343885 Fundamental   /u/rms/net.emacs
163      fileio.c       27691 C              /u2/emacs/src/fileio.c      fileio.c       27691 C              /u2/emacs/src/fileio.c
164      NEWS           67340 Text           /u2/emacs/etc/NEWS      NEWS           67340 Text           /u2/emacs/etc/NEWS
# Line 181  unless they visit files: such buffers ar Line 181  unless they visit files: such buffers ar
181    
182  @table @kbd  @table @kbd
183  @item C-x C-q  @item C-x C-q
184  Toggle read-only status of buffer (@code{vc-toggle-read-only}).  Toggle read-only status of buffer (@code{toggle-read-only}).
185  @item M-x rename-buffer @key{RET} @var{name} @key{RET}  @item M-x rename-buffer @key{RET} @var{name} @key{RET}
186  Change the name of the current buffer.  Change the name of the current buffer.
187  @item M-x rename-uniquely  @item M-x rename-uniquely
# Line 191  Scroll through buffer @var{buffer}. Line 191  Scroll through buffer @var{buffer}.
191  @end table  @end table
192    
193  @kindex C-x C-q  @kindex C-x C-q
 @c Don't index vc-toggle-read-only here, it is indexed in files.texi,  
 @c in the node "Basic VC Editing".  
 @c @findex vc-toggle-read-only  
194  @vindex buffer-read-only  @vindex buffer-read-only
195  @cindex read-only buffer  @cindex read-only buffer
196    A buffer can be @dfn{read-only}, which means that commands to change    A buffer can be @dfn{read-only}, which means that commands to change
# Line 203  buffers are usually made by subsystems s Line 200  buffers are usually made by subsystems s
200  have special commands to operate on the text; also by visiting a file  have special commands to operate on the text; also by visiting a file
201  whose access control says you cannot write it.  whose access control says you cannot write it.
202    
203    @findex toggle-read-only
204    If you wish to make changes in a read-only buffer, use the command    If you wish to make changes in a read-only buffer, use the command
205  @kbd{C-x C-q} (@code{vc-toggle-read-only}).  It makes a read-only buffer  @kbd{C-x C-q} (@code{toggle-read-only}).  It makes a read-only buffer
206  writable, and makes a writable buffer read-only.  In most cases, this  writable, and makes a writable buffer read-only.  This
207  works by setting the variable @code{buffer-read-only}, which has a local  works by setting the variable @code{buffer-read-only}, which has a local
208  value in each buffer and makes the buffer read-only if its value is  value in each buffer and makes the buffer read-only if its value is
209  non-@code{nil}.  If the file is maintained with version control,  non-@code{nil}.  If you have files under version control, you may find
210  @kbd{C-x C-q} works through the version control system to change the  it convenient to bind @kbd{C-x C-q} to @code{vc-toggle-read-only}
211  read-only status of the file as well as the buffer.  @xref{Version  instead.  Then, typing @kbd{C-x C-q} not only changes the read-only
212    flag, but it also checks the file in or out.  @xref{Version
213  Control}.  Control}.
214    
215  @findex rename-buffer  @findex rename-buffer
# Line 499  convenient to switch between buffers. Line 498  convenient to switch between buffers.
498  @menu  @menu
499  * Uniquify::               Buffer names can contain directory parts.  * Uniquify::               Buffer names can contain directory parts.
500  * Iswitchb::               Switching between buffers with substrings.  * Iswitchb::               Switching between buffers with substrings.
501  * Buffer Menus::           Configurable buffer menu.      * Buffer Menus::           Configurable buffer menu.
502  @end menu  @end menu
503    
504  @node Uniquify  @node Uniquify

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.20.4.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26