From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: How do I cope with Geiser in Emacs Date: Sun, 02 Dec 2018 23:43:23 +0300 Message-ID: <87tvjvr76c.fsf@gmail.com> References: <20181201193446.38ce529b@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTYaU-0005R8-Vm for help-guix@gnu.org; Sun, 02 Dec 2018 15:43:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTYaP-0007kF-AA for help-guix@gnu.org; Sun, 02 Dec 2018 15:43:34 -0500 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:38950) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gTYaO-0007jX-QY for help-guix@gnu.org; Sun, 02 Dec 2018 15:43:29 -0500 Received: by mail-lf1-x136.google.com with SMTP id n18so7604017lfh.6 for ; Sun, 02 Dec 2018 12:43:27 -0800 (PST) In-Reply-To: <20181201193446.38ce529b@gmail.com> (Luther Thompson's message of "Sat, 1 Dec 2018 19:34:46 -0500") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Luther Thompson Cc: help-guix@gnu.org Luther Thompson (2018-12-01 19:34 -0500) wrote: Hello, > 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 > emacs-geiser.) > > 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. Since this error comes from Geiser (from 'geiser-repl--connection' function), I would ask at . Alternatively, you may send a message at -- Alex