[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this the way geiser works for others?

From: myglc2
Subject: Re: Is this the way geiser works for others?
Date: Fri, 14 Apr 2017 14:38:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

On 04/14/2017 at 20:28 Alex Kost writes:

> myglc2 (2017-04-14 12:38 -0400) wrote:
>> On 04/12/2017 at 12:11 Alex Kost writes:
>>> myglc2 (2017-04-12 00:21 -0400) wrote:
>>>> I am starting to wonder if something is horribly wrong. Why? Well, if I
>>>> do 'M-x guix-edit emacs.scm', do 'M-x run-geiser', select
>>>> 'define-module', and press M-. I see ...
>>>> geiser-edit-symbol-at-point: Couldn’t find edit location for
>>>> ’define-module’
>>> As for 'define-module', you'll never be able to "edit" it with "M-.",
>>> because it is internal.  See <>.
>> This puzzles me. If I use etags I can get *xref* to show ...
>> /home/g1/src/guix/test-tmp/store/ywpd8i2s87fzmzfpl2h96m949p7rwmcd-guile-bootstrap-2.0/share/guile/2.0/ice-9/curried-definitions.scm
>> 44: (define-syntax define-public
>> /home/g1/src/guix/test-tmp/store/ywpd8i2s87fzmzfpl2h96m949p7rwmcd-guile-bootstrap-2.0/share/guile/2.0/ice-9/boot-9.scm
>> 3576: (define-syntax define-public
>> /home/g1/src/guix/test-tmp/store/v229gc83qn1j7c7l6r65bfw2b8j7rx2w-boot-9.scm
>> 3685: (define-syntax define-public
>> Isn't one of these what I want to look at?
> I don't really know how Geiser finds the definitions for jumping, but
> there are some "internal" things that Geiser can't find (for example,
> "cons", "append", "with-output-to-file", etc.).  I just don't know
> what is the definition of the term "internal" in this context,
> i.e. what can be found and what cannot.

OK, I believe you. But here is what would happen in my dream world:

Because I don't understand the guix-verse I decide to look at ... guix
source.  I use emacs-guix because I am sure it will help me do that ;-)
When I see something interesting I push some button and WOW, emacs-guix
shows me the relevant source ;-) I don't need to know whether the source
came from geiser, tags, brute force search of my whole hard drive, or
Jupiter ;-)

BTW, I had to turn geiser mode off to get the *xref* above, and

Correction: *xref* for 'define-module' is actually

3402: (define-syntax define-module
3511: (define-syntax define-module

reply via email to

[Prev in Thread] Current Thread [Next in Thread]