From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" Date: Mon, 08 Feb 2016 10:22:38 +0100 Message-ID: <87k2mfk141.fsf@gnu.org> References: <87egctdsb0.fsf@gmail.com> <87lh70vclr.fsf@gmail.com> <87lh7033q9.fsf@gmail.com> <87y4b0tfdn.fsf@gmail.com> <87bn7w2gfd.fsf@gmail.com> <87vb63zgwb.fsf@gmail.com> <87oabv1a75.fsf@gmail.com> <87si16n7q5.fsf@gmail.com> <87h9hm2eue.fsf@gnu.org> <87io210wfq.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]:43174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSi2D-0005sd-Vs for bug-guix@gnu.org; Mon, 08 Feb 2016 04:23:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSi2A-0008Db-01 for bug-guix@gnu.org; Mon, 08 Feb 2016 04:23:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSi29-0008DX-T2 for bug-guix@gnu.org; Mon, 08 Feb 2016 04:23:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSi29-0002Go-OW for bug-guix@gnu.org; Mon, 08 Feb 2016 04:23:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87io210wfq.fsf@gmail.com> (Alex Kost's message of "Sun, 07 Feb 2016 11:14:01 +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 , 22550@debbugs.gnu.org Alex Kost skribis: > Ludovic Court=C3=A8s (2016-02-06 15:38 +0300) wrote: > >> Alex Kost skribis: >> >>> myglc2 (2016-02-05 17:52 +0300) wrote: >> >> [...] >> >>>> b) make a new/improved 'guix-edit' that prompts for guix-directory if = it >>>> is not already not set, perhaps also refering the user to "8.1 >>>> Building from Git". >>> >>> As I see it, 'M-x guix-edit' should do the same as 'guix edit' in shell, >>> i.e. it should open a package file without additional prompting. OTOH I >>> think it would be good to improve 'guix-edit' so that with C-u it will >>> prompt for a directory with guix packages. >> >> Yes, that would be nice. However, AIUI, it would require spawning a new >> Guix REPL for this specific =E2=80=98guix-directory=E2=80=99 value, no? > > No, not at all. The attached patch implements this. Oh right, for guix-edit that can work. > From 292c5f137f6cc3cf72e71e2dd5fa40f38fc7d7bb Mon Sep 17 00:00:00 2001 > From: Alex Kost > Date: Sun, 7 Feb 2016 11:08:57 +0300 > Subject: [PATCH] emacs: 'C-u M-x guix-edit' prompts for directory. > > * emacs/guix-base.el (guix-find-location, guix-edit): Add optional > 'directory' argument. LGTM! Perhaps the manual should also mention C-u M-x guix-edit? Thank you! Ludo=E2=80=99.