From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Emacs interface for Guix Date: Fri, 18 Jul 2014 11:16:43 +0200 Message-ID: <87ha2fm3gk.fsf@gnu.org> References: <87zjg9rgih.fsf@gmail.com> <871ttlgzfl.fsf@gnu.org> <87vbqxqg3n.fsf@gmail.com> 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]:36009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8D4x-0000ZQ-LL for guix-devel@gnu.org; Fri, 18 Jul 2014 14:40:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X8D4q-0002qI-RM for guix-devel@gnu.org; Fri, 18 Jul 2014 14:40:23 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:33476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8D4q-0002q4-KK for guix-devel@gnu.org; Fri, 18 Jul 2014 14:40:16 -0400 In-Reply-To: <87vbqxqg3n.fsf@gmail.com> (Alex Kost's message of "Wed, 16 Jul 2014 23:05:32 +0400") 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: Alex Kost Cc: guix-devel@gnu.org 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, AFAI= CS. 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. 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/guix= /latest, so this should come first in the search path (see scripts/guix.in on how it fiddles with search path.) WDYT? Thanks, Ludo=E2=80=99.