Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Plug slime completion into Emacs' "hippie-expand"
Emacs Lisp
Branch: master
Failed to load latest commit information.
.gitignore Ignore .elc
README.md Update MELPA URLs
hippie-expand-slime.el Revert "Use setq-local shortcut where appropriate"

README.md

completion source for Emacs hippie-expand

This plugin provides a completion source for Emacs' built-in hippie-expand auto-completion framework.

Installation

First, ensure slime is installed: I recommend using packages from Marmalade or Melpa.

You'll need slime to be enabled and working, so please consult the corresponding documentation is you have any trouble with this.

Next, install hippie-expand-slime. If you choose not to use the convenient package in Melpa and Marmalade, you'll need to add the directory containing hippie-expand-slime.el to your load-path, and then (require 'hippie-expand-slime).

hippie-expand-slime provides a couple of slime-specific completion sources, so auto-complete needs to be told to use them when slime-mode is active. To do this, put the following code in your emacs init file to

(add-hook 'slime-mode-hook 'set-up-slime-hippie-expand)
(add-hook 'slime-repl-mode-hook 'set-up-slime-hippie-expand))

Usage

hippie-expand-slime should now automatically be enabled when you visit a buffer in which slime-mode is active.

Simply trigger hippie-expand, and completion candidates supplied by slime should be inserted.

More

See also ac-slime, which does the same thing but with the auto-complete library.


Steve Purcell's blog // @sanityinc on Twitter

Something went wrong with that request. Please try again.