Provide function of auto-complete handle Programmable Completion.
Emacs Lisp
Pull request Compare This branch is 9 commits behind aki2o:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.org
auto-complete-pcmp.el

README.org

What’s this?

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.

Function

  • ac-pcmp/get-ac-candidates
  • ac-pcmp/do-ac-action
  • ac-pcmp/self-insert-command-with-ac-start

Sample

(defvar ac-source-xxxx
  '((candidates . ac-pcmp/get-ac-candidates)
    (prefix . "xxxx \\(.*\\)")
    (symbol . "x")
    (requires . 0)
    (cache)
    (action . ac-pcmp/do-ac-action)))

Install

If use package.el

2014/02/26 Now application

If use el-get.el

2014/02/26 Now application

If use auto-install.el

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

Manually

Download bbdb-.el and put it on your load-path.

\* In this case, you need to install each of the following dependency.

Dependency

Tested On

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