aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2017-12-02 12:56:45 +0200
committerEli Zaretskii2017-12-02 12:56:45 +0200
commit77cf972592ee1c86ca330a42d4009f99bed1a349 (patch)
treede189ccb18c32f82bb89d0d055208e173e4bc8cc
parent66ec92af0060952ef7b53a8f1c07177cf38b3145 (diff)
downloademacs-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.texi25
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
178pops up a buffer menu in a buffer named @file{*Buffer List*}. Each
178line in the list shows one buffer's name, size, major mode and visited file. 179line in the list shows one buffer's name, size, major mode and visited file.
179The buffers are listed in the order that they were current; the 180The buffers are listed in the order that they were current; the
180buffers that were current most recently come first. 181buffers that were current most recently come first. This section
182describes how the list of buffers is displayed and how to interpret
183the various indications in the list; see @ref{Several Buffers}, for
184description of the special mode in the @file{*Buffer List*} buffer and
185the 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
183current. @samp{%} indicates a read-only buffer. @samp{*} indicates 188current. @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
701Make a list of buffers similarly to @kbd{M-x list-buffers} but 706Make a list of buffers similarly to @kbd{M-x list-buffers} but
702customizable. 707customizable.
708@item M-x ibuffer
709Make 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
706displayed by @kbd{C-x C-b} but which you can customize. If you prefer 714displayed by @kbd{C-x C-b}, but whose display you can customize in a
715more flexible fashion. For example, you can specify the list of
716buffer attributes to show, the minimum and maximum width of buffer
717name column, a regexp for names of buffers that will never be shown
718and those which will always be shown, etc. If you prefer
707this to the usual buffer list, you can bind this command to @kbd{C-x 719this to the usual buffer list, you can bind this command to @kbd{C-x
708C-b}. To customize this buffer list, use the @code{bs} Custom group 720C-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},
719normally on @kbd{C-Down-mouse-1} and @kbd{C-@key{F10}}, and the menu 731normally on @kbd{C-Down-mouse-1} and @kbd{C-@key{F10}}, and the menu
720bar buffer menu. You can customize the menu in the @code{msb} Custom 732bar buffer menu. You can customize the menu in the @code{msb} Custom
721group. 733group.
734
735@findex ibuffer
736 IBuffer is a major mode for viewing a list of buffers and operating
737on them in a way analogous to that of Dired (@pxref{Dired}), including
738filtering, marking, sorting in various ways, and acting on buffers.