From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22981: guix-edit does not find git checkout directory Date: Thu, 24 Mar 2016 21:02:42 +0100 Message-ID: <87a8lnzlst.fsf@gnu.org> References: <871t7iov3n.fsf@gmail.com> <87io0tnunt.fsf@gmail.com> <874mcdf4z1.fsf@gmail.com> <87egbg12gs.fsf@gmail.com> <8737rv2l36.fsf@gmail.com> <87k2l6yaxg.fsf@gmail.com> <87r3fetmen.fsf@gmail.com> <87lh5muje0.fsf@gnu.org> <874mc9trkk.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]:49947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajBUF-0007Yb-Et for bug-guix@gnu.org; Thu, 24 Mar 2016 16:04:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajBUA-0007KD-Cx for bug-guix@gnu.org; Thu, 24 Mar 2016 16:04:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajBUA-0007Ju-90 for bug-guix@gnu.org; Thu, 24 Mar 2016 16:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ajBU9-00018X-VX for bug-guix@gnu.org; Thu, 24 Mar 2016 16:04:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <874mc9trkk.fsf@gmail.com> (Alex Kost's message of "Mon, 14 Mar 2016 11:02:51 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Alex Kost Cc: myglc2 , 22981@debbugs.gnu.org Alex Kost skribis: > Ludovic Court=C3=A8s (2016-03-14 01:01 +0300) wrote: > >> myglc2 skribis: >> >>> Guix is "stateful" because, to use a git checkout, I have to set "state" >>> variables like ... >>> >>> (setq guix-directory "/home/glc/src/guix") >>> >>> (let ((dir "~/dev/guix/emacs")) >>> (add-to-list 'load-path dir) >>> (setq guix-load-path dir) >>> (require 'guix-init nil t)) >>> >>> '(safe-local-variable-values >>> (quote >>> ((bug-reference-bug-regexp . ""))))) >>> (custom-set-faces >>> >>> /home/glc/.config/guix/latest=E2=80=99 -> =E2=80=98../../src/guix' >>> /root/.config/guix/latest=E2=80=99 -> =E2=80=98/home/glc/src/GUI=E2= =80=99 >>> >>> >>> Guix would be less stateful (AKA more "stateless") if instead I could >>> put something like ... >>> >>> (guix >>> (#:use-git #t) >>> (#:git-directory:"~/src/guix")) >> >> It seems to me that it=E2=80=99s not a question of =E2=80=9Cstatefulness= =E2=80=9D, but rather a >> question of how much configuration is needed to have guix.el use the >> Guix that you want. > > I agree. If someone want to use a "non-installed" software, (s)he has > to do some additional configuration. I don't see how to reduce such > a configuration to set up emacs code from a guix git checkout. Should this issue be closed? Ludo=E2=80=99.