From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: Re: Is this the way geiser works for others? Date: Fri, 14 Apr 2017 14:38:49 -0400 Message-ID: <86y3v2j0li.fsf@gmail.com> References: <8660ia6ytv.fsf@gmail.com> <87o9w20z42.fsf@gmail.com> <8660i7j663.fsf@gmail.com> <87r30uzyol.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]:60358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cz67T-00068a-0A for help-guix@gnu.org; Fri, 14 Apr 2017 14:38:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cz67P-00036A-Ss for help-guix@gnu.org; Fri, 14 Apr 2017 14:38:55 -0400 Received: from mail-qk0-x232.google.com ([2607:f8b0:400d:c09::232]:35371) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cz67P-000366-O0 for help-guix@gnu.org; Fri, 14 Apr 2017 14:38:51 -0400 Received: by mail-qk0-x232.google.com with SMTP id f133so72698897qke.2 for ; Fri, 14 Apr 2017 11:38:51 -0700 (PDT) In-Reply-To: <87r30uzyol.fsf@gmail.com> (Alex Kost's message of "Fri, 14 Apr 2017 20:28:10 +0300") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Alex Kost Cc: help-guix@gnu.org 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=E2=80=99t find edit location for >>>> =E2=80=99define-module=E2=80=99 [...] >>> 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 *xref* /home/g1/src/guix/test-tmp/store/ywpd8i2s87fzmzfpl2h96m949p7rwmcd-guile-boo= tstrap-2.0/share/guile/2.0/ice-9/boot-9.scm 3402: (define-syntax define-module /home/g1/src/guix/test-tmp/store/v229gc83qn1j7c7l6r65bfw2b8j7rx2w-boot-9.scm 3511: (define-syntax define-module