Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

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 <>

Recent activity


Commits by aidan were pushed to xemacs/pcomplete

7359a15 - pcomplete, new finding, was use #'manual-entry instead of GNU's #'man.

Commits by stephent were pushed to xemacs/pcomplete

f7ecd93 - XEmacs Dev Team replaces John Wiegley as maintainer. <>

Commits by viteno were pushed to xemacs/pcomplete

aa1dc8a - pcomplete (mis)defines read-event, René Kyllingstad <>, <>.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.