From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: M-x guix bug Date: Thu, 30 Jun 2016 17:38:47 +0300 Message-ID: <87poqyagi0.fsf@gmail.com> References: <87mvm5d2sa.fsf@hecubus.retroj.net> <87wpl9ht5w.fsf@gnu.org> <87eg7gdb2x.fsf@hecubus.retroj.net> 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]:42526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bId7G-00011l-12 for help-guix@gnu.org; Thu, 30 Jun 2016 10:38:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bId7E-00038I-1c for help-guix@gnu.org; Thu, 30 Jun 2016 10:38:53 -0400 In-Reply-To: <87eg7gdb2x.fsf@hecubus.retroj.net> (John J. Foerch's message of "Tue, 28 Jun 2016 21:43:02 -0400") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: John J Foerch Cc: help-guix@gnu.org John J Foerch (2016-06-29 04:43 +0300) wrote: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Hi! >> >> John J Foerch skribis: >> >>> On a fresh guix installation with only a few packages installed, M-x >>> guix in emacs produced the following error: >>> >>> Cannot open load file: no such file or directory, magit-popup >>> >>> It seems that guix's emacs components have an unlisted magit dependency. >> >> The dependency is documented (info "(guix) Emacs Initial Setup"), but >> note that it=E2=80=99s only necessary if you use the M-x guix popup. >> >> Without magit-popup, you can still use M-x >> guix-newest-available-packages, M-x guix-prettify-mode, M-x >> guix-licenses, and so on. > > Okay, good to know. I think that a helpful message instead of an error > would be appropriate, or perhaps some way of not exposing the 'guix' > command if magit is not installed. I think the right thing would be to make "M-x guix" work by default. This can be done simply by adding 'magit-popup' dependency (i.e., by adding it to 'propagated-inputs') to our 'guix' package. But if I understood correctly, Ludovic wouldn't like to do it: --=20 Alex