From mboxrd@z Thu Jan 1 00:00:00 1970 From: John J Foerch Subject: Re: M-x guix bug Date: Thu, 30 Jun 2016 13:46:43 -0400 Message-ID: <877fd6d0xo.fsf@hecubus.retroj.net> References: <87mvm5d2sa.fsf@hecubus.retroj.net> <87wpl9ht5w.fsf@gnu.org> <87eg7gdb2x.fsf@hecubus.retroj.net> <87poqyagi0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIg3G-0004w9-5I for help-guix@gnu.org; Thu, 30 Jun 2016 13:46:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIg3B-0005jw-UB for help-guix@gnu.org; Thu, 30 Jun 2016 13:46:57 -0400 Received: from plane.gmane.org ([80.91.229.3]:37653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIg3B-0005js-NU for help-guix@gnu.org; Thu, 30 Jun 2016 13:46:53 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bIg3A-0002ds-2Y for help-guix@gnu.org; Thu, 30 Jun 2016 19:46:52 +0200 Received: from 152.160.144.141 ([152.160.144.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jun 2016 19:46:52 +0200 Received: from jjfoerch by 152.160.144.141 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jun 2016 19:46:52 +0200 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: help-guix@gnu.org Alex Kost writes: > John J Foerch (2016-06-29 04:43 +0300) wrote: > >> ludo@gnu.org (Ludovic Courtès) 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’s 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: > Another option could be to degrade gracefully to an alternative UI, such as a simple minibuffer prompt. -- John Foerch