From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" Date: Fri, 25 Mar 2016 11:20:39 -0400 Message-ID: <86vb4azirc.fsf@gmail.com> References: <87egctdsb0.fsf@gmail.com> <87lh70vclr.fsf@gmail.com> <87lh7033q9.fsf@gmail.com> <87y4b0tfdn.fsf@gmail.com> <87pov764td.fsf@gmail.com> <871t7mir9w.fsf@gmail.com> <87lh57n8yn.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]:56608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajTXu-0004QL-2L for bug-guix@gnu.org; Fri, 25 Mar 2016 11:21:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajTXp-0006aL-U0 for bug-guix@gnu.org; Fri, 25 Mar 2016 11:21:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajTXp-0006aG-Pr for bug-guix@gnu.org; Fri, 25 Mar 2016 11:21:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ajTXp-0006fL-Lc for bug-guix@gnu.org; Fri, 25 Mar 2016 11:21:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lh57n8yn.fsf@gmail.com> (Alex Kost's message of "Thu, 24 Mar 2016 19:20:48 +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: 22550@debbugs.gnu.org Alex Kost writes: > Alex Kost (2016-03-07 12:14 +0300) wrote: > >> myglc2 (2016-03-06 17:47 +0300) wrote: >> [...] >> >> No, I mean it is fixed in the current master, but as I wrote=C2=B9 it wi= ll >> take effect only after we update our "guix" package. Currently it is >> "guix-devel" package at commit c3f29bc=C2=B2, which is older then commit >> 004ea62 (that fixed this issue). >> >> After we update "guix" package (either via updating "guix-devel" >> snapshot or via pointing "guix" to "guix-0.9.1" after the new release), >> this will be finally fixed. >> >> =C2=B9 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22550#38 >> =C2=B2 http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/packa= ge-management.scm#n198 > > This issue should be completely fixed now (after commit 092dd65=C2=B9). > (Just to remind) the original issue is a request for auto-finding emacs > packages installed globally (in a system profile). > > So, if you update your Emacs, it should automatically find emacs > packages (magit, etc.) installed both in user and system profiles. > > To update Emacs, one need to: > > 1. If emacs is installed in a user profile: > > $ guix pull > $ guix package --upgrade=3Demacs > > 2. If emacs is installed in a system profile: > > # guix pull > # guix system reconfigure > > =C2=B9 http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D092dd6541fc= 75ed19ebbb1f9d8e6f32a88cb3445 Hi Alex, Thank you for the followup. I can't test on GuixSD right now, but '2.' looks good here. If you have a moment, Is there a way to set up my git checkout guix environment to use changes like this as they are made in the development version? My current 'Guix checkout' config (on a Guix/Debian install) looks like this ... /home/g1/.config/guix: lrwxrwxrwx 1 g1 g1 14 Mar 24 13:49 latest -> ../../src/guix ... in ~/.profile I have ... # guix export GUIX_LOCPATH=3D$HOME/.guix-profile/lib/locale GUIX_PROFILE=3D"$HOME/.guix-profile" source "$HOME/.guix-profile/etc/profile" ... and in ~/.emacs.d/init.el I have ... ;; start: guix emacs setup ;; to run emacs interface from git checkout and have guix-edit operate ;; on git checkout files (let ((dir "/home/g1/src/guix/emacs")) (add-to-list 'load-path dir) (setq guix-load-path dir)) (require 'guix-init nil t) ;; to read the guix manual from git checkout (with-eval-after-load 'info (info-initialize) (add-to-list 'Info-directory-list "/home/g1/src/guix/doc")) ;; from #guix for guix compatible diffs (setq ediff-patch-options "-b -f") ;; end: guix emacs setup Many thanks, - George