[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I cope with Geiser in Emacs

From: Luther Thompson
Subject: How do I cope with Geiser in Emacs
Date: Sat, 1 Dec 2018 19:34:46 -0500

I don't know where to ask about this, but since the problem seems to
involve many interconnected Emacs-related packages, I'll see if you
guys can help.

When I'm editing a Scheme file (not Guix-related) in Emacs and
company-mode activates, I get this error message: 'Company: backend
company-capf error "No Geiser REPL for this buffer (try M-x
run-geiser)" with args (prefix)'. If I appease the error by running M-x
run-geiser, I get completion lists that don't make much sense. They
fail to include names that are already in the file, and they do include
what appear to be many obscure library functions.

I would expect company mode to fall back to a backend that doesn't
throw an error, but the strange completion lists that I get with Geiser
suggest that the problem is more complicated than that.

Here's what I've been able to figure out so far:

emacs-geiser is a propagated input of emacs-guix. (I don't directly use

company-capf is a backend for company-mode.

While in Scheme mode, company-capf must be indirectly calling some
function that throws this error.

Is there some kind of configuration I can do to fix this? There are so
many different Elisp files that might be involved, I don't know where
to start looking for a solution.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]