From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: geiser-xref-callers does not seem to work Date: Fri, 15 Dec 2017 23:55:59 -0800 Message-ID: <87d13fjecw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ7KL-0004GI-RD for guix-devel@gnu.org; Sat, 16 Dec 2017 02:56:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ7KK-0002GI-Rc for guix-devel@gnu.org; Sat, 16 Dec 2017 02:56:09 -0500 Received: from mail-pg0-x22f.google.com ([2607:f8b0:400e:c05::22f]:34847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQ7KK-0002Fs-Kd for guix-devel@gnu.org; Sat, 16 Dec 2017 02:56:08 -0500 Received: by mail-pg0-x22f.google.com with SMTP id q20so7210949pgv.2 for ; Fri, 15 Dec 2017 23:56:08 -0800 (PST) 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: geiser-user@nongnu.org Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, It seems that geiser-xref-callers does not work for me. I believe I've configured Geiser correctly, since other commands like geiser-edit-symbol-at-point and geiser-doc-symbol-at-point do work in some cases. Here is a specific example where it fails for me: * Clone the Guix Git repository (for commit 9e111db4535b3cd5729e37294ae51d95240334b4 if you want to be precise): git clone https://git.savannah.gnu.org/git/guix.git * Configure Geiser for Guix as described in Guix's manual ((guix) The Perfect Setup). * Open gnu/system/vm.scm in the Guix source tree, and run switch-to-geiser-module for the (gnu system vm) module. * 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 name= 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. Here are the Geiser-specific things I've added to my ~/.emacs file: =2D-8<---------------cut here---------------start------------->8--- ;; Tell geiser where guix checkout lives (with-eval-after-load 'geiser-guile (add-to-list 'geiser-guile-load-path "~/guix")) (add-hook 'geiser-repl-mode-hook 'enable-paredit-mode) ;; Keybind customizations (add-hook 'geiser-mode-hook (lambda () (local-set-key (kbd "C-c m") 'switch-to-geiser-module))) (add-hook 'geiser-mode-hook (lambda () (local-set-key (kbd "C-c i") 'geiser-repl-import-module))) =2D-8<---------------cut here---------------end--------------->8--- =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlo00ZAACgkQ3UCaFdgi Rp2kyRAAgH4voBAhTUnLROnNUYRWvyBjf5aNuySMFMbbdRyYc0aKEPX08NEO4kao oo94h++vQbL4zPWgfe/toSVYuQFEn+0Uf3PrTiB5PCNuv4kR/gVTLcy8seOaZpRC uVkmK8q+ShHlwwwfELYsZTBlKl2nf70RjokoLkN2sCR7RwmWlb/zTLsDpb4Jf4h+ qcDKXiz2nQPkB6+oj4IAwb7UJtfPmVPGWaDEIZwygOvQpdounqmc7CJA6TzpfCEu dC+hsopRJIj+6Vw+QX8MkRTFfuD4RuhOkGJjMPuHAVUjQyZ6prPxzloFJMVMHSEB xiZjAXhaYwRC+k/xTApB5HgQDkd02eJ3HPllQhnL8HcwEcRHamdt6Np/mJgJIWN0 EgrV4UAUa0Yt5Rh3SSvT5T1Fk1cKCe5VgO6RQ61shw2JJZlghtyPH6XFnNgdM1z4 ZlZil5Odt+Z5gxOTneeJurYheQAAaCM+hGh0ht0PksG/Gkck8GRGEOMdtUjlBpvx BuINlZLuzhSi/EyHPzucHRF7wzH5rkFR3aMiuy1K91pZlteLlmzVhKWJPwTz2Wga 6TOJFbpogS9SB89aD4XcBLEWFQFrW1/ew3k8XDubhoyyRAtDh8Da0mOx7fdOAYDo XYm/2e9t6g3aqJiQ8Y1NoTJ6H6y5O1utq8vkJq0L9rrC3uTNQ8k= =RQi1 -----END PGP SIGNATURE----- --=-=-=--