From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Emacs interface for Guix Date: Sat, 19 Jul 2014 11:51:31 +0400 Message-ID: <87r41hrdks.fsf@gmail.com> References: <87zjg9rgih.fsf@gmail.com> <871ttlgzfl.fsf@gnu.org> <87vbqxqg3n.fsf@gmail.com> <87ha2fm3gk.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]:59385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8PQg-0004sC-2h for guix-devel@gnu.org; Sat, 19 Jul 2014 03:51:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X8PQZ-0006hY-4g for guix-devel@gnu.org; Sat, 19 Jul 2014 03:51:37 -0400 In-Reply-To: <87ha2fm3gk.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 18 Jul 2014 11:16:43 +0200") 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s (2014-07-18 13:16 +0400) wrote: > Alex Kost skribis: > >> Ludovic Court=C3=A8s (2014-07-16 18:18 +0400) wrote: > > [...] > >>> That=E2=80=99s because it=E2=80=99s rebuilding most of the modules, AFA= ICS. Perhaps >>> =E2=80=98geiser-guile-load-path=E2=80=99 needs to be augmented to avoid= that? >> >> Do you mean some guix directories should be added to that var? > > Yes. > >> But how to know the paths before starting guile? Can't the default >> paths be changed during "./conigure"-ing? > > Right. > > Actually I think eventually (i.e., soon ;-)) we should add guix.el to > the Guix repo. Among other things, that means that the Scheme code for > guix.el can be easily kept in sync with the (guix ...) API, which is > more difficult otherwise. It would be great! I think the main features should be finished soon: now I'm adding support for displaying info about installed outputs, and then only implementing actions (installing/deleting) will be left. > Once guix.el is in the repo, we can use substitutions as for > guix/config.scm to get the right directory names. > > In addition, note that =E2=80=98guix pull=E2=80=99 populates ~/.config/gu= ix/latest, so > this should come first in the search path (see scripts/guix.in on how it > fiddles with search path.) > > WDYT? Thanks, I finally realized why the paths should be augmented (I'm getting experience with guix during working on guix.el :)). Also I have a question: is there such thing as =E2=80=9Cobsolete package=E2= =80=9D? AFAIU after =E2=80=98guix pull=E2=80=99, a user can still have old versions= of packages installed that don't exist in the new guix anymore. I.e. after that some packages from the current manifest cannot be found with =E2=80=98(find-packages-by-name "foo" "")=E2=80=99. Am I righ= t? > Thanks, > Ludo=E2=80=99. -- Alex