From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: Re: Guix and Emacs Integration for Polyglot Development Date: Sat, 01 Sep 2018 17:11:59 +0200 Message-ID: <87tvn9s14w.fsf@gnu.org> References: <87wos9rp5y.fsf@gnu.org> <87wos5cma6.fsf@gnu.org> 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]:44005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fw7jz-0007D7-NA for help-guix@gnu.org; Sat, 01 Sep 2018 11:23:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fw7ZJ-0001RJ-Dw for help-guix@gnu.org; Sat, 01 Sep 2018 11:12:11 -0400 In-Reply-To: <87wos5cma6.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 01 Sep 2018 16:41:53 +0200") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix@gnu.org Ludovic Court=C3=A8s writes: > Very nice! To make the code nicer, I suppose we could simply change it > to use the Geiser integration in emacs-guix. We could call out to (guix > profiles) and (guix search-paths) and =E2=80=98setenv=E2=80=99 what it re= turns. Hmm, interesting! I was thinking I should have used the guix repl to guix package -m ... / guix environment --search-paths; or that we should create the information that's now in etc/profile also in sexp form, possibly readable by Guile and Emacs Lisp alike... > It might turn out to be more code that what you posted though, so your > solution is not that bad after all! ...but indeed, then I settled for "parsing" sh ;-) janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com