From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cGXZLUVY92QUDwEAauVa8A:P1 (envelope-from ) for ; Tue, 05 Sep 2023 18:33:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cGXZLUVY92QUDwEAauVa8A (envelope-from ) for ; Tue, 05 Sep 2023 18:33:09 +0200 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 7F46D639CB for ; Tue, 5 Sep 2023 18:33:09 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=Q0hMFyg8; dkim=pass header.d=wolfsden.cz header.s=mail header.b=Q0hMFyg8; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693931589; 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=0KL8mKfUa/0WtMoRybgc9mUN6gXiLITPfQ3AumIWhpQ=; b=gIlTQsZBFgaAzyvs841/mE9GZ51xEzd84hR+0C3YLmthioNtw8zbyH4hBRVliDVFFSzu4f +UQTDET+MEKKK19kLtoujy5wvC0Bf6tSKiEPiiH0/R8tJZLx/GGJYk4KOPrrZb4LN0YW94 DWiJACx0RGpUmW3CLyTV0dNmSrHB+tdC+ljMXGqfnb4ICyQ4OePnfh2iZncLP5fXdtt4Nu jU0PbgYxqtN5qVYLmk5V5ExwbgUicnKZkufcZ3zGsYOI5fU7ODiLaIaycWevIw38Yd8ArS ce6Ej6E8jVrqw8AgJZ9VMubBK+MMuDPGLNdBo67rcilus82sWHML05aUwBZACw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=Q0hMFyg8; dkim=pass header.d=wolfsden.cz header.s=mail header.b=Q0hMFyg8; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693931589; a=rsa-sha256; cv=none; b=n5nTaFH+m8vQVfGDRTM++6HBAX+jpNuvfq3kJ+vjxnQhQza4T+TTQNj0pXRuhXx63bLws3 XWzNggu/7fMcfqSmu6w2pcuRDEqGs7eBGf2QK8ZoLjESOXIM1syUF8Qi2uSJvlyxcgITZW VyapUKT1ZQLcaQi/kZdpBhU0ytutVc6a/lJM55SQdPZiso7tKe6Q/iZ+5L9ubuvSgwkn7U oObcpbidpQgKWCKOq3lQFgFGB/g45yK/ZO1MWstP2qgGegslioaeK8j10Bd61BnkGqxsZt 7nAO+uFX6mKcB3GpcbWPE/WG3U/6E3rVIwkFSSktG18TrnhV9ilrh2m/cmMMNA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdYyv-00043M-VK; Tue, 05 Sep 2023 12:32:50 -0400 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 1qdYyu-00040Z-2n for guix-devel@gnu.org; Tue, 05 Sep 2023 12:32:48 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdYyq-0007va-QH for guix-devel@gnu.org; Tue, 05 Sep 2023 12:32:47 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id CB04927F519; Tue, 5 Sep 2023 16:32:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1693931555; bh=oSW4qNw9GA+AwHZxzGt3qSUv9r0gacAfWSUxL/jH5Fg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Q0hMFyg8PlxQJVEEXpSyA1MheuhuinTVyzbqG8ItQiqMFUQOrzYbRDcig2H2/KI2q mfawujqwErwT1nMWwzLJo2zVw6AhuOJzSxhssDncIJ5r06ySZLKG0eGPoBcQ89iWwa BR3UOjHVPryBteIQGg4Xx3p0MrrULkFgtbj0cHFRInhs2OaVJVy5OLaqGFtxbKBQsh 6733z24F1kHRU7LuntOfkOkGQmmAM0lCin9UUxypVOP04tjZTlSmaMyn5pinwRSLDc DjEH70FpTHMbGddDGN6dlWLgEkzdnfmSsqUi5bHPvB+xbQQOKl8o7nxhoPGRP8bX44 CPp2WKdSDXkEchlo4n0s+qQKeKSrFkfKQs8isHcasPS6wX6aCu6s61Gt9HSv+EvXeC YosHV9I/OVnTefDmCpatqE+qoJ9Po5iQYjZe/IpULy35BFzw/yAR7pitkfSauTe4pm TusKwHal044Hw4JOqfnxaYNCM1IZ9qaFqsz3OO15Oq/KpP4b1geExg9CNZm4glWvpa dQmqhXumGq7C6V+wi1VwbHBsfZA9WR3a3ir0XuFwcsonBVMc/3Lgqi2ZmETEKSYC8O 7FDqmkB3Lmt8Ht2VulH2rcEoJ5/IzCZKopU5L3/bsCiYbTKI78SLgH2/CFkpdIkvhC XU9LSwJmmIaJzo0O+ys4lM2Q= Received: from localhost (unknown [193.32.127.157]) by wolfsden.cz (Postfix) with ESMTPSA id 367AD27FB0C; Tue, 5 Sep 2023 16:32:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1693931555; bh=oSW4qNw9GA+AwHZxzGt3qSUv9r0gacAfWSUxL/jH5Fg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Q0hMFyg8PlxQJVEEXpSyA1MheuhuinTVyzbqG8ItQiqMFUQOrzYbRDcig2H2/KI2q mfawujqwErwT1nMWwzLJo2zVw6AhuOJzSxhssDncIJ5r06ySZLKG0eGPoBcQ89iWwa BR3UOjHVPryBteIQGg4Xx3p0MrrULkFgtbj0cHFRInhs2OaVJVy5OLaqGFtxbKBQsh 6733z24F1kHRU7LuntOfkOkGQmmAM0lCin9UUxypVOP04tjZTlSmaMyn5pinwRSLDc DjEH70FpTHMbGddDGN6dlWLgEkzdnfmSsqUi5bHPvB+xbQQOKl8o7nxhoPGRP8bX44 CPp2WKdSDXkEchlo4n0s+qQKeKSrFkfKQs8isHcasPS6wX6aCu6s61Gt9HSv+EvXeC YosHV9I/OVnTefDmCpatqE+qoJ9Po5iQYjZe/IpULy35BFzw/yAR7pitkfSauTe4pm TusKwHal044Hw4JOqfnxaYNCM1IZ9qaFqsz3OO15Oq/KpP4b1geExg9CNZm4glWvpa dQmqhXumGq7C6V+wi1VwbHBsfZA9WR3a3ir0XuFwcsonBVMc/3Lgqi2ZmETEKSYC8O 7FDqmkB3Lmt8Ht2VulH2rcEoJ5/IzCZKopU5L3/bsCiYbTKI78SLgH2/CFkpdIkvhC XU9LSwJmmIaJzo0O+ys4lM2Q= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 66c72560; Tue, 5 Sep 2023 16:32:34 +0000 (UTC) Date: Tue, 5 Sep 2023 18:32:34 +0200 From: wolf To: Maxim Cournoyer Cc: brian , Csepp , guix-devel@gnu.org Subject: Re: questionable advice about Geiser load path setting Message-ID: Mail-Followup-To: Maxim Cournoyer , brian , Csepp , guix-devel@gnu.org References: <86jztijvkd.fsf@riseup.net> <87h6om9h7p.fsf@spork.org> <871qfds8fb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VF2WlFipqtD0iSui" Content-Disposition: inline In-Reply-To: <871qfds8fb.fsf@gmail.com> Received-SPF: none client-ip=37.205.8.62; envelope-from=ws@wolfsnet.cz; helo=wolfsden.cz X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 7F46D639CB X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -9.91 X-Spam-Score: -9.91 X-TUID: US2fWcmBaQA5 --VF2WlFipqtD0iSui Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2023-09-04 21:41:44 -0400, Maxim Cournoyer wrote: > Hello, >=20 > wolf writes: >=20 > [...] >=20 > > Geiser seems to add the project root (I assume based on the git) into t= he load > > path automatically. geiser-repl-current-project-function seems to be s= et by > > default, and rest is described in the docs: (geiser)Customization and t= ips, Init > > files and load paths. > > > > Maybe it once was necessary to set this, I am not sure it still is the = case. > > > > I also use (setq geiser-repl-per-project-p t) and everything seems to j= ust work > > out of the box. >=20 > I haven't followed up with the latest Geiser features, but if what you > wrote is true, then it would be nice to streamline our .dir-locals.el > and simply set geiser-repl-per-project-p to t (as a directory-local > variable). >=20 > Would you like to see if that continues working the same, across > e.g. Git worktrees of Guix checkouts? Seems to work as one would expect. My Guix checkout is in /home/wolf/src/g= uix, those in /tmp are worktrees. I pressed C-c C-z in each of these files, a n= ew REPL was spawned for each of them. After that I evaluated the snippet to v= erify the paths. /home/wolf/src/guix/gnu/packages/linux.scm: (values (car %load-path) (car %load-compiled-path)) $8 =3D "/home/wolf/src/guix" $9 =3D "/home/wolf/src/guix" /tmp/guix-a/gnu/packages/linux.scm: (values (car %load-path) (car %load-compiled-path)) $5 =3D "/tmp/guix-a" $6 =3D "/tmp/guix-a" /tmp/guix-b/gnu/packages/linux.scm: (values (car %load-path) (car %load-compiled-path)) $5 =3D "/tmp/guix-b" $6 =3D "/tmp/guix-b" C-c C-z in /tmp/guix-b/gnu/packages/abduco.scm reused the already running R= EPL for the guix-b. >=20 > --=20 > Thanks, > Maxim > W. --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --VF2WlFipqtD0iSui Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmT3WCIACgkQL7/ufbZ/ wakROw/+MkHZ6ZyDBr0tLHbNqEwlBndiE+6xjWAQvaFDsoamZ6PZWCb0dei0bsTp xPC+cPnDAd0W498+yxFhAy26QSqSKXyDtsywNgIGOeaNf38kwXJWlNAUmL8n8/aC HejygxvAaG3lVo6kxVTMcv2KZ7ePQIDWcWddpRIp7woypjWm+H1uqPHtZdCaBiAR 7YV6S+A8xgI+ASgJ+LDYFIL+tjQlzNTWqfI1G9AMB845o0CCRCkRtWVauu3+fdRU iPJ77J5oANQM8UXBeiSxnaUNOqsuXy1xd9p9/lzsQo/7eKaxH9bdUkizk/B0A1Sy yrLd/RXpgEeCk1ccGSd7YAWdbrWsFdNU8A8SyVChXMhGquwiahkrDSsgyPhl1R45 6UWKHkiYg8kVCOBEdo1JJyC1ueHALILQ7sb5NTJmtv3XhIY1Bg1QtMLpaUhCK9C1 kxFysbSQaJRRWCpaqSr+fD9eGww44VWjKPql+zJWKcV/C+WLe4OCqunhalYL2rW6 ulxCi3phzPg32tDZtlnIcY1HJIDHXm+9Tc6JXLNM5XjzgXgWDYC4H6u8qgSsRg2g u+yr9Ao7icTXIe2sTW7BlOwinsfyTYZv5eChmcF6BZzG9rihOw6X5nZOA+nKDqmv 0YzMTJv03wRawjO4pTTlaiQ7b6/O0S6lzFsl2htqFy1tZ0wSXlc= =e++0 -----END PGP SIGNATURE----- --VF2WlFipqtD0iSui--