Skip to content

xiaohanyu/ac-geiser

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

About

[Sleepy] Emacs auto-complete backend for geiser.

Resources

License

Stars

Watchers

Forks

Packages

No packages published