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.
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))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:
