From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: Re: geiser-xref-callers does not seem to work Date: Mon, 18 Dec 2017 10:34:14 +0100 Message-ID: <87shc8qt0p.fsf@igalia.com> References: <87d13fjecw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQroX-0007Gb-UQ for guix-devel@gnu.org; Mon, 18 Dec 2017 04:34:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQroU-0002FQ-QV for guix-devel@gnu.org; Mon, 18 Dec 2017 04:34:25 -0500 Received: from pb-sasl2.pobox.com ([64.147.108.67]:58788 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eQroU-0002F5-Jf for guix-devel@gnu.org; Mon, 18 Dec 2017 04:34:22 -0500 In-Reply-To: <87d13fjecw.fsf@gmail.com> (Chris Marusich's message of "Fri, 15 Dec 2017 23:55:59 -0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org, geiser-users@nongnu.org On Sat 16 Dec 2017 08:55, Chris Marusich writes: > * Place point on symbol expression->derivation-in-linux-vm on line 203 > (in the definition of the iso9660-image procedure), and press "C-c <". > > When I do this, I receive the following message in the minibuffer: > > No callers found for =E2=80=99expression->derivation-in-linux-vm=E2=80= =99 > > And yet, if I run "M-x rgrep" on the same symbol, there are obviously > many call sites: > > ./gnu/system/vm.scm:68: #:export (expression->derivation-in-linux-vm > ./gnu/system/vm.scm:105:(define* (expression->derivation-in-linux-vm na= me exp > ./gnu/system/vm.scm:203: (expression->derivation-in-linux-vm > ./gnu/system/vm.scm:274: (expression->derivation-in-linux-vm > > What might the problem be? When I run "M-x geiser-doc-symbol-at-point" > on this symbol, it also claims that there is no documentation > available. I feel like maybe I've misconfigured something, but I don't > know what. It appears to be a Geiser problem and not a Guile problem: wingo@rusty:~/src/guix$ ./pre-inst-env guile GNU Guile 2.2.2 Copyright (C) 1995-2017 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (use-modules (gnu system vm)) scheme@(guile-user)> expression->derivation-in-linux-vm=20 $1 =3D #derivation-in-linux-vm (name exp #:key s= ystem linux initrd qemu env-vars guile-for-build single-file-output? make-d= isk-image? references-graphs memory-size disk-image-format disk-image-size)> scheme@(guile-user)> (use-modules (system xref)) scheme@(guile-user)> (procedure-callers $1) ERROR: In procedure scm-error: ERROR: expected a variable, symbol, or (modname . sym) #derivation-in-linux-vm (name exp #:key system linux initrd qemu env= -vars guile-for-build single-file-output? make-disk-image? references-graph= s memory-size disk-image-format disk-image-size)> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> ,q scheme@(guile-user)> (procedure-callers '((gnu system vm) . expression-= >derivation-in-linux-vm)) $2 =3D (((gnu system vm) # #= )) I assume your Scheme files are indeed compiled? Andy