aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/buffers.texi54
2 files changed, 28 insertions, 31 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index a0d5344641e..6cd432c26ae 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * buffers.texi (Icomplete): Rename from Iswitchb and
4 rewrite accordingly.
5
12013-11-23 Glenn Morris <rgm@gnu.org> 62013-11-23 Glenn Morris <rgm@gnu.org>
2 7
3 * cmdargs.texi (General Variables): 8 * cmdargs.texi (General Variables):
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi
index 2d3ff5b05d8..2fadb7b4910 100644
--- a/doc/emacs/buffers.texi
+++ b/doc/emacs/buffers.texi
@@ -598,7 +598,7 @@ convenient to switch between buffers.
598 598
599@menu 599@menu
600* Uniquify:: Making buffer names unique with directory parts. 600* Uniquify:: Making buffer names unique with directory parts.
601* Iswitchb:: Switching between buffers with substrings. 601* Icomplete:: Fast minibuffer selection.
602* Buffer Menus:: Configurable buffer menu. 602* Buffer Menus:: Configurable buffer menu.
603@end menu 603@end menu
604 604
@@ -641,39 +641,31 @@ buffer names before you type one. But as an experienced user, if you
641know the rule, you won't have to look. And then you may find that one 641know the rule, you won't have to look. And then you may find that one
642rule or another is easier for you to remember and apply quickly. 642rule or another is easier for you to remember and apply quickly.
643 643
644@node Iswitchb 644@node Icomplete
645@subsection Switching Between Buffers using Substrings 645@subsection Fast minibuffer selection
646 646
647@findex iswitchb-mode 647@findex icomplete-mode
648@cindex Iswitchb mode 648@cindex Icomplete mode
649@cindex mode, Iswitchb 649
650@kindex C-x b @r{(Iswitchb mode)} 650 Icomplete global minor mode provides a convenient way to quickly select an
651@kindex C-x 4 b @r{(Iswitchb mode)} 651element among the possible completions in a minibuffer. When enabled, typing
652@kindex C-x 5 b @r{(Iswitchb mode)} 652in the minibuffer continuously displays a list of possible completions that
653@kindex C-x 4 C-o @r{(Iswitchb mode)} 653match the string you have typed.
654 654
655 Iswitchb global minor mode provides convenient switching between 655 At any time, you can type @key{C-j} to select the first completion in
656buffers using substrings of their names. It replaces the normal 656the list. So the way to select a particular completion is to make it the
657definitions of @kbd{C-x b}, @kbd{C-x 4 b}, @kbd{C-x 5 b}, and @kbd{C-x
6584 C-o} with alternative commands that are somewhat ``smarter''.
659
660 When one of these commands prompts you for a buffer name, you can
661type in just a substring of the name you want to choose. As you enter
662the substring, Iswitchb mode continuously displays a list of buffers
663that match the substring you have typed.
664
665 At any time, you can type @key{RET} to select the first buffer in
666the list. So the way to select a particular buffer is to make it the
667first in the list. There are two ways to do this. You can type more 657first in the list. There are two ways to do this. You can type more
668of the buffer name and thus narrow down the list, excluding unwanted 658of the completion name and thus narrow down the list, excluding unwanted
669buffers above the desired one. Alternatively, you can use @kbd{C-s} 659completions above the desired one. Alternatively, you can use @kbd{C-.}
670and @kbd{C-r} to rotate the list until the desired buffer is first. 660and @kbd{C-,} to rotate the list until the desired buffer is first.
671 661
672 @key{TAB} while entering the buffer name performs completion on the 662 @key{M-TAB} will select the first completion in the list, like @key{C-j} but
673string you have entered, based on the displayed list of buffers. 663without exiting the minibuffer, so you can edit it further. This is typically
664used when entering a file name, where @key{M-TAB} can be used a few times to
665descend in the hierarchy of directories.
674 666
675 To enable Iswitchb mode, type @kbd{M-x iswitchb-mode}, or customize 667 To enable Icomplete mode, type @kbd{M-x icomplete-mode}, or customize
676the variable @code{iswitchb-mode} to @code{t} (@pxref{Easy 668the variable @code{icomplete-mode} to @code{t} (@pxref{Easy
677Customization}). 669Customization}).
678 670
679@node Buffer Menus 671@node Buffer Menus