unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* geiser-xref-callers does not seem to work
@ 2017-12-16  7:55 Chris Marusich
  2017-12-16  8:38 ` Chris Marusich
  2017-12-18  9:34 ` Andy Wingo
  0 siblings, 2 replies; 10+ messages in thread
From: Chris Marusich @ 2017-12-16  7:55 UTC (permalink / raw)
  To: geiser-user; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2250 bytes --]

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 ’expression->derivation-in-linux-vm’

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:

--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)))
--8<---------------cut here---------------end--------------->8---

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-01-30 22:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-16  7:55 geiser-xref-callers does not seem to work Chris Marusich
2017-12-16  8:38 ` Chris Marusich
     [not found]   ` <87y3m3hxts.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-12-16 18:45     ` Jose A. Ortega Ruiz
2017-12-18  9:34 ` Andy Wingo
2017-12-19  7:47   ` Chris Marusich
     [not found]   ` <87shc8qt0p.fsf-wEGTBA9jqPzQT0dZR+AlfA@public.gmane.org>
2018-01-27 16:41     ` Jose A. Ortega Ruiz
2018-01-29  8:53       ` Andy Wingo
     [not found]         ` <87mv0x59n3.fsf-wEGTBA9jqPzQT0dZR+AlfA@public.gmane.org>
2018-01-29 17:52           ` Jose A. Ortega Ruiz
2018-01-30  8:09             ` Andy Wingo
2018-01-30 22:55               ` [Geiser-users] " Jose A. Ortega Ruiz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).