diff options
| author | Stefan Monnier | 2013-11-29 13:54:14 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-11-29 13:54:14 -0500 |
| commit | 1659fa3fbd9c0d644930d4e7c8efb2c2e55467dc (patch) | |
| tree | 6ff8506801d47c5084f669cca631b43a9e38cb0a | |
| parent | 4e36a6a6e2ce2367d0c049c45c91a7ae48ae1e77 (diff) | |
| download | emacs-1659fa3fbd9c0d644930d4e7c8efb2c2e55467dc.tar.gz emacs-1659fa3fbd9c0d644930d4e7c8efb2c2e55467dc.zip | |
* doc/emacs/buffers.texi (Icomplete): Rename from Iswitchb and
rewrite accordingly.
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/buffers.texi | 54 |
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 @@ | |||
| 1 | 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * buffers.texi (Icomplete): Rename from Iswitchb and | ||
| 4 | rewrite accordingly. | ||
| 5 | |||
| 1 | 2013-11-23 Glenn Morris <rgm@gnu.org> | 6 | 2013-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 | |||
| 641 | know the rule, you won't have to look. And then you may find that one | 641 | know the rule, you won't have to look. And then you may find that one |
| 642 | rule or another is easier for you to remember and apply quickly. | 642 | rule 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)} | 651 | element among the possible completions in a minibuffer. When enabled, typing |
| 652 | @kindex C-x 5 b @r{(Iswitchb mode)} | 652 | in the minibuffer continuously displays a list of possible completions that |
| 653 | @kindex C-x 4 C-o @r{(Iswitchb mode)} | 653 | match 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 |
| 656 | buffers using substrings of their names. It replaces the normal | 656 | the list. So the way to select a particular completion is to make it the |
| 657 | definitions of @kbd{C-x b}, @kbd{C-x 4 b}, @kbd{C-x 5 b}, and @kbd{C-x | ||
| 658 | 4 C-o} with alternative commands that are somewhat ``smarter''. | ||
| 659 | |||
| 660 | When one of these commands prompts you for a buffer name, you can | ||
| 661 | type in just a substring of the name you want to choose. As you enter | ||
| 662 | the substring, Iswitchb mode continuously displays a list of buffers | ||
| 663 | that match the substring you have typed. | ||
| 664 | |||
| 665 | At any time, you can type @key{RET} to select the first buffer in | ||
| 666 | the list. So the way to select a particular buffer is to make it the | ||
| 667 | first in the list. There are two ways to do this. You can type more | 657 | first in the list. There are two ways to do this. You can type more |
| 668 | of the buffer name and thus narrow down the list, excluding unwanted | 658 | of the completion name and thus narrow down the list, excluding unwanted |
| 669 | buffers above the desired one. Alternatively, you can use @kbd{C-s} | 659 | completions above the desired one. Alternatively, you can use @kbd{C-.} |
| 670 | and @kbd{C-r} to rotate the list until the desired buffer is first. | 660 | and @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 |
| 673 | string you have entered, based on the displayed list of buffers. | 663 | without exiting the minibuffer, so you can edit it further. This is typically |
| 664 | used when entering a file name, where @key{M-TAB} can be used a few times to | ||
| 665 | descend 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 |
| 676 | the variable @code{iswitchb-mode} to @code{t} (@pxref{Easy | 668 | the variable @code{icomplete-mode} to @code{t} (@pxref{Easy |
| 677 | Customization}). | 669 | Customization}). |
| 678 | 670 | ||
| 679 | @node Buffer Menus | 671 | @node Buffer Menus |