Skip to content

aki2o/auto-complete-pcmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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/27 It's available by using melpa.

If use el-get.el

2014/03/03 It's available. But, master branch only.

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 auto-complete-pcmp.el and put it on your load-path.

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

Dependency

  • auto-complete.el
  • log4e.el
  • yaxception.el

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

About

Provide auto-complete sources using pcomplete results

Resources

Stars

Watchers

Forks

Packages

No packages published