This is a extension of Emacs that provide the functions of auto-complete for handling Programmable Completion.
You can define the source of auto-complete.el to handle pcomplete.
- ac-pcmp/get-ac-candidates
- ac-pcmp/do-ac-action
- ac-pcmp/self-insert-command-with-ac-start
(defvar ac-source-xxxx
'((candidates . ac-pcmp/get-ac-candidates)
(prefix . "xxxx \\(.*\\)")
(symbol . "x")
(requires . 0)
(cache)
(action . ac-pcmp/do-ac-action)))
2014/02/27 It's available by using melpa.
2014/03/03 It's available. But, master branch only.
(auto-install-from-url "https://raw.github.com/aki2o/auto-complete-pcmp/master/auto-complete-pcmp.el")
- In this case, you need to install each of the following dependency.
Download auto-complete-pcmp.el and put it on your load-path.
- In this case, you need to install each of the following dependency.
- Emacs … GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-08-22 on chindi02, modified by Debian
- auto-complete.el … 1.4.0
- log4e.el … 0.2.0
- yaxception.el … 0.1
Enjoy!!!