Initial Commit
[packages] / xemacs-packages / pcomplete / README
1 pcomplete provides a facility for using programmatic completion in
2 Emacs.  It is especially useful for utilities like shells and command
3 interpretors, but can in fact be used anywhere within Emacs.
4
5 The simple way to begin using pcomplete is with comint-derived modes.
6 To do this, add the following to that mode's mode-hook.  shell-mode is
7 given as an example:
8
9   (load "pcmpl-auto")
10   (add-hook 'shell-mode-hook 'pcomplete-shell-setup)
11
12 Now just type `M-x shell' and press TAB.  Enter a command name, like
13 "cvs", and press TAB again.  You should see a context-sensitive list
14 of completions for the first argument (which for cvs is the command
15 argument).
16
17                         John Wiegley <johnw@gnu.org>
18                         http://www.emacs.org/~johnw/emacs.html