Skip to content
[Sleepy] Emacs auto-complete backend for geiser.
Emacs Lisp
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.org
ac-geiser-pkg.el
ac-geiser.el
screenshot.png

README.org

ac-geiser

Introduction

This project is inspired by ac-slime and ac-nrepl, which makes Scheme programming in Emacs more enjoyable by providing a completion source for the popular Emacs interactive auto-completion framework auto-complete.

Where geiser provides it, pop-up documentation for completed symbols will be displayed.

Installation

First, ensure auto-complete and geiser are installed.

You’ll need both auto-complete and geiser to be enabled and working, I recommend using a Emacs package manager, either the builtin package.el or the more flexible el-get. For package.el, Marmalade and Mepla is your good friends. Please consult the corresponding documentation if you have any trouble with this.

Next, install ac-geiser. Again, you can install it by package.el or el-get. After installation, put necessary code to your .emacs file:

(require 'ac-geiser)
(add-hook 'geiser-mode-hook 'ac-geiser-setup)
(add-hook 'geiser-repl-mode-hook 'ac-geiser-setup)
(eval-after-load "auto-complete"
  '(add-to-list 'ac-modes 'geiser-repl-mode))

Usage

ac-geiser should now automatically be enabled when you visit a buffer in which geiser-mode is active and auto-complete is enabled.

Simply trigger auto-completion, and completion candidates supplied by geiser should be displayed, with the symbol g on the right hand side of the completion pop-up. After a short delay, popup documentation for the completed symbol should also be displayed.

Screenshots:

screenshot.png

You can’t perform that action at this time.