From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#22981: guix-edit does not find git checkout directory Date: Sat, 12 Mar 2016 12:15:47 +0300 Message-ID: <87egbg12gs.fsf@gmail.com> References: <871t7iov3n.fsf@gmail.com> <87io0tnunt.fsf@gmail.com> <874mcdf4z1.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]:40146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aefea-0004Em-8V for bug-guix@gnu.org; Sat, 12 Mar 2016 04:16:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aefeU-0004zy-3T for bug-guix@gnu.org; Sat, 12 Mar 2016 04:16:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aefeU-0004zi-0k for bug-guix@gnu.org; Sat, 12 Mar 2016 04:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aefeT-00007r-O3 for bug-guix@gnu.org; Sat, 12 Mar 2016 04:16:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <874mcdf4z1.fsf@gmail.com> (myglc2@gmail.com's message of "Fri, 11 Mar 2016 09:45:38 -0500") 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: myglc2 Cc: 22981@debbugs.gnu.org myglc2 (2016-03-11 17:45 +0300) wrote: > Alex Kost writes: [...] >> Anyway, you can configure any directory for "M-x guix-edit" by setting >> 'guix-directory' variable. See (info "(guix) Emacs Commands"). It is >> not in the hmtl manual yet. > > But what is the _recommended_ way to do this? I would say the recommended way is A, as it only effects this particular task (sets a default directory with guix packages for emacs), but this is free software(!), you can use whatever you like and the way you want. > A) set 'guix-directory' variable in emacs init file? I set this var in my emacs config. > B) make symbolic link to ~/src/guix from ~/.config/guix/latest? Actually, I use this too, because this is one of the general solutions to use guix from a git checkout. > C) something else? Christopher Allan Webber invented another interesting way of using guix emacs stuff with guix from git=C2=B9: (setq guix-guile-program '(".../guix/pre-inst-env" "guile")) > And if a _new_ user starts reading in "8.1 Building from Git", how do > they find this information? Since you want to use "M-x guix-edit" command, you are supposed to read its docstring (C-h f guix-edit) or a part of the manual where it is described. You can learn about 'guix-directory' variable from both places. =C2=B9 http://dustycloud.org/blog/guix-package-manager-without-make-install --=20 Alex