From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MA3UJTDkcmMDswAAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 01:58:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +FbrJDDkcmNZpwAAG6o9tA (envelope-from ) for ; Tue, 15 Nov 2022 01:58:24 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1ACA43AB82 for ; Tue, 15 Nov 2022 01:58:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouinP-0007dU-6y; Mon, 14 Nov 2022 18:23:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouif8-0001m0-1k for help-guix@gnu.org; Mon, 14 Nov 2022 18:14:49 -0500 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oubCO-00013v-Ug for help-guix@gnu.org; Mon, 14 Nov 2022 10:16:38 -0500 Received: by mail-qt1-x82d.google.com with SMTP id c15so6911263qtw.8 for ; Mon, 14 Nov 2022 07:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=tVD+M6E8frJyFg5way/Ra+c2yxtrAMHvUlFmE5ArIWM=; b=aHtP25xT5Z1NtTW3ausJxNUBUjwASXy+09yy4kO9c8y8/SdbAuoFEyZYZkX5AqRQnN zbMhCboXR0SHigLs4XY+VkMeWvMM43JTFlxVSfIVqeJyjr5nBXYwMqG0EuqihgyFbSJa 2UUweG8cFpLUJw7lt6llrz9ACrcmXpoTcY34kOoxmS4yW/pNm67Qyn1AHscDlNx9JJ3G 3LKPohuRPyoj6oWfxj974OtYornnc1NKH+xh/PDeKp1a0y6xL7ShGzP87IuZfHL3A9eq f1d29CyJaCaQKD/IU5vJwvKf7tmxQjXvqG4uhZ2cGPA3yyu+3V2o2Bi7FZMs5wAPf+14 xrjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tVD+M6E8frJyFg5way/Ra+c2yxtrAMHvUlFmE5ArIWM=; b=N6pZZ3ALGptKIkG2AHrt/+nh+EEG5CNUKXUsVKuhHzi7ft2mVNy533ZgwxKzXyevCh 53ZPe7QkqCM7V8c+fzFIwECWzzpTeMfJCCkhLfEUxo4sMCDu+1e2BlcCJXHhtU+F3Jv7 F5709cUR0iCgHz7hW7SIWL9w2tBldPOVe0QVTrjB/SuRS99wsqTgcmFVjzQIqOK42qdD n6OsAkUAlAGxQMFcUj14UstbQOiSwfKL1+IYdjs5a3yznKpI2xVFbKbN3YmIDM+S9azk IxWWdtT4ic8TER0ZzHODu53ResjkR7fW8hqKvqHwa9TjDtoVBYWNJmGRaOHnoMaLNZ1k 5ALQ== X-Gm-Message-State: ANoB5plRPRg0tR/47IAiefBhpP3jzp2GEkgHSMTrOEQdCVa2EZ/EQt2H QVl6mMPs0PV485dinTd02HI= X-Google-Smtp-Source: AA0mqf7nsGnatX/7CL7QGd4n/OCkDodk6kZpAsIQ7CwZW8KITkIbC0gCiOH7ZGju2MbvJZCKF1mp/g== X-Received: by 2002:a05:622a:4d47:b0:3a4:fcde:733d with SMTP id fe7-20020a05622a4d4700b003a4fcde733dmr12779245qtb.269.1668438995351; Mon, 14 Nov 2022 07:16:35 -0800 (PST) Received: from localhost (237.sub-75-194-224.myvzw.com. [75.194.224.237]) by smtp.gmail.com with ESMTPSA id x28-20020a05620a0b5c00b006fa0d98a037sm6476613qkg.87.2022.11.14.07.16.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 07:16:34 -0800 (PST) From: Jake Shilling To: jgart Cc: Guix Help Subject: Re: geiser-edit-symbol-at-point In-Reply-To: <20221114090110.GB14300@dismail.de> References: <20221110193527.GB571@dismail.de> <20221110194440.GB1732@dismail.de> <87sfipd0kz.fsf@gmail.com> <20221111124046.GB17675@dismail.de> <877d01dxxt.fsf@gmail.com> <20221111154213.GB25240@dismail.de> <87fsepqh80.fsf@gmail.com> <20221111161518.GB27159@dismail.de> <20221111180749.GB31484@dismail.de> <20221111181230.GD31484@dismail.de> <87cz9sqil5.fsf@gmail.com> <20221114090110.GB14300@dismail.de> Date: Mon, 14 Nov 2022 10:16:33 -0500 Message-ID: <87h6z1sh0u.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::82d; envelope-from=shilling.jake@gmail.com; helo=mail-qt1-x82d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668473904; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tVD+M6E8frJyFg5way/Ra+c2yxtrAMHvUlFmE5ArIWM=; b=b1zFfNz5jke55M/oupdGo49wihfjxkuJWkn4tgBB/cCXgBb+E9QW6a+cXqBkoKvqUAlA47 QwJpWeeBkm9jTEixNLPZ5RjY5z71jJUawFZu/nCeg9BXAMlwmkS/qRTSQjydFaZaSdvm1W yMmIHaOKMXy/VYgugBkWvowOj7HbflJO4UamZi8PQ/+Yy9kXAHwABBJ8lo7vreF+LTHJ/q MrOMyrBV7eEQSd28IgXn0CCc1N30HUQJZjJ8D7deH6tYlVs/XzA5ddhVP79GXVLDEUUyGI FSPI+jN6OtaXph5j0rURcLyYP4NSOfVSxgoD7N+qyK9PYIsWnQh/itjiJz2igw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668473904; a=rsa-sha256; cv=none; b=qPZqte3n8anxDWiYtNfWmtWQAimtMSVpQF0YgtCf7RNvbd1yaXq/EdI4rZrz20kH4iR5bM R6xQpetCSPGu4s0dAQaRgvLgxmUadlzWmSITmb932xrB8qUebQb2MTk+sMSyoH1+UyTqvo zmW0X2TzFml4efLFl0eJtTCiPT6uBcytVwUMHPI1xRu1hrdE6RuF2b6+IDCjfGX5SZZHzs XA4xpc7254Jiq0jWt4dfxtuuggD93PVmUnED+jsNSlRXVO8uf2mbwA6Eta4bRklSUYkvfA 0y4cWPhqnWN5T9r8pGxAX1fBzLmcjF6tbfm0liKCBoik+/FQlBaHL9iWGn4qRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aHtP25xT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aHtP25xT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1ACA43AB82 X-Spam-Score: -5.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: hwSY7jqqu4az --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2022-11-14 09:01, jgart@dismail.de wrote: > On Sat, 12 Nov 2022 10:48:54 -0500 Jake Shilling wrote: >>=20 >> If I'm reading this right, I belive that this macro is looking for the >> 'add-after symbol--as a symbol--and not looking for any value referenced >> by it. > > Does geiser work on the macroexpanded forms in %modify-phases that are > not macros? It does for me. Here's a snippet from the file I tested on: ``` (arguments `(#:bootstrap-scripts (list "autogen") #:make-flags (list "-C" "utils") #:configure-flags (list "--enable-start-stop-daemon" "--disable-update-alternatives") #:phases (modify-phases %standard-phases (add-before 'bootstrap 'patch-autogen-shebang (lambda* (#:key bootstrap-scripts #:allow-other-keys) (for-each patch-shebang (append bootstrap-scripts)) (let ((get-version "printf \"%s\" \"1.20.12\"") (port (open-file "get-version" "w"))) (format port get-version) (close-port port)))) (add-after 'configure 'build-lib (lambda* (#:rest _) (invoke "make" "-C" "lib")))))) ``` If I evaluate this file, then call `geiser-edit-symbol-at-point` on `invoke` in the last line, I get taken to `guix/build/utils.scm` as expected. None of the standard guile functions work for me though; if I try to navigate to `close-port` or `for-each` nothing happens. I can run C-c C-d C-d on any of those, however, and navigate from the documentation to the manual. I also want to clarify that this does work for me on the macro itself, `modify-phases`, just not on the symbols used by the macro for pattern matching (`add-before`, `add-after`, etc). =2D-=20 Best regards, Jake Shilling --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEETgkkkGxzdwUBX+jR7vAMAFB0hsFAmNyW9EACgkQR7vAMAFB 0hsGCg/9GFxke3beJsBTh3ZjKPqSKtr1kDVV7SEjxtRQHMGnHnPQKXAt3Cyp02Y0 5u+s670wwZP6UrovuZuAhRwdfSijHU9ZyCZCexxGzW2RJsyk/9YzqtMFHfoMLJKh +LEZy3W5dZTCfITK8kDQcUU1/eeM/SBKUK+a7wAK+w/tyH9hxO2NE7blfbGRT075 WIeaSfKqhGnIA913cdS1GWh9zsnpcp8A7/I+vobyd1q0M4LYiMtcEhxlC8MzSQyE G0mpPiZE35rURdZhCO3YP6RPXudpfngvtU5eeALYem1s/evO9+VQsIBc1WQnpfXl alMiehnmiMvUgDB5EUf835JO34FmxXKuB7azftHhhrhk0P2yTLImJJPjRhobep/7 jRqAWeao/TipFXHtvX/MFfZ3ReWxs+8R3ckgwnYhYM9UgNQLJFhRB2RzmOwXYyja jDc3209fqJzjuzHAJbkU38nf+NIH7tv0u4ln6rpXVcpnElvGfKD4qjH5ldvsqK8q AjHE6ctS4xgRL0zOjZgcPC55Pn91RDuds3RIgIDwilrjhl31m0CpsEymNJpuvPmE /Lo+XDkA5R2ipQi0b7CiS0xbSXNuLb2Jvwe8SJ0MPB5l2ZCzi+QY2W1Gm/JEyfYW C4YdzjYkFEUEeOEsYfmOTHSeOVHLBJ8Z6lgofDct9kbYyL4Lczs= =Ju54 -----END PGP SIGNATURE----- --=-=-=--