71 |
<a name="IDX644"></a> |
<a name="IDX644"></a> |
72 |
<a name="IDX645"></a> |
<a name="IDX645"></a> |
73 |
<p> At any time, one and only one buffer is <em>selected</em>. It is also |
<p> At any time, one and only one buffer is <em>selected</em>. It is also |
74 |
called the <em>current buffer</em>. Saying a command operates on "the |
called the <em>current buffer</em>. Saying a command operates on “the |
75 |
buffer" really means that the command operates on the selected |
buffer” really means that the command operates on the selected |
76 |
buffer, as most commands do. |
buffer, as most commands do. |
77 |
</p> |
</p> |
78 |
<p> When Emacs creates multiple windows, each window has a chosen buffer which |
<p> When Emacs creates multiple windows, each window has a chosen buffer which |
208 |
<p> To print a list of all existing buffers, type <kbd>C-x C-b</kbd>. Each |
<p> To print a list of all existing buffers, type <kbd>C-x C-b</kbd>. Each |
209 |
line in the list shows one buffer's name, major mode, and visited file. |
line in the list shows one buffer's name, major mode, and visited file. |
210 |
A <samp>`*'</samp> at the beginning of a line indicates the buffer has been |
A <samp>`*'</samp> at the beginning of a line indicates the buffer has been |
211 |
"modified". If several buffers are modified, it may be time to save |
“modified”. If several buffers are modified, it may be time to save |
212 |
some with <kbd>C-x s</kbd> (see section <a href="xemacs_17.html#SEC137">Saving Files</a>). A <samp>`%'</samp> indicates a read-only |
some with <kbd>C-x s</kbd> (see section <a href="xemacs_17.html#SEC137">Saving Files</a>). A <samp>`%'</samp> indicates a read-only |
213 |
buffer. A <samp>`.'</samp> marks the selected buffer. Here is an example of a |
buffer. A <samp>`.'</samp> marks the selected buffer. Here is an example of a |
214 |
buffer list: |
buffer list: |
371 |
</tr></table> |
</tr></table> |
372 |
<h2 class="section"> 15.5 Operating on Several Buffers </h2> |
<h2 class="section"> 15.5 Operating on Several Buffers </h2> |
373 |
|
|
374 |
<p> The <em>buffer-menu</em> facility is like a "Dired for buffers"; it allows |
<p> The <em>buffer-menu</em> facility is like a “Dired for buffers”; it allows |
375 |
you to request operations on various Emacs buffers by editing a |
you to request operations on various Emacs buffers by editing a |
376 |
buffer containing a list of them. You can save buffers, kill them |
buffer containing a list of them. You can save buffers, kill them |
377 |
(here called <em>deleting</em> them, for consistency with Dired), or display |
(here called <em>deleting</em> them, for consistency with Dired), or display |
411 |
same buffer. |
same buffer. |
412 |
</p></dd> |
</p></dd> |
413 |
<dt> <kbd>~</kbd></dt> |
<dt> <kbd>~</kbd></dt> |
414 |
<dd><p>Mark buffer "unmodified". The command <kbd>~</kbd> does this |
<dd><p>Mark buffer “unmodified”. The command <kbd>~</kbd> does this |
415 |
immediately when typed. |
immediately when typed. |
416 |
</p></dd> |
</p></dd> |
417 |
<dt> <kbd>x</kbd></dt> |
<dt> <kbd>x</kbd></dt> |