From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luther Thompson Subject: How do I cope with Geiser in Emacs Date: Sat, 1 Dec 2018 19:34:46 -0500 Message-ID: <20181201193446.38ce529b@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTFj7-0007kn-MN for help-guix@gnu.org; Sat, 01 Dec 2018 19:35:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTFj4-0004Z4-GA for help-guix@gnu.org; Sat, 01 Dec 2018 19:35:13 -0500 Received: from mail-yw1-xc30.google.com ([2607:f8b0:4864:20::c30]:36333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gTFj4-0004Yv-A3 for help-guix@gnu.org; Sat, 01 Dec 2018 19:35:10 -0500 Received: by mail-yw1-xc30.google.com with SMTP id y194so3989279ywg.3 for ; Sat, 01 Dec 2018 16:35:10 -0800 (PST) Received: from localhost ([96.71.69.115]) by smtp.gmail.com with ESMTPSA id w2sm3850707ywe.62.2018.12.01.16.35.08 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Dec 2018 16:35:08 -0800 (PST) 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: help-guix@gnu.org 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. Thanks, Luther