From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: geiser-xref-callers does not seem to work Date: Sat, 16 Dec 2017 00:38:23 -0800 Message-ID: <87y3m3hxts.fsf@gmail.com> References: <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]:48127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ7zI-0000Yk-Fh for guix-devel@gnu.org; Sat, 16 Dec 2017 03:38:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ7zH-0004c3-Cl for guix-devel@gnu.org; Sat, 16 Dec 2017 03:38:28 -0500 Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]:40527) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQ7zH-0004bA-7N for guix-devel@gnu.org; Sat, 16 Dec 2017 03:38:27 -0500 Received: by mail-pf0-x234.google.com with SMTP id v26so7650436pfl.7 for ; Sat, 16 Dec 2017 00:38:27 -0800 (PST) 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: geiser-users@nongnu.org Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Whoops, geiser-user@ doesn't exist. But geiser-users@ supposedly does. I meant to send this email there, so I will try again. Email follows: Chris Marusich writes: > 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 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. > > Here are the Geiser-specific things I've added to my ~/.emacs file: > > ;; 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-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlo0238ACgkQ3UCaFdgi Rp2quBAAoB9MaZi2NWdCqXvXw8/ZCMPxXuwFwBDV+sfzpjPk+KqNOAOHeGVpL+ue g2m9lM0KZh4xAuuuHmdZk50ghKB+DkRCDF6nShTPBxBupbV91Y/XOQN1JsuFkzjq r8lh7IUZvP0fjriw1iaWgjTe+Qf3l3JktkfV2KZOzKKRyMlaY6NLtzBDvag8K6TD BU0InVKrejXs1w9UGuGNjDwkN4ajLPqYFodYKPE0Z/3jFifs8AUPGF3ay/0RTYao dZfauCdyCWgbQHRdYtMdnv7yf8u8KGx7gnbUByl0jQkLonDua9Iu2VFp7H8Occ1L MJ46PBPRvXyn6vM0QjHmXzvPpxDrlKqNKvKAJcwlMSvARXZZKTcNciEd5hP/4ZSd etNHRn4/EJptgcW6F6eVHIZX+f5vmgoOl2yPvJg8Qlb0TdxWevIuxNAVyx8yoZH1 JTfAcrBn0cqoJd0GCGZX6QxbmnmWIZCJL4Jg6uWmI/yqbYZpLPlaRM9aq6Db35vN 3Zlc7BOUfvbwHQP4v8VCncTwejnx+NU+wsVGbNO+GV/rN00Qehoj2RGgto10JIQV XBUjuqTdBpygNbkGAPcCAug5mYWtkyqPEtz+trnNz3SxgqBP+HvvRkVoUOLdifjg qQCUQXiy35yzrNywXp//NEFCJvu7iA9WYKBFkfKE7SPCsKF6Ods= =ILoO -----END PGP SIGNATURE----- --=-=-=--