Source

pcomplete /

Filename Size Date modified Message
0 B
2.9 KB
1.3 KB
1.2 KB
3.4 KB
729 B
394 B
6.4 KB
8.9 KB
3.4 KB
1.2 KB
9.4 KB
3.6 KB
42.5 KB
pcomplete provides a facility for using programmatic completion in
Emacs.	It is especially useful for utilities like shells and command
interpretors, but can in fact be used anywhere within Emacs.

The simple way to begin using pcomplete is with comint-derived modes.
To do this, add the following to that mode's mode-hook.	 shell-mode is
given as an example:

  (load "pcmpl-auto")
  (add-hook 'shell-mode-hook 'pcomplete-shell-setup)

Now just type `M-x shell' and press TAB.  Enter a command name, like
"cvs", and press TAB again.  You should see a context-sensitive list
of completions for the first argument (which for cvs is the command
argument).

			John Wiegley <johnw@gnu.org>
			http://www.emacs.org/~johnw/emacs.html