bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-03-25 Thread myglc2
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

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-03-25 Thread Alex Kost
myglc2 (2016-03-25 18:20 +0300) wrote: > Alex Kost writes: [...] >> This issue should be completely fixed now (after commit 092dd65¹). >> (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 Emac

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-03-25 Thread myglc2
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¹ it will >> take effect only after we update our "guix" package. Currently it is >> "guix-devel" package at commit

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-03-24 Thread Alex Kost
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

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-03-09 Thread myglc2
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:

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-03-09 Thread Alex Kost
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/emac

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-03-08 Thread myglc2
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

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-03-08 Thread Alex Kost
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 >> 004ea6

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-03-07 Thread myglc2
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 "gu

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-03-07 Thread Alex Kost
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

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-03-06 Thread myglc2
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 inspecte

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-09 Thread Alex Kost
Ludovic Courtès (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

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-08 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (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 t

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-08 Thread Alex Kost
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¹. However, it will take eff

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-07 Thread myglc2
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

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-07 Thread Alex Kost
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

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-07 Thread Alex Kost
Ludovic Courtès (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"

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-06 Thread Ludovic Courtès
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 'gu

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-05 Thread Alex Kost
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 t

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-05 Thread myglc2
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 >

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-05 Thread Alex Kost
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 "/r

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-04 Thread myglc2
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 th

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-04 Thread Alex Kost
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=/etc/emacs/site-start.el > glc4@g1 ~$ emacs No, no, it is expected; I meant ":/etc/emacs" is the default value, sorry for the confusio

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-04 Thread myglc2
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 ... >> >> V >> (add-to-list 'load-path "/run/current-system/pr

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-04 Thread Alex Kost
myglc2 (2016-02-04 07:15 +0300) wrote: > with magit installed on guixSD following the config shown further below. > > With init.el containing ... > > V > (add-to-list 'load-path "/run/current-system/profile/share/emacs/site-lisp")

bug#22550: (require 'magit) produces error: "no such file or directory" "dash"

2016-02-03 Thread myglc2
with magit installed on guixSD following the config shown further below. With init.el containing ... V (add-to-list 'load-path "/run/current-system/profile/share/emacs/site-lisp") (require 'guix-init nil t) ^^