From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WC/7Ii0rtmFPMQEAgWs5BA (envelope-from ) for ; Sun, 12 Dec 2021 18:02:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MCOnHi0rtmHRSgAAB5/wlQ (envelope-from ) for ; Sun, 12 Dec 2021 17:02:37 +0000 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 3749CA9C2 for ; Sun, 12 Dec 2021 18:02:37 +0100 (CET) Received: from localhost ([::1]:38988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwSFA-00083i-BB for larch@yhetil.org; Sun, 12 Dec 2021 12:02:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwSEG-0007J5-Qj for help-guix@gnu.org; Sun, 12 Dec 2021 12:01:45 -0500 Received: from [2607:f8b0:4864:20::d2f] (port=34314 helo=mail-io1-xd2f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwSEF-00016P-0A for help-guix@gnu.org; Sun, 12 Dec 2021 12:01:40 -0500 Received: by mail-io1-xd2f.google.com with SMTP id e128so16056136iof.1 for ; Sun, 12 Dec 2021 09:01:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=HLLbXBf+J+OfCmJKja/QZwjDWTZMhAUFSr46UGRcudI=; b=AGxZU7UxMzPplHi3nw+9O9pJy1PIhyzrNE46/oa5QZN763QDcumszY84gv3Vn69VEn O/kzJb9qmxeHNx7EfbH9rZVNa90OTMFXEEiUlzCLOx1vVG5l5vZICD6c5BE38ffAfjkv rE3w6qB0VhxJsP6yDEbzCBRvRwB8LDiPHKHDws3AHKJshrhy5nda3boMfOWLAl+XV7/5 j4dGVeCPR2/D+FM6746bsXR2zm3+6ewknw8jCP2T1BzGta3/LzEj+ShesWsuTNUVVquR pCDISHzi+i5K5AaoOC5N26X5f3UqKnnN8h4azX2RVvXnz4QMRTZnJQsrqveSpBEGRBqX GqJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=HLLbXBf+J+OfCmJKja/QZwjDWTZMhAUFSr46UGRcudI=; b=L2g048hjWcuBBu7UPjuPLutIscd0GlASKfZc8KBKS7mU06pEFeqq2ifUdLFo9rnr31 DfcY/NIo0rmKObC5+baXjMChPSy9i3RJYRfhCvLvLDadfgzT+oO8M0tnAJkHSEm7X+SC 6WDJD99zZVrl2KM4jBNXMWsP98K3/gpf1W/HZ7qjjX+RaGu+qhWGf8ogowWumPbPgAh1 N55tMyEJYkNzp0HErx/2RJTpyxmZ+mjMQIvZhlyoPaT6XnjycKpTNPoV3cFTTYjhaqCL Crd+JqBk5ojNzBk9QhB16pLFni0AVlKpBJ3Jz2DZvgeiKvK57imW5TOpO7dGlZK/bjq4 jffg== X-Gm-Message-State: AOAM530wUP1G4Nlyd+sZE/APLZqUvF2fy0k49KaPxE7b+m+guEVzSNJE U4k5a7rf8wWsEUFPQwj+62+X84f2030= X-Google-Smtp-Source: ABdhPJxIsyIBcL5GQd7CiCNsOYZ4wHMVfWxC4uqBG0aPL2sm0SSfg4vJaSc+1+RLUMFl7HfBF63b9g== X-Received: by 2002:a05:6602:280f:: with SMTP id d15mr29595019ioe.150.1639328496827; Sun, 12 Dec 2021 09:01:36 -0800 (PST) Received: from washu-v4 (172-221-246-205.res.spectrum.com. [172.221.246.205]) by smtp.gmail.com with ESMTPSA id m5sm5807058ilg.75.2021.12.12.09.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Dec 2021 09:01:36 -0800 (PST) From: Katherine Cox-Buday To: Edouard Klein Subject: Re: Loading Common Lisp Libraries with GNU/Guix in a REPL References: <20211210054458.GB5842@gac.attlocal.net> <20211210055454.GB6841@gac.attlocal.net> <87bl1oa44k.fsf@rdklein.fr> Date: Sun, 12 Dec 2021 11:01:34 -0600 In-Reply-To: <87bl1oa44k.fsf@rdklein.fr> (Edouard Klein's message of "Fri, 10 Dec 2021 16:03:12 +0100") Message-ID: <87wnk9g3kh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::d2f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::d2f; envelope-from=cox.katherine.e@gmail.com; helo=mail-io1-xd2f.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: help-guix@gnu.org, jgart Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639328557; 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=HLLbXBf+J+OfCmJKja/QZwjDWTZMhAUFSr46UGRcudI=; b=N43pkQFMQqxRf7h327G3ONJ2NLHFF8QvKt2nak3aWiIbdawQmF/Xxaji6NCx5ONmC8kFhh UfaB7zFOXs+qYd4hsK6jhq+mtGqhjFGLLKPnkJUo2phYeUaNxlHx4S4zyAZXEhEe6ZL08G W1Zi7UjSwUREYT9chgPurLurmvJjOSprQa9La6XDRAjfQUHyYBhOh5Rl8neHOav2xKqm7x GfqwF6AYJyxfrSn9D6BBHs3VJFRLOaBN9qcEYYcSF448kPl2pM508Jxs31uB22Q7wBIrfB h4DQgSPAgGxq+VvwgBw8HYkMtNTdc4wQrSfq2VyF4XAY7OFdeeZGwzUdjUOByw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639328557; a=rsa-sha256; cv=none; b=N3Va4gULE9Rz7oXOqEpJlJU1WfQBA5LwAOhkaz66UeCWyNeXOcV5C5yHRw/uHWB/Wu76M0 ljBBlNehXN3RFs4dlzkqBwpYvf4Ct634wjsST5vIau3+Re0SE7CVWj1S0j9NuPXUkD3I7+ 1MhV+PcDmeg9ag/ANzGrC9aLzFHwRBaxvZalpaf2520jLWQwM2eCcUFHzOj1e9VatqjHHR hhU9vOyQhW+vfPcUd7ySr6SQ4KVpIgAgmgDpu1mA25pMUHSOh4849/Ri3XS/aXxqO0SpW+ ZxZRxhCaeqhZc3P1luXiGJNCwAOoJeVnjs/Ek+PwlupN0Q2Xi987w51Z74/v0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=AGxZU7Ux; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -1.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=AGxZU7Ux; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 3749CA9C2 X-Spam-Score: -1.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: RLvwQyN1cFbx Edouard Klein writes: I also don't know the canonical way, but I do it a different way. I'm wondering what the simpler way to do things is? I know nothing about rlwrap. But here's how I do things: Depending on the project, I may have a =guix.scm= package defined for it or not. This only changes how I invoke =guix shell=, not the technique. >From emacs, I run slime: with =C-u M-x slime=. It prompts me for which lisp I want to run, and then I type =guix shell -D -- sbcl=. This seems pretty simple. I think I did have to include this in my bash initialization though. I'm not sure if it will work without it, or if there's a more correct way to do what I'm doing: #+begin-src bash if [ -n "${GUIX_ENVIRONMENT}" ]; then export XDG_CONFIG_DIRS="${GUIX_ENVIRONMENT}/etc:${XDG_CONFIG_DIRS}" export XDG_DATA_DIRS="${GUIX_ENVIRONMENT}/share:${XDG_DATA_DIRS}" export PATH="${GUIX_ENVIRONMENT}/bin:${PATH}" export PATH="${GUIX_ENVIRONMENT}/sbin:${PATH}" fi #+end_src I hope this helps! -- Katherine