pcomplete /

Filename Size Date modified Message
125 B
2.9 KB
3.3 KB
1.3 KB
1.2 KB
3.4 KB
729 B
394 B
6.6 KB
9.2 KB
3.5 KB
1.2 KB
9.6 KB
3.7 KB
43.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

			John Wiegley <johnw@gnu.org>