From unknown Tue Jun 24 15:38:30 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22550 <22550@debbugs.gnu.org> To: bug#22550 <22550@debbugs.gnu.org> Subject: Status: (require 'magit) produces error: "no such file or directory" "dash" Reply-To: bug#22550 <22550@debbugs.gnu.org> Date: Tue, 24 Jun 2025 22:38:30 +0000 retitle 22550 (require 'magit) produces error: "no such file or directory" = "dash" reassign 22550 guix submitter 22550 myglc2 severity 22550 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 03 23:15:45 2016 Received: (at submit) by debbugs.gnu.org; 4 Feb 2016 04:15:46 +0000 Received: from localhost ([127.0.0.1]:58640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRBKb-0003Da-Ik for submit@debbugs.gnu.org; Wed, 03 Feb 2016 23:15:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37818) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRBKZ-0003DN-My for submit@debbugs.gnu.org; Wed, 03 Feb 2016 23:15:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRBKS-0000HD-S8 for submit@debbugs.gnu.org; Wed, 03 Feb 2016 23:15:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRBKS-0000H9-Hz for submit@debbugs.gnu.org; Wed, 03 Feb 2016 23:15:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRBKR-0006fB-7q for bug-guix@gnu.org; Wed, 03 Feb 2016 23:15:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRBKN-0000Gx-W8 for bug-guix@gnu.org; Wed, 03 Feb 2016 23:15:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:52627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRBKN-0000Gp-Jy for bug-guix@gnu.org; Wed, 03 Feb 2016 23:15:31 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRBKM-0005FN-0X for bug-guix@gnu.org; Thu, 04 Feb 2016 05:15:30 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 05:15:29 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 05:15:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: myglc2 Subject: (require 'magit) produces error: "no such file or directory" "dash" Date: Wed, 03 Feb 2016 23:15:47 -0500 Lines: 144 Message-ID: <87egctdsb0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-73-167-118-254.hsd1.ma.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:KKQcQPCyGhyM+r02G2J4ULpmKPU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) with magit installed on guixSD following the config shown further below. With init.el containing ... VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV (add-to-list 'load-path "/run/current-system/profile/share/emacs/site-lisp") (require 'guix-init nil t) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (require 'magit) ... generates this traceback ... VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV Debugger entered--Lisp error: (file-error "Cannot open load file" "no such file or directory" "dash") require(dash) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\210\300\312\313\314#\207" [require cl-lib dash with-editor git-commit magit-core magit-diff magit-apply magit-log format-spec package nil t] 4) require(magit) eval((require (quote magit)) nil) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Adding emac-dash to config.h.scm does not change the behavior. config.h.scm: VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV ;; This is an operating system configuration template ;; for a "bare bones" setup, with no X11 display server. (use-modules (gnu)) (use-service-modules networking ssh) (use-package-modules admin) (use-package-modules disk) ;; parted (use-package-modules ssh rsync wget screen) (use-package-modules version-control) ;; git git-manpages (use-package-modules emacs) ;; emacs magit (operating-system (host-name "g1") (timezone "America/New_York") (locale "en_US.utf8") (bootloader (grub-configuration (device "/dev/sda"))) (file-systems (cons (file-system (device "g1sd") (title 'label) (mount-point "/") (type "ext4")) %base-file-systems)) (users (cons* (user-account (name "glc") (comment "g l c") (group "users") (supplementary-groups '("wheel")) (home-directory "/home/glc")) (user-account (name "glc2") (comment "glc2") (group "users") (supplementary-groups '("wheel")) (home-directory "/home/glc2")) (user-account (name "glc3") (comment "glc3") (group "users") (supplementary-groups '("wheel")) (home-directory "/home/glc3")) (user-account (name "glc4") (comment "glc4") (group "users") (supplementary-groups '("wheel")) (home-directory "/home/glc4")) %base-user-accounts)) (packages (cons* glibc-utf8-locales parted openssh rsync wget screen emacs git git-manpages magit %base-packages ) ) (services (cons* (dhcp-client-service) (lsh-service #:port-number 22) %base-services))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ root@g1 ~# guix pull Starting download of /tmp/guix-file.hPsZb9 >From http://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz... master.tar.gz 2.4MiB/s 00:04 | 9.8MiB transferred unpacking '/gnu/store/dfil8xc2l55xs5zjvs5mvrji4m97vnn9-guix-latest.tar.gz'... substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100.0% The following derivation will be built: /gnu/store/nmiak10q4fbax0n06qypgp0m1p7y084i-guix-latest.drv building path(s) `/gnu/store/wsygn2xxms6fmqv2xwjqgmkr58466icr-guix-latest' copying and compiling to '/gnu/store/wsygn2xxms6fmqv2xwjqgmkr58466icr-guix-latest'... loading... 23.3% of 481 filesrandom seed for tests: 1454557452 loading... 99.8% of 481 files compiling... 98.3% of 481 files updated GNU Guix successfully deployed under `/root/.config/guix/latest' root@g1 ~# guix system reconfigure config.h.scm substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100.0% The following derivations will be built: /gnu/store/wa37n1m89692sh17d5m1rpknkjbajh2r-system.drv /gnu/store/l2xhcir48mr0hbbn142lbbl45z3xnfnj-grub.cfg.drv /gnu/store/q993gpnzkfh00d56q5l57112nl127b99-shells.drv /gnu/store/nn89w1fcrnw10ikmqak3jnmflqv8z9ja-ca-certificate-bundle.drv /gnu/store/dxdxlq2x5pcnjx44cas2g3p4zh6569jz-gtk-icon-themes.drv /gnu/store/9qk8g4hcqks3lwyacy328zdhxmzmxnyq-info-dir.drv /gnu/store/jhbmd42vqb2jbvcxh3rli4xrzamlgdcd-profile.drv /gnu/store/xf6m2i96hrmw1hssjc71w4g2swqw587a-activate-service.drv /gnu/store/12bmphpb3skk6fn18mahza2dbh7chm8f-activate-service.drv /gnu/store/qghfckfm59s62y1y4imvlfvzacl7xg12-activate.drv /gnu/store/d74b89jil0aclla1yp6mm53x3yd8dprp-boot.drv /gnu/store/xgz9xh1r8ajzqrhd4dxks8dmrxqvazs3-etc.drv /gnu/store/ddcfyn63vnkx78fw7jii92ndrvh1bf6w-system /gnu/store/a1dn41j0bzy5sd66a69x0j67vcpyxgr3-grub.cfg /gnu/store/83bx8wsdhh2adn03b10dm20j74gv0kyq-grub-2.00 activating system... setting up setuid programs in '/run/setuid-programs'... populating /etc from /gnu/store/y008yk2vd41vgxfmbzs4xygmiwwx4n7p-etc... usermod: no changes usermod: no changes adding user 'glc2'... usermod: no changes making '/gnu/store/ddcfyn63vnkx78fw7jii92ndrvh1bf6w-system' the current system... Installation finished. No error reported. root@g1 ~# exit exit Process shell finished From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 04 08:17:42 2016 Received: (at 22550) by debbugs.gnu.org; 4 Feb 2016 13:17:42 +0000 Received: from localhost ([127.0.0.1]:59045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRJn4-0005KQ-GA for submit@debbugs.gnu.org; Thu, 04 Feb 2016 08:17:42 -0500 Received: from mail-lf0-f47.google.com ([209.85.215.47]:34566) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRJn2-0005KE-Vk for 22550@debbugs.gnu.org; Thu, 04 Feb 2016 08:17:41 -0500 Received: by mail-lf0-f47.google.com with SMTP id j78so35839251lfb.1 for <22550@debbugs.gnu.org>; Thu, 04 Feb 2016 05:17:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=35xVI5NrOq5lYQXE/HPrtvnLL5mxESqJtI7i6vVi06Y=; b=yQcFmrhsBnWmX+xUR0Aiz1LNQ7sDwh1I6TDALFpWTM8vzqB9T016FamkAi1mclIes/ 0kOlN6szxENSqbabuPYPE4L8whC+zgksjgjIQkXTNN1CT5Y7GNLCUoIh86GxA3yGYIMa ivnRYhpRx721mYrSZAM/eCcapNU2i3VBSkci5ki3FKV7w4ttxFLParjfGM2JaZ6Jowsp xbFwRvDW0FnIQRLHfa2JrhsjsmsiwKDN73ltEOwhOmUb3UyqyuN2FIhnEI13L5025/km CHlZADqRCjTin4TzStA/M4bHXcW46iTOHROFEy5N9GFxXkjCd6l5UvhSPZEs5clwMwzs /Bgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=35xVI5NrOq5lYQXE/HPrtvnLL5mxESqJtI7i6vVi06Y=; b=gRi/dMv8U3Kx6N2FapswCQXpg8ldUBgpd/jNdzrWyRXW3nk1Tq9x/Y5KyYrY3P+4II xBfB3Y05c11JWBm7keTXtg0VVtpQzRciiiFMoTcrUL0n+F2wnyN1m+2d88xViwGTskpY N8DJLL+hKMbYgVAFsbY3RWk6dwP0px45W0Xkdup4/Ulc1RWmZq4AR2e4gg6INjys/ZCS zFM4qldM2HrZVp6FGG+7p+m2C27IF4ly9fTW50DhiNW1cc4463MmT6lzhpG7mKmpYJwJ AvjrHw5dUQZdT2936zO94TXsXQhRcjT/MSgdyOkJnLjxlqTcLNtgHQJzRMKN5wp3SQyA XHCw== X-Gm-Message-State: AG10YORFEYPRZZPcUi37ZmBHRhqIh+2xNlyq/5h6U+Lg6PISjWCHD7W0LHNJ2FasQ/0bJQ== X-Received: by 10.25.212.207 with SMTP id l198mr3479479lfg.163.1454591855323; Thu, 04 Feb 2016 05:17:35 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id x5sm1539427lbb.30.2016.02.04.05.17.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Feb 2016 05:17:34 -0800 (PST) From: Alex Kost To: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" References: <87egctdsb0.fsf@gmail.com> Date: Thu, 04 Feb 2016 16:17:36 +0300 In-Reply-To: <87egctdsb0.fsf@gmail.com> (myglc2@gmail.com's message of "Wed, 03 Feb 2016 23:15:47 -0500") Message-ID: <87lh70vclr.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) myglc2 (2016-02-04 07:15 +0300) wrote: > with magit installed on guixSD following the config shown further below. > > With init.el containing ... > > VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV > (add-to-list 'load-path "/run/current-system/profile/share/emacs/site-lisp") > (require 'guix-init nil t) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ You don't need to add these lines to your init file. On GuixSD this code is executed by "/etc/emacs/site-start.el" (it is a default value of EMACSLOADPATH which is honored by Emacs). > (require 'magit) > > ... generates this traceback ... > > VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV > Debugger entered--Lisp error: (file-error "Cannot open load file" "no such file or directory" "dash") > require(dash) > byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\210\300\312\313\314#\207" [require cl-lib dash with-editor git-commit magit-core magit-diff magit-apply magit-log format-spec package nil t] 4) > require(magit) > eval((require (quote magit)) nil) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Yes, the problem is: currently only a user profile is "inspected" for emacs packages, but not a system profile. I didn't realize people could install emacs packages globally, but apparently we should also check the system profile as well. Thanks for reporting! > Adding emac-dash to config.h.scm does not change the behavior. There is no need to install emacs-dash explicitly, as magit "propagates" this library. You can do "M-x guix-edit magit" to see that "dash" is in "propagated-inputs". Now could you try this after starting Emacs: M-: (guix-emacs-load-autoloads "/run/current-system/profile") and check that "M-x magit-status" works after that? -- Alex From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 04 10:16:29 2016 Received: (at 22550) by debbugs.gnu.org; 4 Feb 2016 15:16:29 +0000 Received: from localhost ([127.0.0.1]:60371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRLe1-0008NN-3p for submit@debbugs.gnu.org; Thu, 04 Feb 2016 10:16:29 -0500 Received: from mail-qg0-f51.google.com ([209.85.192.51]:33767) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRLdz-0008N9-Vq for 22550@debbugs.gnu.org; Thu, 04 Feb 2016 10:16:28 -0500 Received: by mail-qg0-f51.google.com with SMTP id b35so43683303qge.0 for <22550@debbugs.gnu.org>; Thu, 04 Feb 2016 07:16:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=WUlB5phik26kTOLe7YQMLHJ1BJeqDxaVTOEDGXx58GM=; b=DLoAQJo/lgacJo3xd96qajG0QqJw4cbeHRoencDkUbdz/+uSG3CB7qJ/gPgMpgyHWN Udv2yuGFoZpxWt6eJHsb3E9x//fBMIqIwl5OpXFkR+v+t7v3vqSThhZ7pyPBjnDlTwh9 1Ub3yYhfXEA71PRwymUOJoIgY653FWt5VGdhgDRcQYxvC+0GrJJ8mGvpQ/j5NjcXrM9N sLV0f5nEVWt9EZ67RaoMLPrM2OMw/TnAl6koMdxLGUIGGI5zj5n53pxEWUTtz8Z9px9q tYEJmfu9ys3VXQbOM8gN7TJsh9nQWLbOOoYO47aADiW8xZ1hZK5WJ2Hx2IRzrwxY5Psy NG7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=WUlB5phik26kTOLe7YQMLHJ1BJeqDxaVTOEDGXx58GM=; b=XQYfzFCbmdFSC6vp+GgMz2FrxiuGeXb0zPC9du0YGs0R4yEbvfoQrpAy/31ALwsI9G vUJKswllOJdC1bvtduVrV6fEPk5y3hN8B1/iYa/TXQEOF7UfH5DKmpMIbHVSriN5OQSb fHsLLgHZerjXyQ7vza1gJNfJheVCUEYrAVCi6PDXi73bps3MLVtaz716rdazkXs08S1p eyyIhFyk3lhMdxNj5ATv+NBkx0Z2RyoLkiArw04CcHuZrwXwGCotN0H8ZAsRj9DqEO2e JLORVJfsDLHZyK2lzyDmzRD3iQIkDOiY1N+BFsEI8X6e3R9DNQUfYI6Xg5c49pmJsOUr GeEg== X-Gm-Message-State: AG10YOS2r5VS88cEAoMtHMRACdqgjnH6BzIwDP/wu9oRwmRYOQVdu+sZIx69Xi7ZLH7Clg== X-Received: by 10.141.0.212 with SMTP id b203mr9775288qhd.104.1454598982476; Thu, 04 Feb 2016 07:16:22 -0800 (PST) Received: from g1 (c-73-167-118-254.hsd1.ma.comcast.net. [73.167.118.254]) by smtp.gmail.com with ESMTPSA id m2sm3592319qhm.33.2016.02.04.07.16.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Feb 2016 07:16:21 -0800 (PST) From: myglc2 To: Alex Kost Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" References: <87egctdsb0.fsf@gmail.com> <87lh70vclr.fsf@gmail.com> Date: Thu, 04 Feb 2016 10:16:46 -0500 In-Reply-To: <87lh70vclr.fsf@gmail.com> (Alex Kost's message of "Thu, 04 Feb 2016 16:17:36 +0300") Message-ID: <87lh7033q9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Alex Kost writes: > myglc2 (2016-02-04 07:15 +0300) wrote: > >> with magit installed on guixSD following the config shown further below. >> >> With init.el containing ... >> >> VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV >> (add-to-list 'load-path "/run/current-system/profile/share/emacs/site-lisp") >> (require 'guix-init nil t) >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > You don't need to add these lines to your init file. On GuixSD this > code is executed by "/etc/emacs/site-start.el" (it is a default value of > EMACSLOADPATH which is honored by Emacs). > I added these lies because, without them, '(require 'magit)' produced ... VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV Debugger entered--Lisp error: (file-error "Cannot open load file" "no such file or directory" "magit") require(magit) eval((require (quote magit)) nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... my EMACSLOADPATH ... glc4@g1 ~$ echo $EMACSLOADPATH :/etc/emacs If I set it to match what you say ... glc4@g1 ~$ EMACSLOADPATH=/etc/emacs/site-start.el glc4@g1 ~$ emacs ... produces *Messages* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV Warning: Lisp directory `/etc/emacs/site-start.el': Not a directory timer-set-idle-time: Cannot open load file: not a directory, time-date Error in post-command-hook (global-font-lock-mode-check-buffers): (file-error "Cannot open load file" "not a directory" "time-date") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If I set it to match what I think you mean ... glc4@g1 ~$ EMACSLOADPATH=:/etc/emacs/site-start.el glc4@g1 ~$ emacs ... I get ... VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV Warning: Lisp directory `/etc/emacs/site-start.el': Not a directory Directory '/home/glc4/.guix-profile/share/emacs/site-lisp' does not exist. For information about GNU Emacs and the GNU system, type C-h C-a. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... If I look in /etc/emacs I see ... VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV /etc/emacs: total used in directory 684 available 225716120 dr-xr-xr-x 2 root root 4096 Dec 31 1969 . drwxrwxr-t 992 root guixbuild 692224 Feb 3 23:33 .. lrwxrwxrwx 2 root root 57 Dec 31 1969 site-start.el -> /gnu/store/3jkv4favm6q2vphkm3m4wmpr8p75d6vx-site-start.el ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Note: below, I have EMACSLOADPATH=:/etc/emacs >> (require 'magit) >> >> ... generates this traceback ... >> >> VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV >> Debugger entered--Lisp error: (file-error "Cannot open load file" "no such file or directory" "dash") >> require(dash) >> byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\210\300\312\313\314#\207" [require cl-lib dash with-editor git-commit magit-core magit-diff magit-apply magit-log format-spec package nil t] 4) >> require(magit) >> eval((require (quote magit)) nil) >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Yes, the problem is: currently only a user profile is "inspected" for > emacs packages, but not a system profile. I didn't realize people could > install emacs packages globally, but apparently we should also check the > system profile as well. Thanks for reporting! > >> Adding emac-dash to config.h.scm does not change the behavior. > > There is no need to install emacs-dash explicitly, as magit "propagates" > this library. You can do "M-x guix-edit magit" to see that "dash" is in > "propagated-inputs". When I do "M-x guix-edit" I get ... M-x guix-edit [No match] ... which is what lead me to believe I needed to fix load-path > > Now could you try this after starting Emacs: > > M-: (guix-emacs-load-autoloads "/run/current-system/profile") > > and check that "M-x magit-status" works after that? YES! That makes everything work. So, should I put ... '(guix-emacs-load-autoloads "/run/current-system/profile")' ... in init.el, in which case guix INFO should say so. Or, is there something wrong with EMACSLOADPATH? From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 04 15:00:45 2016 Received: (at 22550) by debbugs.gnu.org; 4 Feb 2016 20:00:45 +0000 Received: from localhost ([127.0.0.1]:60652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRQ57-0001SU-Gh for submit@debbugs.gnu.org; Thu, 04 Feb 2016 15:00:45 -0500 Received: from mail-lf0-f41.google.com ([209.85.215.41]:35111) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRQ56-0001SI-3Z for 22550@debbugs.gnu.org; Thu, 04 Feb 2016 15:00:44 -0500 Received: by mail-lf0-f41.google.com with SMTP id l143so43719337lfe.2 for <22550@debbugs.gnu.org>; Thu, 04 Feb 2016 12:00:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=ajiF/dl26Qi0uv282+18aunm2JIqgdhE6oa6xY3VL4Q=; b=AUe1cQhdccw64lbNGx3hrxFpGdPbAiZp6DFG94qrmRkiu4ZYykCfDDdkQcFU6iV96i fOl/V6cPH/GZyLHiNKYRkn/rqtECwBAt+7bz5DQYFuG/R60HRDotoh18b4x9Dezby5Jx 9kWejA61FE6gVQjRWwsXBCdQiz/+SfhORvZLTZXOSlQWJ0zN6H6dS7qu+i9ipDWooCEs rk6PwAiHO5n27xF9xLPgQN1Jt0ntRjATnBPB4h4vCtXPZ21CwLxZZWhSDrEQouO5Ut4C FQ0PkbGb+IFRVps87weptuagCjLTFpu8JRKXldHAJfpYUj1V4ZsF9X3JakzdGQawZma+ 9/aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=ajiF/dl26Qi0uv282+18aunm2JIqgdhE6oa6xY3VL4Q=; b=fTDO2qioVcp5I+NJNbE6wXAVBjDrQzZN7zvsZHGdtlUGNtM3NPj5Gc37TUCZjicCL/ +morvRrQ79WJSxazr99ZxKOkUJD1B4Zd2xbvNpCORoh77UkeJkdAKh/9i4TZn6tJROqR Q1ntZm9QEdTUDRZI415ind7xhoE6a6Kq0Q/H3ot2zBzs2814iG2glGhCIZWcxEsNuXPK iSxr0lT8ldjJkOgWDccbRR0KsN4SNdVCPP2ULNG2M4JqZp4P6Zx1OIsbuXjaj33qImd9 Jeal4z9f3EB3j8XnOm8c8afD1YLy+wuIBHuMNSZweHzZgW0j6eh5Feq4HRAmpB/8X4F/ CUdA== X-Gm-Message-State: AG10YORlUsqNSHN46KuwPoV8qQztijgOQ3bf3a199GtveMK1fnnPXJeqOo/PRJTnr/0oXw== X-Received: by 10.25.162.5 with SMTP id l5mr3630230lfe.104.1454616038246; Thu, 04 Feb 2016 12:00:38 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id ze8sm1727945lbb.45.2016.02.04.12.00.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Feb 2016 12:00:37 -0800 (PST) From: Alex Kost To: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" References: <87egctdsb0.fsf@gmail.com> <87lh70vclr.fsf@gmail.com> <87lh7033q9.fsf@gmail.com> Date: Thu, 04 Feb 2016 23:00:36 +0300 In-Reply-To: <87lh7033q9.fsf@gmail.com> (myglc2@gmail.com's message of "Thu, 04 Feb 2016 10:16:46 -0500") Message-ID: <87y4b0tfdn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) myglc2 (2016-02-04 18:16 +0300) wrote: [...] > glc4@g1 ~$ echo $EMACSLOADPATH > :/etc/emacs > > If I set it to match what you say ... > > glc4@g1 ~$ EMACSLOADPATH=3D/etc/emacs/site-start.el > glc4@g1 ~$ emacs No, no, it is expected; I meant ":/etc/emacs" is the default value, sorry for the confusion. [...] > Note: below, I have EMACSLOADPATH=3D:/etc/emacs > >>> (require 'magit) >>> >>> ... generates this traceback ... [...] >> Yes, the problem is: currently only a user profile is "inspected" for >> emacs packages, but not a system profile. I didn't realize people could >> install emacs packages globally, but apparently we should also check the >> system profile as well. Thanks for reporting! >> >>> Adding emac-dash to config.h.scm does not change the behavior. >> >> There is no need to install emacs-dash explicitly, as magit "propagates" >> this library. You can do "M-x guix-edit magit" to see that "dash" is in >> "propagated-inputs". > > When I do "M-x guix-edit" I get ... > > M-x guix-edit [No match] > > ... which is what lead me to believe I needed to fix load-path No, there is no need to fix load-path; on GuixSD it should work out-of-the-box; it doesn't work currently because there is a bug introduced several days ago (see below). >> Now could you try this after starting Emacs: >> >> M-: (guix-emacs-load-autoloads "/run/current-system/profile") >> >> and check that "M-x magit-status" works after that? > > YES! That makes everything work. Thanks for confirmation! > So, should I put ... > > '(guix-emacs-load-autoloads "/run/current-system/profile")' > > ... in init.el, in which case guix INFO should say so. Well, you can do it as a temporary workaround, but we'll fix it soon (I mean the system profile will also be inspected for emacs packages), so it will not be necessary in the closest future. > Or, is there something wrong with EMACSLOADPATH? Yes, I mean it's not a problem on your side, but it's bug in GuixSD. I think we should change this value from ":/etc/emacs" to "/etc/emacs:". The problem with the current EMACSLOADPATH is that "/etc/emacs" value is appended to 'load-path' variable, but it should be prepended to it, so that the proper "site-lisp.el" will be found. Sorry, this bug was introduced recently and you are the first who faced it :-) Right now I can't check it, but I think if you start emacs like this: EMACSLOADPATH=3D/etc/emacs: emacs you'll get "M-x guix-=E2=80=A6" commands. Could you confirm? So to recap, you found 2 issues: 1. Emacs packages installed in a system profile are not automatically added to 'load-path'. 2. With the current EMACSLOADPATH, a wrong "site-lisp.el" is loaded, so "M-x guix-=E2=80=A6" commands are not autoloaded. Both are easy to fix, thanks again for reporting! --=20 Alex From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 04 18:40:01 2016 Received: (at submit) by debbugs.gnu.org; 4 Feb 2016 23:40:02 +0000 Received: from localhost ([127.0.0.1]:60733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRTVJ-00087H-KS for submit@debbugs.gnu.org; Thu, 04 Feb 2016 18:40:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47531) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRTVI-000873-FH for submit@debbugs.gnu.org; Thu, 04 Feb 2016 18:40:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRTVC-0003cy-Dg for submit@debbugs.gnu.org; Thu, 04 Feb 2016 18:39:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRTVC-0003cu-AU for submit@debbugs.gnu.org; Thu, 04 Feb 2016 18:39:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRTVB-0008I0-Dj for bug-guix@gnu.org; Thu, 04 Feb 2016 18:39:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRTV8-0003ck-75 for bug-guix@gnu.org; Thu, 04 Feb 2016 18:39:53 -0500 Received: from plane.gmane.org ([80.91.229.3]:48868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRTV8-0003cg-0G for bug-guix@gnu.org; Thu, 04 Feb 2016 18:39:50 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRTV6-0004iz-Ei for bug-guix@gnu.org; Fri, 05 Feb 2016 00:39:48 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 00:39:48 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 00:39:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" Date: Thu, 04 Feb 2016 18:40:06 -0500 Lines: 68 Message-ID: <87bn7w2gfd.fsf@gmail.com> References: <87egctdsb0.fsf@gmail.com> <87lh70vclr.fsf@gmail.com> <87lh7033q9.fsf@gmail.com> <87y4b0tfdn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-73-167-118-254.hsd1.ma.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:O+OlWJqM3t2SwURt1OCYsdwp85U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) Alex Kost writes: > myglc2 (2016-02-04 18:16 +0300) wrote: > >> So, should I put ... >> >> '(guix-emacs-load-autoloads "/run/current-system/profile")' >> >> ... in init.el, in which case guix INFO should say so. > > Well, you can do it as a temporary workaround, but we'll fix it soon (I > mean the system profile will also be inspected for emacs packages), so > it will not be necessary in the closest future. > >> Or, is there something wrong with EMACSLOADPATH? > > Yes, I mean it's not a problem on your side, but it's bug in GuixSD. I > think we should change this value from ":/etc/emacs" to "/etc/emacs:". > The problem with the current EMACSLOADPATH is that "/etc/emacs" value is > appended to 'load-path' variable, but it should be prepended to it, so > that the proper "site-lisp.el" will be found. > > Sorry, this bug was introduced recently and you are the first who faced > it :-) Not to worry... bugs must be made in the course of progress. > > Right now I can't check it, but I think if you start emacs like this: > > EMACSLOADPATH=/etc/emacs: emacs > > you'll get "M-x guix-…" commands. Could you confirm? Yes that works. ... and then if I do '(guix-emacs-load-autoloads "/run/current-system/profile")' 'M-x magit-status' works. > > So to recap, you found 2 issues: > > 1. Emacs packages installed in a system profile are not automatically > added to 'load-path'. > > 2. With the current EMACSLOADPATH, a wrong "site-lisp.el" is loaded, so > "M-x guix-…" commands are not autoloaded. > > Both are easy to fix, thanks again for reporting! My pleasure. I am a little confused (not your fault). May I ask an off-topic question? It seems that doing ... 'M-x guix-edit foo.scm' ... amounts to hacking guix. However '8.1 Building from Git' says, "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository." ... and goes on to describe a different approach. Can you comment on which approach is best for which situation. TIA - George From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 03:43:41 2016 Received: (at 22550) by debbugs.gnu.org; 5 Feb 2016 08:43:41 +0000 Received: from localhost ([127.0.0.1]:32789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRbzR-0003gp-GZ for submit@debbugs.gnu.org; Fri, 05 Feb 2016 03:43:41 -0500 Received: from mail-lb0-f176.google.com ([209.85.217.176]:33715) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRbzQ-0003gb-En for 22550@debbugs.gnu.org; Fri, 05 Feb 2016 03:43:40 -0500 Received: by mail-lb0-f176.google.com with SMTP id x4so46378573lbm.0 for <22550@debbugs.gnu.org>; Fri, 05 Feb 2016 00:43:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=13IN+jqobudfKJ3d7IuMFOZMCdcN6vTwOVreoG8lxnc=; b=hEtsh6OCPl7Fmee7cm2dGOMr5+PaVAYsXOGn2RwW4aiZj7ZUgjiAyskj6COudvGAn7 SohNfF5nYisrQHaeTVfZHgEjlFgQg2HxnccbB+xxFjeQmw7/ppnx3pTgzezGyatZbMv5 2IWqYNWXR7jbpiXtekTJpI5plrb85QI0k91trzBF4staEz01WW3hItfHoDPwWvD+jhl7 qdM0DPr6X//ngLW4MQjI7MOGMTwZfraet4IQW+ENQYCHTSrxyjcvdrJzfteE/GEDWIsE J4TjShcX2F13eLdr4/mmG+Ce+ElwDQp3113krVCdILRg6ld7+3OcX6ItfsbfOdew9WWs 6gkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=13IN+jqobudfKJ3d7IuMFOZMCdcN6vTwOVreoG8lxnc=; b=MmJgKw/eq/TLtaxKp4jt/lB+7VQil8UXdagvfYsbJjPNZqpbF95ySUWDn/eUVnolvS Sb+JZvrqhLu1bcOILf+oyl1QI1cscrUjNvmVODoaAm0baEe8k69XtSsBNdnTQuXDLYgh hgbdiUCwwO8BzueSmv5bKZk7CoYH+eIOL4jNZ2BFKKeGcPhVuwi49HCSNXTHJ9DRT9C0 isSOFYmBe4Uw0AcEIoABYOTYvGZMtc1izBwBJoyPRJSyVoMSp/dKfixGcnvZfxZVpQAi np0pdoah+6W3fEbDvXWDlF6BjoMjb2X9XhdWukPBjofgXCpNIVHcxI2gB+FnI1zu0tS2 TOrw== X-Gm-Message-State: AG10YOQrNuXhOkiqvYQe8thbHCaHSaiGM+wHVjw4sd9uS8V8NVBDUxVzNMuCqamzq1ll6A== X-Received: by 10.112.166.100 with SMTP id zf4mr5416289lbb.58.1454661814659; Fri, 05 Feb 2016 00:43:34 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id 36sm2149890lfx.19.2016.02.05.00.43.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Feb 2016 00:43:33 -0800 (PST) From: Alex Kost To: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" References: <87egctdsb0.fsf@gmail.com> <87lh70vclr.fsf@gmail.com> <87lh7033q9.fsf@gmail.com> <87y4b0tfdn.fsf@gmail.com> <87bn7w2gfd.fsf@gmail.com> Date: Fri, 05 Feb 2016 11:43:32 +0300 In-Reply-To: <87bn7w2gfd.fsf@gmail.com> (myglc2@gmail.com's message of "Thu, 04 Feb 2016 18:40:06 -0500") Message-ID: <87vb63zgwb.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) myglc2 (2016-02-05 02:40 +0300) wrote: [...] >> Right now I can't check it, but I think if you start emacs like this: >> >> EMACSLOADPATH=3D/etc/emacs: emacs >> >> you'll get "M-x guix-=E2=80=A6" commands. Could you confirm? > > Yes that works. > > ... and then if I do > > '(guix-emacs-load-autoloads "/run/current-system/profile")' > > 'M-x magit-status' works. Thanks for confirming. It will be fixed soon. > I am a little confused (not your fault). May I ask an off-topic > question? Sure. > It seems that doing ... 'M-x guix-edit foo.scm' ... amounts to hacking just "foo" without ".scm" ---------------^^^^^^^ (BTW package names are completed if you press TAB) > guix. > > However '8.1 Building from Git' says, "If you want to hack Guix itself, > it is recommended to use the latest version from the Git repository." > ... and goes on to describe a different approach. > > Can you comment on which approach is best for which situation. The purpose of "M-x guix-edit" Emacs command (and "guix edit" shell command) is just to show you the source code of the package. This source is usually placed in the store, and you shouldn't edit it. If you are going to contribute to guix, (info "(guix) Building from Git") is the right way. For "M-x guix-edit", there is a trick that allows to point to any place with packages =E2=80=94 setting 'guix-directory' variable. For example, if= you cloned guix to "~/src" directory, after: (setq guix-directory "~/src/guix") "M-x guix-edit magit" will open "~/src/guix/gnu/packages/emacs.scm" file. --=20 Alex From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 09:52:22 2016 Received: (at submit) by debbugs.gnu.org; 5 Feb 2016 14:52:22 +0000 Received: from localhost ([127.0.0.1]:32967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRhkE-0003hC-0a for submit@debbugs.gnu.org; Fri, 05 Feb 2016 09:52:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53713) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRhkB-0003gw-I2 for submit@debbugs.gnu.org; Fri, 05 Feb 2016 09:52:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRhk5-0001aS-Dq for submit@debbugs.gnu.org; Fri, 05 Feb 2016 09:52:14 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRhk5-0001aH-AR for submit@debbugs.gnu.org; Fri, 05 Feb 2016 09:52:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRhk4-0002qy-A7 for bug-guix@gnu.org; Fri, 05 Feb 2016 09:52:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRhk1-0001UV-2D for bug-guix@gnu.org; Fri, 05 Feb 2016 09:52:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:50283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRhk0-0001QD-RC for bug-guix@gnu.org; Fri, 05 Feb 2016 09:52:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRhjr-0000dw-BG for bug-guix@gnu.org; Fri, 05 Feb 2016 15:51:59 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 15:51:59 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 15:51:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" Date: Fri, 05 Feb 2016 09:52:14 -0500 Lines: 75 Message-ID: <87oabv1a75.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-73-167-118-254.hsd1.ma.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:7B4swtVB77oPlehyweKzE6dnZU0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) Alex Kost writes: > myglc2 (2016-02-05 02:40 +0300) wrote: > > [...] >>> Right now I can't check it, but I think if you start emacs like this: >>> >>> EMACSLOADPATH=/etc/emacs: emacs >>> >>> you'll get "M-x guix-…" commands. Could you confirm? >> >> Yes that works. >> >> ... and then if I do >> >> '(guix-emacs-load-autoloads "/run/current-system/profile")' >> >> 'M-x magit-status' works. > > Thanks for confirming. It will be fixed soon. > >> I am a little confused (not your fault). May I ask an off-topic >> question? > > Sure. > >> It seems that doing ... 'M-x guix-edit foo.scm' ... amounts to hacking > > just "foo" without ".scm" ---------------^^^^^^^ > (BTW package names are completed if you press TAB) > >> guix. >> >> However '8.1 Building from Git' says, "If you want to hack Guix itself, >> it is recommended to use the latest version from the Git repository." >> ... and goes on to describe a different approach. >> >> Can you comment on which approach is best for which situation. > > The purpose of "M-x guix-edit" Emacs command (and "guix edit" shell > command) is just to show you the source code of the package. This > source is usually placed in the store, and you shouldn't edit it. If > you are going to contribute to guix, (info "(guix) Building from Git") > is the right way. > > For "M-x guix-edit", there is a trick that allows to point to any place > with packages — setting 'guix-directory' variable. For example, if you > cloned guix to "~/src" directory, after: > > (setq guix-directory "~/src/guix") > > "M-x guix-edit magit" will open "~/src/guix/gnu/packages/emacs.scm" file. Thank you Alex. This really helps me. FWIW, Here are a couple thoughts: It was confusing to me that 'guix-edit' shows "Note: file is write protected". This behavior made me wonder what was wrong with my setup and/or my understanding. This might be improved by: 1) expanding one of the messages: "Note: file is write protected", or 'command-execute: Buffer is read-only: #' to say, if you want to modify guix see "8.1 Building from Git". - or - a) rename the current 'guix-edit' function to guix-inspect', 'guix-examine', or'guix-view'. 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". c) possibly allow "warping" from "guix-inspect" to "guix-edit". From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 16:54:52 2016 Received: (at 22550) by debbugs.gnu.org; 5 Feb 2016 21:54:52 +0000 Received: from localhost ([127.0.0.1]:34837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRoL5-0007Ci-RN for submit@debbugs.gnu.org; Fri, 05 Feb 2016 16:54:52 -0500 Received: from mail-lf0-f42.google.com ([209.85.215.42]:36203) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRoL4-0007CW-BZ for 22550@debbugs.gnu.org; Fri, 05 Feb 2016 16:54:50 -0500 Received: by mail-lf0-f42.google.com with SMTP id 78so65683694lfy.3 for <22550@debbugs.gnu.org>; Fri, 05 Feb 2016 13:54:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=pPJYy07TJrJRvCv/IwzItGg69D76cRt44isGJ2r/dEM=; b=nqFV2Ey2gcFXzmHnJB07Ao/tPC7i0t4Q7XojYHgRiA3Qm9nKjc+YPB9+ir+xFLXQd9 LlzuxoxTSfm22/A1XSQEA+qDXEdn51ZTTDtvStw2DN108JkNcyg7GvJR8iQjcA++72uO CNKRgs8Y2XKoxDi5BbfjP6m7sLmw/cw8/z1T3wQ/POFggdDrhQiXCYuxlEC/WUTnKkyx 62TLu0gOAYfJXfGC0DMUnyAJZND/xDs9S8qQejvrnWVKn8S6DrVFNXcg6LDgL5+ETqPT t/UVaztiql3RdWEXg4FJ5oYqP/TbcVe1gz7jFBK00+4vU+0zqLz3eC/sGqh0Q7vErr+5 hY3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=pPJYy07TJrJRvCv/IwzItGg69D76cRt44isGJ2r/dEM=; b=DMDVVAhU5uU/l5I6/fP8hRm+3Ls144zqUaNHNU0b70/rYF6FmoARSQwUsof3QrTEOQ GojeXPqW6tZjt6GtsTvfASt3ivLkwmRHiyEk6Jzd6KVnfYWoUvjMN5Fc234RirqZB+0U HGcgkr4z1vw5Yv4xLDUg6y8EitDwynQLz4DirjJhT0TdT449hX3ZRDaLucEI8DVyIpWh 4BJmuDK1hQGGwn8h1oPE548fOi1hDQNexVF0tO18LdrzJwS2AFXzSdnztWaNDhy+9r+T go3KKFnCZiVxgtZJwMaKcsjr//7wG5XnsLc+bL04bGgr0SmRkSwoXm5Gjk9d7yjLreTa VmRA== X-Gm-Message-State: AG10YOSGROWetsFASQlPAblW+Gc2hGtoXjYznc8NuBIzUtfBmCWUizjcnyU/QE5yHoup4Q== X-Received: by 10.25.147.200 with SMTP id v191mr6055869lfd.167.1454709284300; Fri, 05 Feb 2016 13:54:44 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id n185sm852021lfd.11.2016.02.05.13.54.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Feb 2016 13:54:43 -0800 (PST) From: Alex Kost To: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" 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> Date: Sat, 06 Feb 2016 00:54:42 +0300 In-Reply-To: <87oabv1a75.fsf@gmail.com> (myglc2@gmail.com's message of "Fri, 05 Feb 2016 09:52:14 -0500") Message-ID: <87si16n7q5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) myglc2 (2016-02-05 17:52 +0300) wrote: > Alex Kost writes: [...] >> The purpose of "M-x guix-edit" Emacs command (and "guix edit" shell >> command) is just to show you the source code of the package. This >> source is usually placed in the store, and you shouldn't edit it. If >> you are going to contribute to guix, (info "(guix) Building from Git") >> is the right way. >> >> For "M-x guix-edit", there is a trick that allows to point to any place >> with packages =E2=80=94 setting 'guix-directory' variable. For example,= if you >> cloned guix to "~/src" directory, after: >> >> (setq guix-directory "~/src/guix") >> >> "M-x guix-edit magit" will open "~/src/guix/gnu/packages/emacs.scm" file. > > Thank you Alex. This really helps me. FWIW, Here are a couple thoughts: > > It was confusing to me that 'guix-edit' shows "Note: file is write > protected". This behavior made me wonder what was wrong with my setup > and/or my understanding. Nothing is wrong. What you describe is a common Emacs thing when you open a read-only file. Emacs displays this message because you open a file from /gnu/store (which is read-only). If you run: touch /tmp/foo ; chmod 444 /tmp/foo and then open this /tmp/foo file in Emacs, you'll get the same message. > This might be improved by: > > 1) expanding one of the messages: "Note: file is write protected", or > 'command-execute: Buffer is read-only: #' to say, > if you want to modify guix see "8.1 Building from Git". These messages come from Emacs itself, not from any guix code, so I don't see how to change it (and I actually wouldn't like to do it, as I think changing a default Emacs behaviour would be more confusing) > - or - > > a) rename the current 'guix-edit' function to guix-inspect', > 'guix-examine', or'guix-view'. "M-x guix-edit" Emacs command was named so after "guix edit" shell command. I think having "M-x guix-view" which will do the same as "guix edit" in shell and "M-x guix-edit" which will do something else will be confusing. > 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. --=20 Alex From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 06 07:39:04 2016 Received: (at 22550) by debbugs.gnu.org; 6 Feb 2016 12:39:04 +0000 Received: from localhost ([127.0.0.1]:35174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aS28m-00009s-05 for submit@debbugs.gnu.org; Sat, 06 Feb 2016 07:39:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56364) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aS28l-00009P-5i for 22550@debbugs.gnu.org; Sat, 06 Feb 2016 07:39:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aS28c-0004Gc-VL for 22550@debbugs.gnu.org; Sat, 06 Feb 2016 07:38:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS28c-0004GS-RZ; Sat, 06 Feb 2016 07:38:54 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:33438 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aS28a-0004b6-A9; Sat, 06 Feb 2016 07:38:52 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Alex Kost Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" 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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sat, 06 Feb 2016 13:38:49 +0100 In-Reply-To: <87si16n7q5.fsf@gmail.com> (Alex Kost's message of "Sat, 06 Feb 2016 00:54:42 +0300") Message-ID: <87h9hm2eue.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: 22550 Cc: myglc2 , 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) 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? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 07 03:14:10 2016 Received: (at 22550) by debbugs.gnu.org; 7 Feb 2016 08:14:10 +0000 Received: from localhost ([127.0.0.1]:36453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSKTy-0002Ms-2L for submit@debbugs.gnu.org; Sun, 07 Feb 2016 03:14:10 -0500 Received: from mail-lb0-f179.google.com ([209.85.217.179]:33591) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSKTw-0002Mg-9D for 22550@debbugs.gnu.org; Sun, 07 Feb 2016 03:14:08 -0500 Received: by mail-lb0-f179.google.com with SMTP id x4so70234179lbm.0 for <22550@debbugs.gnu.org>; Sun, 07 Feb 2016 00:14:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=HnLKr1lSNSBv11QU0dJTfrsH4wRomcV8vbEH7FUwCls=; b=Znsr4iQJGzDexJZ3VU/u+gNXDwKrqRYIv+HA2UbTd11k7tYPKRGGBR6ifUtjX82tIu MtDDJQhKmiqgeXG6QBoQcPIYIXedHkXmSP4D4FN1AuyIPhBKOddzGUX2fCrEesgoQ2GE sXSN6BXYc932hPWqf5qOttm2k1ZYKpXd8yynSg4J8hzUXhOBlvfz9wCbr2ToSqnyo3dW HyGfq2OFsE+uujjOft5ETQRyeIWT9WvecgfMUs6HG4cpRBfH0ZwqnG3QnNqc7nj+dtr0 O8+3CBpIuK3Na0jzRSm6qNAtQ6h/LGljirWD5jL/TEy2w595cfqShv7g7NPSgzNz29jL A2Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=HnLKr1lSNSBv11QU0dJTfrsH4wRomcV8vbEH7FUwCls=; b=ObPKfqBoCcq1tMIHDC6GAGRe3QtDJP7nLjntOHd1sIvfC0gKtXbp+PRPF5Jt0PygXE CnCGYmn3TmFcsUJdN/eo5lw9WThnCE3ah+9aNuA9EL7vFLqP3N1jmDPPMI3deK661wjJ nYA86XuX3eMtLYarkMm5ibCqA+Zkfesmw3eWVRGFvyJDaKXLpiogem8lCdOp1jW8QqCe J+Q1RrLNlZRyxxBA4hHLqGtM8lr9NKec51b1dH3BLwT3F1LYoHGUsrqjBlsOGaAXlWQ8 GwuxciOTLg+hIlID9rylqoc/GhqdIw6xpy7OQnh6noZwulP6k90P8lnJPkQ8Ngh3K4db irpg== X-Gm-Message-State: AG10YOQ7E5VDjNc3PsyE5RqbAMvdQkia4C/Ym73NX9xnxJFksg6KcpVXeDIJPpfgOFJehA== X-Received: by 10.112.147.161 with SMTP id tl1mr8820823lbb.4.1454832842572; Sun, 07 Feb 2016 00:14:02 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id x5sm3211920lbb.30.2016.02.07.00.14.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Feb 2016 00:14:01 -0800 (PST) From: Alex Kost To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" 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> Date: Sun, 07 Feb 2016 11:14:01 +0300 In-Reply-To: <87h9hm2eue.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 06 Feb 2016 13:38:49 +0100") Message-ID: <87io210wfq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: myglc2 , 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-emacs-C-u-M-x-guix-edit-prompts-for-directory.patch >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. --- emacs/guix-base.el | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/emacs/guix-base.el b/emacs/guix-base.el index 9f9f258..8282f2d 100644 --- a/emacs/guix-base.el +++ b/emacs/guix-base.el @@ -63,17 +63,17 @@ This directory is used to define location of the packages.") (add-hook 'guix-after-start-repl-hook 'guix-set-directory) -(defun guix-find-location (location) +(defun guix-find-location (location &optional directory) "Go to LOCATION of a package. LOCATION is a string of the form: \"PATH:LINE:COLUMN\" If PATH is relative, it is considered to be relative to -`guix-directory'." +DIRECTORY (`guix-directory' by default)." (cl-multiple-value-bind (path line col) (split-string location ":") - (let ((file (expand-file-name path guix-directory)) + (let ((file (expand-file-name path (or directory guix-directory))) (line (string-to-number line)) (col (string-to-number col))) (find-file file) @@ -113,12 +113,19 @@ See `guix-packages-profile'." (guix-packages-profile profile generation system?))) ;;;###autoload -(defun guix-edit (id-or-name) - "Edit (go to location of) package with ID-OR-NAME." - (interactive (list (guix-read-package-name))) +(defun guix-edit (id-or-name &optional directory) + "Edit (go to location of) package with ID-OR-NAME. +See `guix-find-location' for the meaning of package location and +DIRECTORY. +Interactively, with prefix argument, prompt for DIRECTORY." + (interactive + (list (guix-read-package-name) + (when current-prefix-arg + (read-directory-name "Directory with Guix modules: " + guix-directory)))) (let ((loc (guix-package-location id-or-name))) (if loc - (guix-find-location loc) + (guix-find-location loc directory) (message "Couldn't find package location.")))) -- 2.6.3 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 07 03:56:10 2016 Received: (at 22550) by debbugs.gnu.org; 7 Feb 2016 08:56:10 +0000 Received: from localhost ([127.0.0.1]:36462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSL8b-0003JC-RF for submit@debbugs.gnu.org; Sun, 07 Feb 2016 03:56:09 -0500 Received: from mail-lf0-f45.google.com ([209.85.215.45]:35224) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSL8Z-0003Ix-UK for 22550@debbugs.gnu.org; Sun, 07 Feb 2016 03:56:08 -0500 Received: by mail-lf0-f45.google.com with SMTP id l143so79953402lfe.2 for <22550@debbugs.gnu.org>; Sun, 07 Feb 2016 00:56:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=XYed6h7qPHrEAWalFgjJYsyp+pgXTeleTxmitBeTdDE=; b=kBaOBSrys3XVkSbqrp5asPgrxeL6yRYwN/b+wQLoa7Ou/95Rm8+W7Aq4vvg0mXz2Dl /ZXJ2TUIYDcIftOQcCoqFFOt0OL+M92IsA1zgr+zfLLeoUcEbJheXBnyG6uj/4LJ5vrA Wzz4RzszhHp5zxsU0Bq5M3wQw7gNKvR92kDtk3/ZiTlSh/CPoLoR/SUq/D70dKa4cl+B JWVanL22iXCe6bwNpZX8tW1hKSlolDImIKPOppX4R23WryXZd7yzvD12r5izYBGqwK4b mbIB91ZEbL1zrppNWgb78k5sjzSfxfaF+jmXxaq9p7e0XkYZmvk6O0T4Iykx0L8scDYg Ti1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=XYed6h7qPHrEAWalFgjJYsyp+pgXTeleTxmitBeTdDE=; b=V/kf61ozBIPXqMSUV7x4nf3yN30NEfn0Y0cYvQ6P/ZqccA0GwRvbk40jgSNn1LHiS+ O1Wjww7aEDyhFRamllv2dybaCexpoyKtEf5AH/zOy4Gd+Y4dKJJBfRfyHDze6CFKh3GY MCJ3LQRcsQyF4ITbU2LgHPTQkcfiKkTgcuElADeZ1F2gCqFMeiyMXeSLhnUBIuomMwPP 0z9U8uhaDGiO8/wTUXFpfhWoLpMJfhb5SK0QcavHNYrjoesdjOrVUrhF+h9AJWp5E8CW ocSVV8uZgl5Ik/OaDHk+Fd5U1D8k2/SmNM6F6ET9ED/ZpRssEMwtgK7ONetyRz0fLiZT Cp9A== X-Gm-Message-State: AG10YOQRm+TYzYuQETmd4aAobKYOUH4uQFltiXVK8LYGWRAozYOUrreDPDydZjp06WvQgg== X-Received: by 10.25.147.139 with SMTP id v133mr9715807lfd.161.1454835362064; Sun, 07 Feb 2016 00:56:02 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id xe8sm3241204lbb.41.2016.02.07.00.56.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Feb 2016 00:56:01 -0800 (PST) From: Alex Kost To: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" References: <87egctdsb0.fsf@gmail.com> <87lh70vclr.fsf@gmail.com> <87lh7033q9.fsf@gmail.com> <87y4b0tfdn.fsf@gmail.com> Date: Sun, 07 Feb 2016 11:56:00 +0300 In-Reply-To: <87y4b0tfdn.fsf@gmail.com> (Alex Kost's message of "Thu, 04 Feb 2016 23:00:36 +0300") Message-ID: <87wpqgzyov.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Alex Kost (2016-02-04 23:00 +0300) wrote: [...] > So to recap, you found 2 issues: > > 1. Emacs packages installed in a system profile are not automatically > added to 'load-path'. Fixed in commit 004ea62=C2=B9. However, it will take effect when the new source of "guix-emacs.el" will be used. It will happen only after we'll update our guix-devel snapshot (last time it was in commit 2c77615). > 2. With the current EMACSLOADPATH, a wrong "site-lisp.el" is loaded, so > "M-x guix-=E2=80=A6" commands are not autoloaded. This one is fixed in commit b3fee14=C2=B2 (it will take effect when EMACSLOADPATH will be changed, i.e. after "guix pull", "guix system reconfigure" and rebooting). =C2=B9 http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D004ea62955a92= f69efeaa90debde4e626acb6143 =C2=B2 http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Db3fee145df2a2= cb310ced2e7f34e0a2b6083e661 --=20 Alex From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 07 21:52:37 2016 Received: (at submit) by debbugs.gnu.org; 8 Feb 2016 02:52:37 +0000 Received: from localhost ([127.0.0.1]:37831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSbwL-0006f2-7T for submit@debbugs.gnu.org; Sun, 07 Feb 2016 21:52:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43133) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSbwJ-0006em-FG for submit@debbugs.gnu.org; Sun, 07 Feb 2016 21:52:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSbwD-0006wM-D0 for submit@debbugs.gnu.org; Sun, 07 Feb 2016 21:52:30 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSbwD-0006wI-9u for submit@debbugs.gnu.org; Sun, 07 Feb 2016 21:52:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSbwC-000286-BY for bug-guix@gnu.org; Sun, 07 Feb 2016 21:52:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSbw9-0006uN-28 for bug-guix@gnu.org; Sun, 07 Feb 2016 21:52:28 -0500 Received: from plane.gmane.org ([80.91.229.3]:60971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSbw8-0006uJ-RR for bug-guix@gnu.org; Sun, 07 Feb 2016 21:52:24 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSbw6-0002jT-Tk for bug-guix@gnu.org; Mon, 08 Feb 2016 03:52:23 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 03:52:22 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 03:52:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" Date: Sun, 07 Feb 2016 21:52:58 -0500 Lines: 26 Message-ID: <87io1z9alx.fsf@gmail.com> References: <87egctdsb0.fsf@gmail.com> <87lh70vclr.fsf@gmail.com> <87lh7033q9.fsf@gmail.com> <87y4b0tfdn.fsf@gmail.com> <87wpqgzyov.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-73-167-118-254.hsd1.ma.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:ItZEa6RKovDjVrgAvl/GySiFXe8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) Alex Kost writes: > Alex Kost (2016-02-04 23:00 +0300) wrote: > > [...] >> So to recap, you found 2 issues: >> >> 1. Emacs packages installed in a system profile are not automatically >> added to 'load-path'. > > Fixed in commit 004ea62¹. However, it will take effect when the new > source of "guix-emacs.el" will be used. It will happen only after we'll > update our guix-devel snapshot (last time it was in commit 2c77615). > Thanks. Given that I am using git pull, is it feasible to for me test this change now? >> 2. With the current EMACSLOADPATH, a wrong "site-lisp.el" is loaded, so >> "M-x guix-…" commands are not autoloaded. > > This one is fixed in commit b3fee14² (it will take effect when > EMACSLOADPATH will be changed, i.e. after "guix pull", "guix system > reconfigure" and rebooting). Thanks, I can confirm this works for me. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 04:20:00 2016 Received: (at 22550) by debbugs.gnu.org; 8 Feb 2016 09:20:00 +0000 Received: from localhost ([127.0.0.1]:37960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aShzD-0002Bj-Js for submit@debbugs.gnu.org; Mon, 08 Feb 2016 04:19:59 -0500 Received: from mail-lf0-f54.google.com ([209.85.215.54]:33896) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aShzC-0002BW-Ba for 22550@debbugs.gnu.org; Mon, 08 Feb 2016 04:19:58 -0500 Received: by mail-lf0-f54.google.com with SMTP id j78so91284280lfb.1 for <22550@debbugs.gnu.org>; Mon, 08 Feb 2016 01:19:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=GlxjLBCE/s04J9sNLHDcSCDjv1ZVUfacMo/Zhec921A=; b=GhEtuYgvKVGHeLr2KCV9ANOCWkmqBzlOHQXZhCkfKVYbf38ZtKhJQaNIOG8IgccDqG kb+7m8i2FOG2+toNhHAydUDunG548UVtaMGhYa3WifYrV+44A/dyZ7RAADYFmWmQNURC 0s4eX8jIRgD8BKgVVMVkm5fnZ5BVZR+iuLN0IGA7X6YbatlqKxbIB7SmWVuSt9MpdeCp UsW0R6J1Gn9cguAJVH4qv3v52SFuw/9flWthhLZUyYdAwIu9G1jLWrNE6jfMrqAYNL3H 0xGUKXFl9ioYZsjMjKxobUv7eWOVjaYvQAyjeW03pbax5HiPON0CrDViBA9dYaML8ZRf LJfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=GlxjLBCE/s04J9sNLHDcSCDjv1ZVUfacMo/Zhec921A=; b=i11wj4GM+FmAFhPpZs9DoBEJO5NgU4IUZD0IMG3pn7qbOw+Llb/jXIcHu9Jzov7vKQ u3LLWHyt9nxNUiY/Hyl0LpCiuAPR9jGahnOGXmaz8HmsGs9oSyHqSlRSW7goDZ27E5gW Xsfd5U9QevwVxdnqFU7zbaRVu6KZBCFPPtkdZAFeJ3QjSZC4bAg8EmDNbN/eCTV5dttw WfnP0qfS9GY0rGoviK4AYnKRqXp0xHQaaO8QWD4AQ3EF5M4fU2dOy3xg9OA9FEX9CTTa 8cPE5AL0qzm6BU1SbfrntGDbSz1gcgferS4AEYT6Vm7ZjwhS3fKxMN3Oe2+PAhUa2E02 WaLA== X-Gm-Message-State: AG10YOTwUS3ivTJQ4Tk8fX3Fl/s1hhnLY3hG1+m2cSH+7nUaINgAEcOTGw4ZkrN4A5d5Pg== X-Received: by 10.25.42.209 with SMTP id q200mr11076143lfq.80.1454923192551; Mon, 08 Feb 2016 01:19:52 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id wj2sm3785308lbb.5.2016.02.08.01.19.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Feb 2016 01:19:51 -0800 (PST) From: Alex Kost To: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" References: <87egctdsb0.fsf@gmail.com> <87lh70vclr.fsf@gmail.com> <87lh7033q9.fsf@gmail.com> <87y4b0tfdn.fsf@gmail.com> <87wpqgzyov.fsf@gmail.com> <87io1z9alx.fsf@gmail.com> Date: Mon, 08 Feb 2016 12:19:51 +0300 In-Reply-To: <87io1z9alx.fsf@gmail.com> (myglc2@gmail.com's message of "Sun, 07 Feb 2016 21:52:58 -0500") Message-ID: <87mvrbr22w.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) myglc2 (2016-02-08 05:52 +0300) wrote: >> Alex Kost (2016-02-04 23:00 +0300) wrote: >> >> [...] >>> So to recap, you found 2 issues: >>> >>> 1. Emacs packages installed in a system profile are not automatically >>> added to 'load-path'. >> >> Fixed in commit 004ea62=C2=B9. However, it will take effect when the new >> source of "guix-emacs.el" will be used. It will happen only after we'll >> update our guix-devel snapshot (last time it was in commit 2c77615). > > Thanks. Given that I am using git pull, is it feasible to for me test > this change now? Yes, at first you need to "unset EMACSLOADPATH" to prevent Emacs from loading "/run/current-system/profile/share/emacs/site-lisp/guix-emacs.el" (it is required by "guix-init" which is in turn required by "/etc/emacs/site-start.el"). Then you need to configure Emacs interface from git checkout as described in the manual (info "(guix) Emacs Initial Setup"), like this: (let ((dir "~/src/guix/emacs")) (add-to-list 'load-path dir) (setq guix-load-path dir) (require 'guix-init nil t)) A side note: 'guix-init' is a wrapper which is used to perform 2 tasks: 1. To load autoloads for guix commands, so that you can run any "M-x guix-= =E2=80=A6" command without requiring all these "guix-=E2=80=A6.el" modules. 2. To find and autoload Emacs packages installed with Guix in a user profile (and now [thanks to you] in a system profile as well). Not so long ago=C2=B9 our Emacs package was "patched" to take care of the second task, so technically there is no need in "guix-init" anymore. It will be removed soon (or maybe stayed for some time for backward compatibility), and instead 'guix-autoloads' should be required to configure various Emacs modes for Guix. =E2=86=91 (It was a draft of announce about the future change) =E2=86=91 =C2=B9 http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D13fe4891fa247= d306e203ee14c6886513bd86b52 --=20 Alex From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 04:22:52 2016 Received: (at 22550) by debbugs.gnu.org; 8 Feb 2016 09:22:52 +0000 Received: from localhost ([127.0.0.1]:37964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSi20-0002GC-Bl for submit@debbugs.gnu.org; Mon, 08 Feb 2016 04:22:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52082) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSi1y-0002Fz-GA for 22550@debbugs.gnu.org; Mon, 08 Feb 2016 04:22:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSi1p-00082i-EG for 22550@debbugs.gnu.org; Mon, 08 Feb 2016 04:22:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSi1p-00082S-AA; Mon, 08 Feb 2016 04:22:41 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:52036 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSi1n-0002rv-To; Mon, 08 Feb 2016 04:22:40 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Alex Kost Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" 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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 08 Feb 2016 10:22:38 +0100 In-Reply-To: <87io210wfq.fsf@gmail.com> (Alex Kost's message of "Sun, 07 Feb 2016 11:14:01 +0300") Message-ID: <87k2mfk141.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 22550 Cc: myglc2 , 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 04:55:50 2016 Received: (at 22550-done) by debbugs.gnu.org; 8 Feb 2016 09:55:50 +0000 Received: from localhost ([127.0.0.1]:37985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSiXu-00030e-31 for submit@debbugs.gnu.org; Mon, 08 Feb 2016 04:55:50 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:36110) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSiXs-00030Q-0u for 22550-done@debbugs.gnu.org; Mon, 08 Feb 2016 04:55:48 -0500 Received: by mail-lb0-f169.google.com with SMTP id dx2so79762816lbd.3 for <22550-done@debbugs.gnu.org>; Mon, 08 Feb 2016 01:55:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=aOdA9WdI1YTn9jxOFu2CbU6KdNfL8kFC14shKnObLGM=; b=0VGH6UretqMt4G6AM5vYaUax96iNR+t3CbiMh/usLj1Cxcb5EvqbK3SE3sEg9vS1+W UvYY4kiBK11X7wPsjp1m9o7v62+qnNErBuI/Gg0NMmBMIrP7WVPFiS8yvXoHjpotXZd+ l68Hgx7C6URv+I2lLfj0oYJUl/Wp8lq2GYiC10VB+kjElxWxXod2Jwnb7ePL+hBFBRhX ehnTWGiCDQfdsIqgaqbdEXyinDu6CAoZjOQB7ggiFG/qHx1u2vbDrX0Ba89XmCTqWUiU G8nGdMuDV+sc+9BIMHAA2cE/r1Tdxd/hKNj0Q7RS/Ya18/MgqeD5HilZLFSNbg7gEHwW bQqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-type; bh=aOdA9WdI1YTn9jxOFu2CbU6KdNfL8kFC14shKnObLGM=; b=H9qHLH2G8n8h33Ra303x/4uttA3mCtIlZCMWzNGgSZsCblMTGgHrQRPeWkAb7fFQJR HqqudHPjbERzP3bVbGgHZMiPFw0R3a3l7kISV/DudHfnHriW/UUaowRO02zBnnPhpjPk P+sHpcgGy8IEc+mMQFdk1Mm8lid8WUNON7e1pEP0oAB1bT7sS0qvi8vnltb/f9+kwg1x MFX82MEDlQ/KT95ItTD3MsFLO06xqHRmAOX1iSi4xBu/2wFBCEEpRWeR4Kf+QCPboEuD G+jXGGafD/2tvCiX7ETmA5/H2D336zBnSURqsirO63/+fNxbZy0/Xv0Zvc0qrMhFeJ0E dLDg== X-Gm-Message-State: AG10YORc8zhmZHvPDTx0WJGt5S8oSLeGdIn/h1tFpd5BYe1dhzDcrFfWu5FhvmEu8Rqo0w== X-Received: by 10.112.17.70 with SMTP id m6mr11226928lbd.130.1454925342138; Mon, 08 Feb 2016 01:55:42 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id p124sm3901139lfe.31.2016.02.08.01.55.40 for <22550-done@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Feb 2016 01:55:41 -0800 (PST) From: Alex Kost To: 22550-done@debbugs.gnu.org Subject: Fixed Date: Mon, 08 Feb 2016 12:55:41 +0300 Message-ID: <87io1zr0f6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) The original problem is solved (though the conversation continues) -- Alex From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 10 02:46:19 2016 Received: (at 22550) by debbugs.gnu.org; 10 Feb 2016 07:46:19 +0000 Received: from localhost ([127.0.0.1]:34184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTPTf-0003AT-9T for submit@debbugs.gnu.org; Wed, 10 Feb 2016 02:46:19 -0500 Received: from mail-lf0-f42.google.com ([209.85.215.42]:35720) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTPTd-0003AH-Rm for 22550@debbugs.gnu.org; Wed, 10 Feb 2016 02:46:18 -0500 Received: by mail-lf0-f42.google.com with SMTP id l143so6424660lfe.2 for <22550@debbugs.gnu.org>; Tue, 09 Feb 2016 23:46:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=XQ5YVSDfFU9ULn6zcm9nEXvjs8cGJT5nZkFKm2cKf60=; b=cNcyxFkIMy6y7kwtUf/CCJTV73lVIR4x76ZIv1Ck83isWH933bzt4nRj0OuiqenZmi lZpJVY3bTZJ1Lp/eXwRKzu6UuP8Acuzk1TXz9OMPj/Q9NAu+3oJ5d5MnQ97lVKU2E4ER aA9M/PY51topSjl+r7qv1hrW/Oqu2ARy/7dj3ZAko22jpcwtpH9tv0vt8whc28k1OQo5 /V5hUncUk0oJd8orKx4rNiIFtwH/5YCxv+tfI72gfovVKLlLE/mYTMe7Ks0IQx2p84J8 nUQZglvJshOfGNGJ1Grf4/ZXg60eFT4NT0nDMiG3iSS4I8xxsLQS29SgIZmTrQN7UNad AHNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=XQ5YVSDfFU9ULn6zcm9nEXvjs8cGJT5nZkFKm2cKf60=; b=T+w1DmUSMq3Mgm+8cLjOspRsF4K+dby6SSKWOypBLWk1s0BA0Ec2Mch3oT5OF7uJAb kBl64tr34lXfTdUt9E/iMs0ILr6DlyH1rV6lL094Six0S3G3aKCl1CVR755jNLM2vOd8 uDjSm+jH+KZqqMABFuHZ6VcdnvewPcB0u4RUuxlp1dJimpUjoPDGgvqGjPNBHIkNv+oZ mjX+5MX8q2p1ycuAeOd57oBt7DGOOJYST9kPYZ+IUis+qCa7WPLUPHcqf3SBXYNAIb2f MVM8cLUfrVXipBFDRlCLIfgdxZTo+e06mVv+CZgNNt32Tyvrx5M3Nt/gOMII6TKHHkyU xLMw== X-Gm-Message-State: AG10YORjQ7ZnLevooB7ZLaEytoylodulpYUa22BKVEt/08n34m76cVu+l4dJLWmCmQCCcQ== X-Received: by 10.25.25.84 with SMTP id 81mr14914676lfz.71.1455090372039; Tue, 09 Feb 2016 23:46:12 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id h75sm261846lfi.2.2016.02.09.23.46.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Feb 2016 23:46:11 -0800 (PST) From: Alex Kost To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" 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> <87k2mfk141.fsf@gnu.org> Date: Wed, 10 Feb 2016 10:46:12 +0300 Message-ID: <874mdh6m9n.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: myglc2 , 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Ludovic Court=C3=A8s (2016-02-08 12:22 +0300) wrote: >> 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? I added a mention about C-u to the manual and committed it, thanks! --=20 Alex From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 06 09:45:50 2016 Received: (at 22550) by debbugs.gnu.org; 6 Mar 2016 14:45:50 +0000 Received: from localhost ([127.0.0.1]:36235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acZwM-0000j2-Fl for submit@debbugs.gnu.org; Sun, 06 Mar 2016 09:45:50 -0500 Received: from mail-qg0-f47.google.com ([209.85.192.47]:36844) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acZwK-0000ip-I9 for 22550@debbugs.gnu.org; Sun, 06 Mar 2016 09:45:48 -0500 Received: by mail-qg0-f47.google.com with SMTP id u110so78908614qge.3 for <22550@debbugs.gnu.org>; Sun, 06 Mar 2016 06:45:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yO+vTRT4McURXp+5lChNCxfbswU5SONQyhzTUhjBHNs=; b=FsLhpWcwk7R89Pj1TJIORgvm3TNPXA+XlhnXY1hHc2Uw4S83DIINKWqJ7tgMNu4EQB DDmwY0RHbzRWs5zcYJcbWT2IjFmMt0oMtJ3E43b6yBozxb2ohXgmuRtWLxdhJi5A57Y0 XGYgKiZ6gaNO/LE9riXhKePTfADmr6OREVoarduWc0C/Pc2RzBvXEbpuunObcfGDYCYQ BccwRON9SCK70jUW4l6LWRfxO/L3RsoZtlSzXZQj+KHX6vTfY5NerS4oeMRYcBGhqkTg 9wR4MKp+WBkQy5Ph6yXSjdeC5FsU2SXajKtTRGAbbqQ0irhOSB4mBfNh+3XAoqSOC9gr cJXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yO+vTRT4McURXp+5lChNCxfbswU5SONQyhzTUhjBHNs=; b=Y0Bavt4+9rN6wNYfDNtvpk1jj8xGKXIMjIN/C+r+uVk1CylHIb6YwsKCCHwwfdjSCf ssYgsurLnlg7mQ+VNPAdso3sKXnbn6LXz7I4Ewt/x1gPWquXrPlC9Paplr7fz2uS0drX GMGgpqsJ3ZapSmp5hFUqrcxXKAw0TNDUAZXvw/C8M02eGd7TAbQtzWggiFE96iwVZTOy g05qBdLuL1jJW1G7lP9kaIhjskA+WdBjYvV+N95ymx5uTmu3pTZq367qReGAuZzFw2VK cLc/9SWdCvqi/uS8vu9dHfVSZIZfYpoDHL2mPFDIDlsLqb36Fkzf38eTwfZm+KSa0x4S rvbA== X-Gm-Message-State: AD7BkJLatsZdN/Od/ZatmLrqgnx75dr6N10viaPFMj2cQcNOYGeDhjWMDS6m5g3DAmSuRw== X-Received: by 10.140.40.138 with SMTP id x10mr10735864qgx.2.1457275543101; Sun, 06 Mar 2016 06:45:43 -0800 (PST) Received: from g1 (c-73-167-118-254.hsd1.ma.comcast.net. [73.167.118.254]) by smtp.gmail.com with ESMTPSA id b85sm6031962qhc.9.2016.03.06.06.45.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Mar 2016 06:45:42 -0800 (PST) From: myglc2 To: Alex Kost Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" References: <87egctdsb0.fsf@gmail.com> <87lh70vclr.fsf@gmail.com> <87lh7033q9.fsf@gmail.com> <87y4b0tfdn.fsf@gmail.com> Date: Sun, 06 Mar 2016 09:47:58 -0500 In-Reply-To: <87y4b0tfdn.fsf@gmail.com> (Alex Kost's message of "Thu, 04 Feb 2016 23:00:36 +0300") Message-ID: <87pov764td.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) --=-=-= Content-Type: text/plain Alex Kost writes: [...] >> So, should I put ... >> >> '(guix-emacs-load-autoloads "/run/current-system/profile")' >> >> ... in init.el, in which case guix INFO should say so. > > Well, you can do it as a temporary workaround, but we'll fix it soon (I > mean the system profile will also be inspected for emacs packages), so > it will not be necessary in the closest future. Hi Alex. Tried removing this and got 'command-execute: Symbol's function definition is void: magit-status' Shouldn't it be fixed by now? TIA - george glc@g1 ~/dev/guix$ git branch -av | head -n 1 * master 59a4dd5 doc: Explain how to check whether security updates are used. glc@g1 ~/dev/guix$ env | grep EMACSLOADPATH EMACSLOADPATH=/etc/emacs: glc@g1 ~/dev/guix$ cat ~/.emacs.d/init.el | grep autoloads ;; (guix-emacs-load-autoloads "/run/current-system/profile") glc@g1 ~/dev/guix$ guix package --list-installed glc@g1 ~/dev/guix$ system config.q.scm (attached) --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=config.q.scm Content-Transfer-Encoding: base64 Ozsgc2VlIGlmIHRtdXggc3VwcG9ydHMgMjU2IGNvbG9ycwo7OyBhZGQgY3VybCBmb3IgbHBhc3Rl Cjs7IGFkZCB4YXV0aCBmb3IgWDExCjs7IHN3aXRjaCB0byAodXNlLXBhY2thZ2UtbW9kdWxlcyAu Li4pCih1c2UtbW9kdWxlcyAoZ251KSkKKHVzZS1zZXJ2aWNlLW1vZHVsZXMgbmV0d29ya2luZyBz c2gpCjs7IHRpZHkgdXAKKHVzZS1wYWNrYWdlLW1vZHVsZXMgYWRtaW4KCQkgICAgIGRpc2sgOzsg cGFydGVkCgkJICAgICBzc2ggcnN5bmMgd2dldCBzY3JlZW4KCQkgICAgIHNzaCB0bXV4CgkJICAg ICB2ZXJzaW9uLWNvbnRyb2wgOzsgZ2l0IGdpdC1tYW5wYWdlcwoJCSAgICAgZW1hY3MgOzsgZW1h Y3MgbWFnaXQKCQkgICAgIGN1cmwgOzsgbHBhc3RlCgkJICAgICB4b3JnIDs7IHhhdXRoCgkJICAg ICBjZXJ0cyA7OyBmb3IgSFRUUFMgVExTIGZvciBnaXQsIHdnZXQsIHczbQoJCSAgICAgKSAKCgoo b3BlcmF0aW5nLXN5c3RlbQogIChob3N0LW5hbWUgImcxIikKICAodGltZXpvbmUgIkFtZXJpY2Ev TmV3X1lvcmsiKQogIChsb2NhbGUgImVuX1VTLnV0ZjgiKQogIChib290bG9hZGVyIChncnViLWNv bmZpZ3VyYXRpb24gKGRldmljZSAiL2Rldi9zZGEiKSkpCiAgKGZpbGUtc3lzdGVtcyAoY29ucyAo ZmlsZS1zeXN0ZW0KICAgICAgICAgICAgICAgICAgICAgICAgKGRldmljZSAiZzFzZCIpCiAgICAg ICAgICAgICAgICAgICAgICAgICh0aXRsZSAnbGFiZWwpCiAgICAgICAgICAgICAgICAgICAgICAg IChtb3VudC1wb2ludCAiLyIpCiAgICAgICAgICAgICAgICAgICAgICAgICh0eXBlICJleHQ0Iikp CiAgICAgICAgICAgICAgICAgICAgICAlYmFzZS1maWxlLXN5c3RlbXMpKQoKICAodXNlcnMgKGNv bnMqICh1c2VyLWFjY291bnQKICAgICAgICAgICAgICAgIChuYW1lICJnbGMiKQogICAgICAgICAg ICAgICAgKGNvbW1lbnQgImcgbCBjIikKICAgICAgICAgICAgICAgIChncm91cCAidXNlcnMiKQog ICAgICAgICAgICAgICAgKHN1cHBsZW1lbnRhcnktZ3JvdXBzICcoIndoZWVsIikpCgkJKGhvbWUt ZGlyZWN0b3J5ICIvaG9tZS9nbGMiKSkKCiAgCSAgKHVzZXItYWNjb3VudAogICAgICAgICAgICAg ICAgKG5hbWUgImdsYzIiKQogICAgICAgICAgICAgICAgKGNvbW1lbnQgImdsYzIiKQogICAgICAg ICAgICAgICAgKGdyb3VwICJ1c2VycyIpCiAgICAgICAgICAgICAgICAoc3VwcGxlbWVudGFyeS1n cm91cHMgJygid2hlZWwiKSkKICAgICAgICAgICAgICAgIChob21lLWRpcmVjdG9yeSAiL2hvbWUv Z2xjMiIpKQoKCSAgKHVzZXItYWNjb3VudAogICAgICAgICAgICAgICAgKG5hbWUgImdsYzMiKQog ICAgICAgICAgICAgICAgKGNvbW1lbnQgImdsYzMiKQogICAgICAgICAgICAgICAgKGdyb3VwICJ1 c2VycyIpCiAgICAgICAgICAgICAgICAoc3VwcGxlbWVudGFyeS1ncm91cHMgJygid2hlZWwiKSkK ICAgICAgICAgICAgICAgIChob21lLWRpcmVjdG9yeSAiL2hvbWUvZ2xjMyIpKQoJICAKICAJICAo dXNlci1hY2NvdW50CiAgICAgICAgICAgICAgICAobmFtZSAiZ2xjNCIpCiAgICAgICAgICAgICAg ICAoY29tbWVudCAiZ2xjNCIpCiAgICAgICAgICAgICAgICAoZ3JvdXAgInVzZXJzIikKICAgICAg ICAgICAgICAgIChzdXBwbGVtZW50YXJ5LWdyb3VwcyAnKCJ3aGVlbCIpKQogICAgICAgICAgICAg ICAgKGhvbWUtZGlyZWN0b3J5ICIvaG9tZS9nbGM0IikpCgoJICAlYmFzZS11c2VyLWFjY291bnRz KSkKCiAgKHBhY2thZ2VzIChjb25zKgoJICAgICBnbGliYy11dGY4LWxvY2FsZXMKCSAgICAgcGFy dGVkCgkgICAgIG9wZW5zc2gKCSAgICAgcnN5bmMKCSAgICAgd2dldAoJICAgICBzY3JlZW4gdG11 eAoJICAgICBlbWFjcwoJICAgICBnaXQgZ2l0LW1hbnBhZ2VzIG1hZ2l0CgkgICAgIGN1cmwgOzsg bHBhc3RlCgkgICAgIHhhdXRoIDs7IFgxMQoJICAgICBuc3MtY2VydHMgOzsgZm9yIEhUVFBTIFRM UyBmb3IgZ2l0LCB3Z2V0LCB3M20pCgkgICAgICViYXNlLXBhY2thZ2VzCgkgICAgICkKCSAgICAp CgogIChzZXJ2aWNlcyAoY29ucyogKGRoY3AtY2xpZW50LXNlcnZpY2UpCiAgICAgICAgICAgICAg ICAgICAobHNoLXNlcnZpY2UgIzpwb3J0LW51bWJlciAyMikKICAgICAgICAgICAgICAgICAgICVi YXNlLXNlcnZpY2VzKSkpCg== --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 04:14:16 2016 Received: (at 22550) by debbugs.gnu.org; 7 Mar 2016 09:14:16 +0000 Received: from localhost ([127.0.0.1]:37316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acrF2-0001fq-0M for submit@debbugs.gnu.org; Mon, 07 Mar 2016 04:14:16 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:32844) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acrEz-0001fd-WD for 22550@debbugs.gnu.org; Mon, 07 Mar 2016 04:14:14 -0500 Received: by mail-lb0-f181.google.com with SMTP id k15so122946752lbg.0 for <22550@debbugs.gnu.org>; Mon, 07 Mar 2016 01:14:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=v8ZcL1im/jY9Q0M4zFqh8rx3QReEtQLWwH1dVApGLYk=; b=WHizCZixBlbQvZszhKuIYJxNBz6hBHWVUEIESWclMto3fk7q9IWXXIWi6nllVUtWAN RFCdvNDepC6swC9sPxsEBsFLU/ro98W01/5NHh6oR8ddHEL/BleHlws9+BIpW1UrqVwZ OcglMPuVHBNeqKPXxgSHwwlRAM1kmjDN94jj98jB+U2aGVwHbo+TLUUMe7FMB2VrbzzA +O864+m6/yRiryzKph21FUiBI39VkvJg684Ga/oWXvQ5xo0sFdrpJcKhv8VCGfiCOkb7 5UVod1vcG8fSzBqV/B/gGW6J0ElZG2wy5PPpmi7CaQvKjsYqDw06PnvRK4cDohOTY2WF W/eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=v8ZcL1im/jY9Q0M4zFqh8rx3QReEtQLWwH1dVApGLYk=; b=IUacF7Lb056E6y4TnrcbuEckmKtN80gtK5Dmw0v58UDa//sgXQRBIRpfjtGpPyifO1 s23rxvvAwfdk0DtFgO9rlXfd/fPkF65U8FSsNDFPrIFTCeMcy/lOYVvadjLmC+at+vd9 6I6KR5kog/mNN7spVGaaHE6S42DQxvubPK7a3DvsfFstmTOdx46tHo36hBZtZSNFWAxq 5z11NU1k0y+uHIHH7k4t90w/EgyLuIG+QeYdTRLAlik3SErpWwK2xZUmZneEa9xSqfaD iw8Mj2I4u9Iq0jiZ9o5cHNExXANVBSfF6vLohYwkHt2JFxi5F1/qRSg5SZu8t1gkf6xB AfKA== X-Gm-Message-State: AD7BkJLIsEAbQELwxkBRUF3JFsZXrJMWd/l5UVTLa57ROtSSVKBTcEdoMAgAsd7VM9jegg== X-Received: by 10.25.161.205 with SMTP id k196mr5815350lfe.61.1457342048053; Mon, 07 Mar 2016 01:14:08 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id s193sm2707242lfe.29.2016.03.07.01.14.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Mar 2016 01:14:07 -0800 (PST) From: Alex Kost To: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" References: <87egctdsb0.fsf@gmail.com> <87lh70vclr.fsf@gmail.com> <87lh7033q9.fsf@gmail.com> <87y4b0tfdn.fsf@gmail.com> <87pov764td.fsf@gmail.com> Date: Mon, 07 Mar 2016 12:14:19 +0300 In-Reply-To: <87pov764td.fsf@gmail.com> (myglc2@gmail.com's message of "Sun, 06 Mar 2016 09:47:58 -0500") Message-ID: <871t7mir9w.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) myglc2 (2016-03-06 17:47 +0300) wrote: > Alex Kost writes: > [...] >>> So, should I put ... >>> >>> '(guix-emacs-load-autoloads "/run/current-system/profile")' >>> >>> ... in init.el, in which case guix INFO should say so. >> >> Well, you can do it as a temporary workaround, but we'll fix it soon (I >> mean the system profile will also be inspected for emacs packages), so >> it will not be necessary in the closest future. > > Hi Alex. Tried removing this and got 'command-execute: Symbol's function > definition is void: magit-status' Shouldn't it be fixed by now? No, I mean it is fixed in the current master, but as I wrote=C2=B9 it will 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/package-= management.scm#n198 --=20 Alex From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 15:02:08 2016 Received: (at submit) by debbugs.gnu.org; 7 Mar 2016 20:02:09 +0000 Received: from localhost ([127.0.0.1]:38367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ad1M0-0002Se-MQ for submit@debbugs.gnu.org; Mon, 07 Mar 2016 15:02:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35863) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ad1Lz-0002SS-FS for submit@debbugs.gnu.org; Mon, 07 Mar 2016 15:02:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ad1Lr-0004er-BL for submit@debbugs.gnu.org; Mon, 07 Mar 2016 15:02:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad1Lr-0004en-8O for submit@debbugs.gnu.org; Mon, 07 Mar 2016 15:01:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad1Lm-0003Mp-4s for bug-guix@gnu.org; Mon, 07 Mar 2016 15:01:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ad1Li-0004e7-Uw for bug-guix@gnu.org; Mon, 07 Mar 2016 15:01:54 -0500 Received: from plane.gmane.org ([80.91.229.3]:57788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad1Li-0004dp-Nq for bug-guix@gnu.org; Mon, 07 Mar 2016 15:01:50 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ad1Ld-0007l1-5l for bug-guix@gnu.org; Mon, 07 Mar 2016 21:01:45 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2016 21:01:45 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2016 21:01:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" Date: Mon, 07 Mar 2016 15:03:38 -0500 Lines: 27 Message-ID: <87mvqadpid.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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-73-167-118-254.hsd1.ma.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:zaqObXbty+I7a+OX6XBQLwbK4bY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.2 (---) Alex Kost writes: [...] > No, I mean it is fixed in the current master, but as I wrote¹ it will > take effect only after we update our "guix" package. Currently it is > "guix-devel" package at commit c3f29bc², 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. > > ¹ http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22550#38 > ² http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/package-management.scm#n198 Thank you. Sorry you had to explain this twice :( I re-read your earlier posts. AIUI now, in order to use the latest guix emacs features from 'git checkout master' one must add to emacs init: (let ((dir "~/src/guix/emacs")) (add-to-list 'load-path dir) (setq guix-load-path dir) (require 'guix-init nil t)) Do you think we should we add that to (info "(guix) Building from Git") ? From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 08 04:25:47 2016 Received: (at 22550) by debbugs.gnu.org; 8 Mar 2016 09:25:47 +0000 Received: from localhost ([127.0.0.1]:38627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adDtj-0006BU-Kb for submit@debbugs.gnu.org; Tue, 08 Mar 2016 04:25:47 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:34678) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adDth-0006BG-7k for 22550@debbugs.gnu.org; Tue, 08 Mar 2016 04:25:45 -0500 Received: by mail-lb0-f181.google.com with SMTP id xr8so10692021lbb.1 for <22550@debbugs.gnu.org>; Tue, 08 Mar 2016 01:25:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=3AxqDH3E/ELTptFWGYHtXSWgktf9nuSk3GTW3TmyXxg=; b=Guo+SWIF+rtLKcraPxPL86UPva7ofqOlLME+hxPTmGN1WOK0eP96i0wehhbcuOXj4d b7Or5Z5GIZyFsQXX/P8mVtak1dZTjDB6wg8pwiJVNlW7RuV4sNy5FvK37zex20kFLByn l5j7NR1dp+vWgVbDan1nuZRoJPiTjUy+dtL6yfq539rekySP+As8GKN1unbR9pRSHppM nfUGvgp5lN9gWjxjQu7DoCzFFvgCJs7waEHiLWVnBmJ/Nu/FUnJrYO7xMSZrQnmXLy7x F/sLBP95oeGUSwhpzgYcsWJwaxr99EyVU1B1zNJXaH7tYdc3sLdXOt05PlQbyPyvCKS3 uNbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=3AxqDH3E/ELTptFWGYHtXSWgktf9nuSk3GTW3TmyXxg=; b=DuXQlgovX4IJ+5Oj6T2Mm59k4jfVDbvma/Gh9OfwIwF1+qshjmNpPRQ9OL4W9qma8l J3KWuCCtMEi/9PXusyW3CgjrPmVi0eJ3tc91ZOfzjLjwtbAdYAobFyMLRhj7Dfp2DbTW Pf04WBjhvjf412mD0dN/0anJTli9gcaWa8yckwLhbPioeFldEVAtK46RHPd84B+XAN6m fJAlG3R/mSVPrcEn3AUmnD3Oqxe+1zFt41pReDN4yFh7nrSL8YtKtgndSkWrxyuweYxR ETFdZzN7gnVBnPisN+SDDZXoq2dAsauFVy6RrSUQo9YAikLIshlpQOU28kAv4VfcQkA+ yjtA== X-Gm-Message-State: AD7BkJIKpygPcABVGGrRFFDDPOSzCoQIeAlGjjq7BMd0D2yjBNlAKxs/gO/2Xv0aBchwFg== X-Received: by 10.25.40.81 with SMTP id o78mr2987630lfo.22.1457429139207; Tue, 08 Mar 2016 01:25:39 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id eb3sm309092lbc.31.2016.03.08.01.25.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Mar 2016 01:25:38 -0800 (PST) From: Alex Kost To: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" 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> <87mvqadpid.fsf@gmail.com> Date: Tue, 08 Mar 2016 12:25:50 +0300 In-Reply-To: <87mvqadpid.fsf@gmail.com> (myglc2@gmail.com's message of "Mon, 07 Mar 2016 15:03:38 -0500") Message-ID: <87r3flmich.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) myglc2 (2016-03-07 23:03 +0300) wrote: > Alex Kost writes: > > [...] > >> 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/package-mana= gement.scm#n198 > > Thank you. Sorry you had to explain this twice :( > > I re-read your earlier posts. AIUI now, in order to use the latest guix > emacs features from 'git checkout master' one must add to emacs init: > > (let ((dir "~/src/guix/emacs")) > (add-to-list 'load-path dir) > (setq guix-load-path dir) > (require 'guix-init nil t)) Yes, this is the recommended way of setting it up. It is described in (info "(guix) Emacs Initial Setup"). > Do you think we should we add that to (info "(guix) Building from Git") ?= =20 Since it is already described in the other section, it shouldn't be duplicated, but we can add a cross reference, not into "Building from Git" though, maybe to (info "(guix) The Perfect Setup") --=20 Alex From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 08 08:47:31 2016 Received: (at submit) by debbugs.gnu.org; 8 Mar 2016 13:47:31 +0000 Received: from localhost ([127.0.0.1]:38737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adHz1-0005Sh-0c for submit@debbugs.gnu.org; Tue, 08 Mar 2016 08:47:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33838) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adHyz-0005SU-4a for submit@debbugs.gnu.org; Tue, 08 Mar 2016 08:47:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adHyr-0002jE-02 for submit@debbugs.gnu.org; Tue, 08 Mar 2016 08:47:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adHyq-0002jA-T1 for submit@debbugs.gnu.org; Tue, 08 Mar 2016 08:47:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adHyl-0004bp-5b for bug-guix@gnu.org; Tue, 08 Mar 2016 08:47:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adHyh-0002hS-Ve for bug-guix@gnu.org; Tue, 08 Mar 2016 08:47:15 -0500 Received: from plane.gmane.org ([80.91.229.3]:59644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adHyh-0002hM-PJ for bug-guix@gnu.org; Tue, 08 Mar 2016 08:47:11 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1adHyg-0006FS-5D for bug-guix@gnu.org; Tue, 08 Mar 2016 14:47:10 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2016 14:47:10 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2016 14:47:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" Date: Tue, 08 Mar 2016 08:49:10 -0500 Lines: 48 Message-ID: <871t7lulk9.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> <87mvqadpid.fsf@gmail.com> <87r3flmich.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-73-167-118-254.hsd1.ma.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:HYlsgg9kfqXLHD8bUMRdJihjLi0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.2 (---) Alex Kost writes: > myglc2 (2016-03-07 23:03 +0300) wrote: > >> Alex Kost writes: >> >> [...] >> >>> No, I mean it is fixed in the current master, but as I wrote¹ it will >>> take effect only after we update our "guix" package. Currently it is >>> "guix-devel" package at commit c3f29bc², 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. >>> >>> ¹ http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22550#38 >>> ² >>> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/package-management.scm#n198 >> >> Thank you. Sorry you had to explain this twice :( >> >> I re-read your earlier posts. AIUI now, in order to use the latest guix >> emacs features from 'git checkout master' one must add to emacs init: >> >> (let ((dir "~/src/guix/emacs")) >> (add-to-list 'load-path dir) >> (setq guix-load-path dir) >> (require 'guix-init nil t)) > > Yes, this is the recommended way of setting it up. It is described in > (info "(guix) Emacs Initial Setup"). > >> Do you think we should we add that to (info "(guix) Building from Git") ? > > Since it is already described in the other section, it shouldn't be > duplicated, but we can add a cross reference, not into "Building from > Git" though, maybe to (info "(guix) The Perfect Setup") Then you need to also fix the intro paragraph which says (emphasis added): "On the Guix System Distribution (*note GNU Distribution::), “guix.el” is ready to use [...] So [...] you can happily SKIP THIS SECTION [...]" Since I am using GuixSD I have always skipped this section. That is why you have had to explain this twice to me. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 09 05:58:15 2016 Received: (at 22550) by debbugs.gnu.org; 9 Mar 2016 10:58:15 +0000 Received: from localhost ([127.0.0.1]:40538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adbok-0000IG-UQ for submit@debbugs.gnu.org; Wed, 09 Mar 2016 05:58:15 -0500 Received: from mail-lb0-f176.google.com ([209.85.217.176]:33754) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adboj-0000I1-Qz for 22550@debbugs.gnu.org; Wed, 09 Mar 2016 05:58:14 -0500 Received: by mail-lb0-f176.google.com with SMTP id k15so59937569lbg.0 for <22550@debbugs.gnu.org>; Wed, 09 Mar 2016 02:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=X9DxJFSCUNHOAiuqtAzACHGF5cMe4AokpAB3gmZBRKo=; b=BLAwHP12sTlZwr9wluH/VgMuHA+LLXrPerfIobZAQ91m5x2VktV+W0tRUNC1XjS3nm iNlV+M5xICsQSpI1XdIYM7jydVK8RiIG14mjtZfOsYd3/NZWeZr+wYcrn1YM7rPv2dK9 B3gCfpmfJLfR6Nf/fPVMYO/Ak7ObcN6JOSx3+NDFl+IMnr2teNwSDhgy0u4O2ECBIBVk heNR0oRBfjtkZRajZ07tPPrYyv69869g4SYb4CPfTy6Wrf/7E9O4DCtCbeuPwa5zAUCC 5Erw+9ARouxzkp8cqnlUU9CLfvP47Z8zGQ7BC3fRx18lUXkyT4dBiPKDZlT8kykRDx/m 61EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=X9DxJFSCUNHOAiuqtAzACHGF5cMe4AokpAB3gmZBRKo=; b=SIOE4nsjJEGVBORR5+IaP8LcT5w+wTdwNxKEhdfjNgFMmljk5r5KOw4iHusIyRx5hb cwqZbbKd0EtIFsrKsMnTeatIB7b6yBVJoes9Mx/k27nlOZPCZdG3elXIzRfnhPWHErbs Z5BLD2jm7FW5cZJ2TlzJLIK/vDgM3TJYa28NMCO8htRsGEmRf7ijZQCPdd8+oZJFoH/v cRX5dM8NDt4FlW5usCoxbfbzZY3EmY3pHe4hBEvKLC4uABZLPLuhgky1St5F55KAxZsp ZrZz6CxtSRz94SyweJl7437fz52RZu2mkVpiwTSLTJo0ux1heCRbR7ptTUtXw9C4BeSt p1TA== X-Gm-Message-State: AD7BkJIiyqAYPSQDJaBiO/aPrk/4qXWxoQ8gClIvvrVkR7QtgV8Em7aRRDW19T2qkMHNng== X-Received: by 10.112.166.100 with SMTP id zf4mr11219907lbb.58.1457521087839; Wed, 09 Mar 2016 02:58:07 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id rk1sm1242165lbb.0.2016.03.09.02.58.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Mar 2016 02:58:07 -0800 (PST) From: Alex Kost To: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" 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> <87mvqadpid.fsf@gmail.com> <87r3flmich.fsf@gmail.com> <871t7lulk9.fsf@gmail.com> Date: Wed, 09 Mar 2016 13:58:21 +0300 In-Reply-To: <871t7lulk9.fsf@gmail.com> (myglc2@gmail.com's message of "Tue, 08 Mar 2016 08:49:10 -0500") Message-ID: <87mvq7ncj6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) myglc2 (2016-03-08 16:49 +0300) wrote: > Alex Kost writes: > >> myglc2 (2016-03-07 23:03 +0300) wrote: >> [...] >>> I re-read your earlier posts. AIUI now, in order to use the latest guix >>> emacs features from 'git checkout master' one must add to emacs init: >>> >>> (let ((dir "~/src/guix/emacs")) >>> (add-to-list 'load-path dir) >>> (setq guix-load-path dir) >>> (require 'guix-init nil t)) >> >> Yes, this is the recommended way of setting it up. It is described in >> (info "(guix) Emacs Initial Setup"). >> >>> Do you think we should we add that to (info "(guix) Building from Git")= ?=20 >> >> Since it is already described in the other section, it shouldn't be >> duplicated, but we can add a cross reference, not into "Building from >> Git" though, maybe to (info "(guix) The Perfect Setup") > > Then you need to also fix the intro paragraph which says (emphasis > added): I don't agree, this intro paragraph is (should be in theory) correct. > "On the Guix System Distribution (*note GNU Distribution::), =E2=80=9Cgui= x.el=E2=80=9D > is ready to use [...] So [...] you can happily SKIP THIS SECTION [...]" > > Since I am using GuixSD I have always skipped this section. That is why > you have had to explain this twice to me. It's just that no one tried to use system profile for adding emacs packages before you, but this case will be handled in the next release, so I think this part of the manual shouldn't be changed. --=20 Alex From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 09 09:45:40 2016 Received: (at submit) by debbugs.gnu.org; 9 Mar 2016 14:45:40 +0000 Received: from localhost ([127.0.0.1]:40653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adfMq-0007Kp-Lj for submit@debbugs.gnu.org; Wed, 09 Mar 2016 09:45:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50974) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adfMo-0007Kc-TJ for submit@debbugs.gnu.org; Wed, 09 Mar 2016 09:45:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adfMf-0006yU-S8 for submit@debbugs.gnu.org; Wed, 09 Mar 2016 09:45:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adfMf-0006yP-IV for submit@debbugs.gnu.org; Wed, 09 Mar 2016 09:45:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adfMe-0000BF-J4 for bug-guix@gnu.org; Wed, 09 Mar 2016 09:45:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adfMZ-0006vy-FD for bug-guix@gnu.org; Wed, 09 Mar 2016 09:45:28 -0500 Received: from plane.gmane.org ([80.91.229.3]:38266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adfMZ-0006ul-8v for bug-guix@gnu.org; Wed, 09 Mar 2016 09:45:23 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1adfMX-0000kx-BH for bug-guix@gnu.org; Wed, 09 Mar 2016 15:45:21 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Mar 2016 15:45:21 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Mar 2016 15:45:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" Date: Wed, 09 Mar 2016 09:47:11 -0500 Lines: 48 Message-ID: <87y49rd7yo.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> <87mvqadpid.fsf@gmail.com> <87r3flmich.fsf@gmail.com> <871t7lulk9.fsf@gmail.com> <87mvq7ncj6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-73-167-118-254.hsd1.ma.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:6RWa8zOcaI2IElEnCtOd8SDfH+s= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.2 (---) Alex Kost writes: > myglc2 (2016-03-08 16:49 +0300) wrote: > >> Alex Kost writes: >> >>> myglc2 (2016-03-07 23:03 +0300) wrote: >>> > [...] >>>> I re-read your earlier posts. AIUI now, in order to use the latest guix >>>> emacs features from 'git checkout master' one must add to emacs init: >>>> >>>> (let ((dir "~/src/guix/emacs")) >>>> (add-to-list 'load-path dir) >>>> (setq guix-load-path dir) >>>> (require 'guix-init nil t)) >>> >>> Yes, this is the recommended way of setting it up. It is described in >>> (info "(guix) Emacs Initial Setup"). >>> >>>> Do you think we should we add that to (info "(guix) Building from Git") ? >>> >>> Since it is already described in the other section, it shouldn't be >>> duplicated, but we can add a cross reference, not into "Building from >>> Git" though, maybe to (info "(guix) The Perfect Setup") >> >> Then you need to also fix the intro paragraph which says (emphasis >> added): > > I don't agree, this intro paragraph is (should be in theory) correct. > >> "On the Guix System Distribution (*note GNU Distribution::), “guix.el” >> is ready to use [...] So [...] you can happily SKIP THIS SECTION [...]" >> >> Since I am using GuixSD I have always skipped this section. That is why >> you have had to explain this twice to me. > > It's just that no one tried to use system profile for adding emacs > packages before you, but this case will be handled in the next release, > so I think this part of the manual shouldn't be changed. You are are assuming that I am running emacs in the system profile. Meanwhile "tricky george" stopped trying to swim upstream and installed emacs in the user profile :O. Based on running both ways I still believe this needs attention. But I am badly off the topic of the original bug so I will put it in a new post. I do apologize for the run-around. Many thanks! - George From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 24 12:20:53 2016 Received: (at 22550) by debbugs.gnu.org; 24 Mar 2016 16:20:54 +0000 Received: from localhost ([127.0.0.1]:36362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aj80D-0000O6-Nt for submit@debbugs.gnu.org; Thu, 24 Mar 2016 12:20:53 -0400 Received: from mail-lb0-f182.google.com ([209.85.217.182]:34438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aj80C-0000Nt-76 for 22550@debbugs.gnu.org; Thu, 24 Mar 2016 12:20:52 -0400 Received: by mail-lb0-f182.google.com with SMTP id k12so34376474lbb.1 for <22550@debbugs.gnu.org>; Thu, 24 Mar 2016 09:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=WMAGHmsbKWEirA/QTnmaCboPiDNXElm845cATCxBuXY=; b=lG4WDdMQJxOX65O/rk5IsJacGKBWJG5ljmnsa5/cUMA5nFSN3XEU4JUv4YKFIW8FUl 05HBxMGKGjgUHmz+h10yfbkYLNPGSmP46VNfpPqV3eRm2svJ5bYPrlbm55iBSptQ0C3+ it6THOsuP/ScItN8K0IGdHJZThHvPgVD+wB5eMutToywpT2SjgK6Zqqb1d3YnBM+XlS7 7CLQ6G85weYSKV+ulxHb47CAwl+cS3CrqV48XmPxym417oKj358DY9/GEj38YDhTWu7T dy8IG07m7gMFdTmymw6cxdI6ZEWa4t9K+0RwNxl4eQ4oouvA9Tw94+JxGtsqNEathsTA OxlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=WMAGHmsbKWEirA/QTnmaCboPiDNXElm845cATCxBuXY=; b=bDaZmpNlh25WSfsOK0nU6FTxSHWggziUBgdj7nwAElu5ZYn3u2ingbbEn+jU/Cr7u3 qjJt+V0s3jwsw0W/o+pjzgFvRTngj0GPvqtOUmBkjFVZaVx8nlTPZUVIzRsnDfT6ycCz SLb9hpSX0uZeYKTkMF6JHNuBXt+Ef59AlYwKqWq+aPrAGzh29zMxzGMaN0D+tgruqx/G 58Z4UL86djc/GW2VDuWqYvmmT4H83LxdA0JBCVgfZNRoAmuGQbhi7CoezKIUtBrb2+7h XHfDxF31VgLMLNQupGwD2aSacFB5mZtY/+I+qiBMzd9bdJdle4FdNAzuZeK2f9cBB/ur z1/Q== X-Gm-Message-State: AD7BkJLu3Jbxdwm6Av0aob3JX/O0ED/AFhVko3dxbPZKb4xHVB1GXp8YQFrSr6Atboew5Q== X-Received: by 10.112.210.200 with SMTP id mw8mr3827376lbc.16.1458836446174; Thu, 24 Mar 2016 09:20:46 -0700 (PDT) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id qn2sm1282794lbb.49.2016.03.24.09.20.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Mar 2016 09:20:45 -0700 (PDT) From: Alex Kost To: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" 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> Date: Thu, 24 Mar 2016 19:20:48 +0300 In-Reply-To: <871t7mir9w.fsf@gmail.com> (Alex Kost's message of "Mon, 07 Mar 2016 12:14:19 +0300") Message-ID: <87lh57n8yn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Alex Kost (2016-03-07 12:14 +0300) wrote: > myglc2 (2016-03-06 17:47 +0300) wrote: > >> Alex Kost writes: >> [...] >>>> So, should I put ... >>>> >>>> '(guix-emacs-load-autoloads "/run/current-system/profile")' >>>> >>>> ... in init.el, in which case guix INFO should say so. >>> >>> Well, you can do it as a temporary workaround, but we'll fix it soon (I >>> mean the system profile will also be inspected for emacs packages), so >>> it will not be necessary in the closest future. >> >> Hi Alex. Tried removing this and got 'command-execute: Symbol's function >> definition is void: magit-status' Shouldn't it be fixed by now? > > No, I mean it is fixed in the current master, but as I wrote=C2=B9 it will > 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/packag= e-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=3D092dd6541fc75= ed19ebbb1f9d8e6f32a88cb3445 --=20 Alex From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 11:20:54 2016 Received: (at 22550) by debbugs.gnu.org; 25 Mar 2016 15:20:55 +0000 Received: from localhost ([127.0.0.1]:37984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajTXi-0006ee-Mj for submit@debbugs.gnu.org; Fri, 25 Mar 2016 11:20:54 -0400 Received: from mail-qg0-f54.google.com ([209.85.192.54]:35005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajTXh-0006eQ-1M for 22550@debbugs.gnu.org; Fri, 25 Mar 2016 11:20:53 -0400 Received: by mail-qg0-f54.google.com with SMTP id y89so63146792qge.2 for <22550@debbugs.gnu.org>; Fri, 25 Mar 2016 08:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=RmQu3auPWtalxwsrmk0ituxQINNzwjcy2Moq/fNr9G4=; b=vjkpB1c7VuDHN+8TxfCZoFwY03i39zQRV6eIMqCoMtGz1FydEBBHpUiOSTSptd5nus 24bMhRBqwDMo3IssoVsXdSxJwK6Zuymt80SmeLWY0FAzT9+FISrS3v6mArnO1yj3z+D8 dfiOlNkJow3Og4KR2/IzK86Q7XpoYFC5ysjSU6CgFY65pfUoUnbpMKlI1oqdJC/U/8kg GzClAs1sHEJqbBAitAOgHYPODlXZpdh1wcweU1dkWVCA//rKG6hTLapOMZVIuTtunaDY 4njBp330iShB3Q0vxwlaak5SYk2CvptoDtMoH6XrLPZD56wg2w0KXmAg1LZjJBOkY86E j3vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=RmQu3auPWtalxwsrmk0ituxQINNzwjcy2Moq/fNr9G4=; b=WPVnaNzH+RaD6n6P84a+EW0PZHDqFMb3JZxuiGPk+LpuZ2mD0LwWUKbKeXB47mGnrl vQJ40NSZRGdNn+TnTMgJTc4RfRPaLE+5eitNP8JspID/tPKezlxhIvguO2JbhUE8NMLy 2P7Ig1LOzb9biWcZYuR9TvUssTffF0lyMO0zfGmwEsCRYfBmxB+V/pdhit4+npxhfhMw BI09t3MMiWibsSoOJ2zvaOmgGryyYkR7vIyQ4TvrJLAN+VcTVGcTfzJl8HQo1/5gfBSE 70MEA98A0zEf0lpqrmueibF7vRfoFp+yB4+orC6LDDk30vcfXTA8mqm3eVwGvxKW6FhR IL5A== X-Gm-Message-State: AD7BkJJnqL1RBe3W6jeXUBtdWSHkA4mx/8G/e0V38HMhA0TvwSIrVsOmo/bq0hwvOIlrQw== X-Received: by 10.140.16.165 with SMTP id 34mr17906993qgb.79.1458919247497; Fri, 25 Mar 2016 08:20:47 -0700 (PDT) Received: from e3b.local (c-73-167-118-254.hsd1.ma.comcast.net. [73.167.118.254]) by smtp.gmail.com with ESMTPSA id w188sm5492717qhb.37.2016.03.25.08.20.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Mar 2016 08:20:46 -0700 (PDT) From: myglc2 To: Alex Kost Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" 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> Date: Fri, 25 Mar 2016 11:20:39 -0400 In-Reply-To: <87lh57n8yn.fsf@gmail.com> (Alex Kost's message of "Thu, 24 Mar 2016 19:20:48 +0300") Message-ID: <86vb4azirc.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 20:08:23 2016 Received: (at 22550) by debbugs.gnu.org; 26 Mar 2016 00:08:23 +0000 Received: from localhost ([127.0.0.1]:38158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajbmB-0005zu-7f for submit@debbugs.gnu.org; Fri, 25 Mar 2016 20:08:23 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:33951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajbm9-0005zg-Gy for 22550@debbugs.gnu.org; Fri, 25 Mar 2016 20:08:21 -0400 Received: by mail-lf0-f47.google.com with SMTP id c62so59601014lfc.1 for <22550@debbugs.gnu.org>; Fri, 25 Mar 2016 17:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=JsItoUel78iYDyHqv+hgOwNFXTTOvELxRgEmFANjFlg=; b=Bcs8osAilhLwGLn0Csy2iUpjxpJ/iWyrHMbUabxuXDREhOdUeMmFkxuy0mygWEou7B kYk8u30ZlLrsNj6gcngn3liBukPO2B3DoigV5wVpLk6mIm1WD4Tk/5tbo57WdHrGkow1 Kb5UJS/DDPxOsNf+tNuczCVUfFaFdhv1Q5GC4P+1xCRgomepZigjp3oC3kl+Uwf9rEM2 zyvKs+VUJGb1klAoZBn3NmGepPUs+FRvv/q7Kfvk+RtEtlOxHv1HmCh1h9kB3DVsYsEj JKPhSNe2AcbWq+5DgUY909KXxymHCjoxkn+lf7X1LzrmNv/2ygp6fXd5iwa4WtNnFK4y O0qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=JsItoUel78iYDyHqv+hgOwNFXTTOvELxRgEmFANjFlg=; b=IquCij5DIue707NEYpQMLpZCsckSYxYyCKp2+sXad8Efv8jB78D6lokdKETSzkkXhV N8KoHEShFeqWZ3zwheZotacLAg51hUhSeGLMU0GSEjGOcE6ZEWLLw+kxhrR3NPjU1R4C 6dzbwOG/wq8re/wSEShtG3t1oe2JMJJXGJrqS1RY2+OteHg2aqXsSWqUqq0CsRVD2k5C o4km701Av9CaG0d6XUk05CLkW9nM30JkGCQHJjpifoW5jend8GzXLq8pdAJZgCebmn/4 yXurGpp0Cxfbx8HlQVZluq4YXW0UUDA3ZmR/a9B5VXf0n9Dp4OpY66qTdvnZrDpNKFUX Masw== X-Gm-Message-State: AD7BkJJiTDUMz1/s4YkP/bUyzLlUJ6ZY+r6v7LowzAxeRJqG4RJrLS/lrAeKxO7COXwdTw== X-Received: by 10.25.26.83 with SMTP id a80mr6484940lfa.36.1458950895441; Fri, 25 Mar 2016 17:08:15 -0700 (PDT) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id td7sm2227290lbb.6.2016.03.25.17.08.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Mar 2016 17:08:14 -0700 (PDT) From: Alex Kost To: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" 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> <86vb4azirc.fsf@gmail.com> Date: Sat, 26 Mar 2016 03:08:14 +0300 In-Reply-To: <86vb4azirc.fsf@gmail.com> (myglc2@gmail.com's message of "Fri, 25 Mar 2016 11:20:39 -0400") Message-ID: <87pouixfrl.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22550 Cc: 22550@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) myglc2 (2016-03-25 18:20 +0300) wrote: > Alex Kost writes: [...] >> 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=3D092dd6541f= c75ed19ebbb1f9d8e6f32a88cb3445 > > 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) Use (require 'guix-autoloads nil t) instead. Nowadays, the only thing 'guix-init' does is it requires 'guix-autoloads'. > ;; 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") I have no idea what it is used for (I don't have this setting in my emacs config), but "-b" is probably should not be specified here. If you do: 1. M-: (require 'ediff-ptch) 2. C-h v ediff-patch-options you'll see a note about "-b" option. The rest looks good to me, I use pretty much the same configurations to set up Guix (and emacs stuff) from git. --=20 Alex From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 22:51:49 2016 Received: (at submit) by debbugs.gnu.org; 26 Mar 2016 02:51:49 +0000 Received: from localhost ([127.0.0.1]:38212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajeKL-0003Wz-Ka for submit@debbugs.gnu.org; Fri, 25 Mar 2016 22:51:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajeKK-0003Wn-50 for submit@debbugs.gnu.org; Fri, 25 Mar 2016 22:51:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajeKE-0002Tu-Dw for submit@debbugs.gnu.org; Fri, 25 Mar 2016 22:51:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajeKE-0002Tn-Ad for submit@debbugs.gnu.org; Fri, 25 Mar 2016 22:51:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajeKD-0006Zm-Fa for bug-guix@gnu.org; Fri, 25 Mar 2016 22:51:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajeKA-0002Pn-8L for bug-guix@gnu.org; Fri, 25 Mar 2016 22:51:41 -0400 Received: from plane.gmane.org ([80.91.229.3]:51447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajeKA-0002OF-1S for bug-guix@gnu.org; Fri, 25 Mar 2016 22:51:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ajeK6-0008E9-AL for bug-guix@gnu.org; Sat, 26 Mar 2016 03:51:34 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Mar 2016 03:51:34 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Mar 2016 03:51:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: myglc2 Subject: Re: bug#22550: (require 'magit) produces error: "no such file or directory" "dash" Date: Fri, 25 Mar 2016 22:51:20 -0400 Lines: 17 Message-ID: <86fuvegdef.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> <86vb4azirc.fsf@gmail.com> <87pouixfrl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-73-167-118-254.hsd1.ma.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:US2u6ZqyQJmG47Z4pMulPrg7j/g= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Alex Kost writes: > myglc2 (2016-03-25 18:20 +0300) wrote: > [...] > > Use (require 'guix-autoloads nil t) instead. Nowadays, the only thing > 'guix-init' does is it requires 'guix-autoloads'. > [...] > > The rest looks good to me, I use pretty much the same configurations to > set up Guix (and emacs stuff) from git. Thank you Alex. I promise not to post any more on this bug ;) Best, George From unknown Tue Jun 24 15:38:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Apr 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator