Re: Howto run guix.el correctly?

2014-12-02 Thread Alex Kost
Ludovic Courtès (2014-12-02 11:39 +0300) wrote: > Alex Kost skribis: > >> Ludovic Courtès (2014-12-01 15:49 +0300) wrote: >> >>> Alex Kost skribis: >> >> [...] Thanks, I have created "wip-emacs-packages" branch: the elisp code is ready, so now I'm going to walk through existing emacs p

Re: Howto run guix.el correctly?

2014-12-02 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-12-01 15:49 +0300) wrote: > >> Alex Kost skribis: > > [...] >>> Thanks, I have created "wip-emacs-packages" branch: the elisp code is >>> ready, so now I'm going to walk through existing emacs packages in order >>> to add “…-autoloads.el” to each one. >

Re: Howto run guix.el correctly?

2014-12-01 Thread Alex Kost
Federico Beffa (2014-12-01 20:15 +0300) wrote: > AFAIU the initialization of each package is already defined inside each > package by the author. The way emacs's packaging infrastructure works > goes along the lines (see (elisp) Packaging Basics): > > * At installation: > > - Search every Lisp f

Re: Howto run guix.el correctly?

2014-12-01 Thread Alex Kost
Ludovic Courtès (2014-12-01 15:49 +0300) wrote: > Alex Kost skribis: [...] >> Thanks, I have created "wip-emacs-packages" branch: the elisp code is >> ready, so now I'm going to walk through existing emacs packages in order >> to add “…-autoloads.el” to each one. > > I just browsed it, and it lo

Re: Howto run guix.el correctly?

2014-12-01 Thread Federico Beffa
l...@gnu.org (Ludovic Courtès) writes: > Alex Kost skribis: > >> Ludovic Courtès (2014-11-27 01:41 +0300) wrote: > > [...] > The problem is that I don't understand what these %standard-emacs-phases should be, >>> >>> (define %standard-emacs-phases >>> (alist-cons-after >>>'install

Re: Howto run guix.el correctly?

2014-12-01 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-11-27 01:41 +0300) wrote: [...] >>> The problem is that I don't understand what these %standard-emacs-phases >>> should be, >> >> (define %standard-emacs-phases >> (alist-cons-after >>'install 'post-install >>(lambda* (#:key outputs #:allow-o

Re: Howto run guix.el correctly?

2014-12-01 Thread Alex Kost
Ludovic Courtès (2014-11-27 01:41 +0300) wrote: > Alex Kost skribis: [...] >>> Actually, since it’s going to be used in most packages, what about >>> adding an ‘install-autoloads’ procedure in (guix build emacs-utils)? >>> So the above would become >>> >>> (alist-cons-after >>>'install 'po

Re: Howto run guix.el correctly?

2014-11-26 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-11-26 19:23 +0300) wrote: [...] >>> +(arguments >>> + '(#:phases (alist-cons-after >>> + 'install 'post-install >>> + (lambda* (#:key outputs #:allow-other-keys) >>> + (symlink "geiser-install.e

Re: Howto run guix.el correctly?

2014-11-26 Thread Alex Kost
Ludovic Courtès (2014-11-26 19:23 +0300) wrote: > Alex Kost skribis: > >> As I wrote at >> , I >> see the only way to achieve that: >> >> - to modify emacs package recipes so that they will provide some files >> with all requir

Re: Howto run guix.el correctly?

2014-11-26 Thread Alex Kost
Adam Pribyl (2014-11-23 00:04 +0300) wrote: > On Sat, 22 Nov 2014, Alex Kost wrote: > >> Adam Pribyl (2014-11-22 01:28 +0300) wrote: >> >>> I have folloed the instruction in >>> http://www.gnu.org/software/guix/manual/guix.html#Emacs-Interface >>> to get the emacs interface for guix, but there is

Re: Howto run guix.el correctly?

2014-11-26 Thread Ludovic Courtès
Alex Kost skribis: > As I wrote at > , I > see the only way to achieve that: > > - to modify emacs package recipes so that they will provide some files > with all required initial configuration (and to name such file > "…-aut

Re: Howto run guix.el correctly?

2014-11-25 Thread Alex Kost
Ludovic Courtès (2014-11-24 23:42 +0300) wrote: > Alex Kost skribis: > >> No need to fiddle with ‘geiser-scheme-dir’: it should be set properly if >> you have ‘(require 'geiser-install)’ in your emacs config. > > Oops, indeed, PEBKAC: I was just unaware of ‘geiser-install’, and > everything was f

Re: Howto run guix.el correctly?

2014-11-24 Thread Ludovic Courtès
Alex Kost skribis: > No need to fiddle with ‘geiser-scheme-dir’: it should be set properly if > you have ‘(require 'geiser-install)’ in your emacs config. Oops, indeed, PEBKAC: I was just unaware of ‘geiser-install’, and everything was fine when I used Geiser from ELPA because that happens autom

Re: Howto run guix.el correctly?

2014-11-22 Thread Alex Kost
Ludovic Courtès (2014-11-23 01:17 +0300) wrote: > David Thompson skribis: > >> I am experiencing the exact same issue. If you check *Guix REPL*, >> you'll see that compiling 'guix-main.scm' fails for some reason. Not >> sure why. I gave up on it for now. > > Can you try ,bt and ,error in there

Re: Howto run guix.el correctly?

2014-11-22 Thread Ludovic Courtès
David Thompson skribis: > I am experiencing the exact same issue. If you check *Guix REPL*, > you'll see that compiling 'guix-main.scm' fails for some reason. Not > sure why. I gave up on it for now. Can you try ,bt and ,error in there? Most likely, either Geiser’s or Guix’s Scheme modules a

Re: Howto run guix.el correctly?

2014-11-22 Thread David Thompson
Adam Pribyl writes: > (add-to-list 'load-path > "/gnu/store/ysh4fvnxr0p8xrphcikivpafgvf6g18m-guix-0.8/share/emacs/site-lisp/") > (add-to-list 'load-path "~/.guix-profile/share/emacs/site-lisp") > (require 'geiser-install) > (require 'guix-init) > > Reason for the /gnu/store path is, that guix.el

Re: Howto run guix.el correctly?

2014-11-22 Thread Adam Pribyl
On Sat, 22 Nov 2014, Alex Kost wrote: Adam Pribyl (2014-11-22 01:28 +0300) wrote: I have folloed the instruction in http://www.gnu.org/software/guix/manual/guix.html#Emacs-Interface to get the emacs interface for guix, but there is something missing probably. Installation of emacs and geiser

Re: Howto run guix.el correctly?

2014-11-22 Thread Alex Kost
Adam Pribyl (2014-11-22 01:28 +0300) wrote: > I have folloed the instruction in > http://www.gnu.org/software/guix/manual/guix.html#Emacs-Interface > to get the emacs interface for guix, but there is something missing > probably. > > Installation of emacs and geiser was OK, I changed the path to g

Re: Howto run guix.el correctly?

2014-11-22 Thread Alex Kost
Ludovic Courtès (2014-11-22 13:52 +0300) wrote: > Alex Kost skribis: > >> Did you install geiser with guix? If so, you probably need to add >> "~/.guix-profile/share/emacs/site-lisp" to `load-path'. > > Yes, and also something like: > > (setq-default geiser-guile-load-path (list geiser-scheme-

Re: Howto run guix.el correctly?

2014-11-22 Thread Ludovic Courtès
Alex Kost skribis: > Did you install geiser with guix? If so, you probably need to add > "~/.guix-profile/share/emacs/site-lisp" to `load-path'. Yes, and also something like: (setq-default geiser-guile-load-path (list geiser-scheme-dir)) We should find a way to make things work out of the b

Re: Howto run guix.el correctly?

2014-11-22 Thread Alex Kost
Adam Pribyl (2014-11-22 01:28 +0300) wrote: > I have folloed the instruction in > http://www.gnu.org/software/guix/manual/guix.html#Emacs-Interface > to get the emacs interface for guix, but there is something missing > probably. > > Installation of emacs and geiser was OK, I changed the path to g

Howto run guix.el correctly?

2014-11-21 Thread Adam Pribyl
I have folloed the instruction in http://www.gnu.org/software/guix/manual/guix.html#Emacs-Interface to get the emacs interface for guix, but there is something missing probably. Installation of emacs and geiser was OK, I changed the path to guix.el (there is no /usr/share/ in my guix installat