diff options
| author | Eli Zaretskii | 2017-12-02 12:56:45 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-12-02 12:56:45 +0200 |
| commit | 77cf972592ee1c86ca330a42d4009f99bed1a349 (patch) | |
| tree | de189ccb18c32f82bb89d0d055208e173e4bc8cc | |
| parent | 66ec92af0060952ef7b53a8f1c07177cf38b3145 (diff) | |
| download | emacs-77cf972592ee1c86ca330a42d4009f99bed1a349.tar.gz emacs-77cf972592ee1c86ca330a42d4009f99bed1a349.zip | |
Improve documentation of buffer-list commands and features
* doc/emacs/buffers.texi (List Buffers): Add a cross-reference to
"Several Buffers", to establish a relation between the two
sections.
(Buffer Menus): Expand on customizability of alternative buffer
menu offered by bs.el. Mention IBuffer.
Suggested by Alex Branham <alex.branham@gmail.com> in
emacs-manual-bugs@gnu.org.
| -rw-r--r-- | doc/emacs/buffers.texi | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index 362d3b36453..1a27fe877e0 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi | |||
| @@ -174,10 +174,15 @@ List the existing buffers (@code{list-buffers}). | |||
| 174 | @cindex listing current buffers | 174 | @cindex listing current buffers |
| 175 | @kindex C-x C-b | 175 | @kindex C-x C-b |
| 176 | @findex list-buffers | 176 | @findex list-buffers |
| 177 | To display a list of existing buffers, type @kbd{C-x C-b}. Each | 177 | To display a list of existing buffers, type @kbd{C-x C-b}. This |
| 178 | pops up a buffer menu in a buffer named @file{*Buffer List*}. Each | ||
| 178 | line in the list shows one buffer's name, size, major mode and visited file. | 179 | line in the list shows one buffer's name, size, major mode and visited file. |
| 179 | The buffers are listed in the order that they were current; the | 180 | The buffers are listed in the order that they were current; the |
| 180 | buffers that were current most recently come first. | 181 | buffers that were current most recently come first. This section |
| 182 | describes how the list of buffers is displayed and how to interpret | ||
| 183 | the various indications in the list; see @ref{Several Buffers}, for | ||
| 184 | description of the special mode in the @file{*Buffer List*} buffer and | ||
| 185 | the commands available there. | ||
| 181 | 186 | ||
| 182 | @samp{.} in the first field of a line indicates that the buffer is | 187 | @samp{.} in the first field of a line indicates that the buffer is |
| 183 | current. @samp{%} indicates a read-only buffer. @samp{*} indicates | 188 | current. @samp{%} indicates a read-only buffer. @samp{*} indicates |
| @@ -700,13 +705,20 @@ Customization}). | |||
| 700 | @item M-x bs-show | 705 | @item M-x bs-show |
| 701 | Make a list of buffers similarly to @kbd{M-x list-buffers} but | 706 | Make a list of buffers similarly to @kbd{M-x list-buffers} but |
| 702 | customizable. | 707 | customizable. |
| 708 | @item M-x ibuffer | ||
| 709 | Make a list of buffers and operate on them in Dired-like fashion. | ||
| 703 | @end table | 710 | @end table |
| 704 | 711 | ||
| 712 | @findex bs-customize | ||
| 705 | @kbd{M-x bs-show} pops up a buffer list similar to the one normally | 713 | @kbd{M-x bs-show} pops up a buffer list similar to the one normally |
| 706 | displayed by @kbd{C-x C-b} but which you can customize. If you prefer | 714 | displayed by @kbd{C-x C-b}, but whose display you can customize in a |
| 715 | more flexible fashion. For example, you can specify the list of | ||
| 716 | buffer attributes to show, the minimum and maximum width of buffer | ||
| 717 | name column, a regexp for names of buffers that will never be shown | ||
| 718 | and those which will always be shown, etc. If you prefer | ||
| 707 | this to the usual buffer list, you can bind this command to @kbd{C-x | 719 | this to the usual buffer list, you can bind this command to @kbd{C-x |
| 708 | C-b}. To customize this buffer list, use the @code{bs} Custom group | 720 | C-b}. To customize this buffer list, use the @code{bs} Custom group |
| 709 | (@pxref{Easy Customization}). | 721 | (@pxref{Easy Customization}), or invoke @kbd{bs-customize}. |
| 710 | 722 | ||
| 711 | @findex msb-mode | 723 | @findex msb-mode |
| 712 | @cindex mode, MSB | 724 | @cindex mode, MSB |
| @@ -719,3 +731,8 @@ prefer. It replaces the bindings of @code{mouse-buffer-menu}, | |||
| 719 | normally on @kbd{C-Down-mouse-1} and @kbd{C-@key{F10}}, and the menu | 731 | normally on @kbd{C-Down-mouse-1} and @kbd{C-@key{F10}}, and the menu |
| 720 | bar buffer menu. You can customize the menu in the @code{msb} Custom | 732 | bar buffer menu. You can customize the menu in the @code{msb} Custom |
| 721 | group. | 733 | group. |
| 734 | |||
| 735 | @findex ibuffer | ||
| 736 | IBuffer is a major mode for viewing a list of buffers and operating | ||
| 737 | on them in a way analogous to that of Dired (@pxref{Dired}), including | ||
| 738 | filtering, marking, sorting in various ways, and acting on buffers. | ||