unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Howto run guix.el correctly?
@ 2014-12-01 17:15 Federico Beffa
  2014-12-02  7:52 ` Alex Kost
  0 siblings, 1 reply; 22+ messages in thread
From: Federico Beffa @ 2014-12-01 17:15 UTC (permalink / raw)
  To: ludo, Guix-devel, Alex Kost

ludo@gnu.org (Ludovic Courtès) writes:

> Alex Kost <alezost@gmail.com> 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-other-keys)
>>>      (install-autoloads (assoc-ref outputs "out")))
>>>    %standard-phases))
>>
>> Sorry, I didn't get how it would work.  I realized that I don't
>> understand how there could be a generalized ‘install-autoloads’
>> procedure as it should do different things for different packages.
>

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 file in the content directory for autoload magic
    comments (*note Autoload::).  These autoload definitions are saved
    to a file named `NAME-autoloads.el' in the package's content
    directory.

  - Byte-compiles every Lisp file in the package.

  - Add the package's content directory to `load-path', and evaluates
    the autoload definitions in `NAME-autoloads.el'.

* At startup:

  - Emacs scans for a predefined directory for NAME-autoloads.el files
    and evaluates them ('package-initialize' function). We could maybe
    exploit 'after-init-hook' or something something similar.

Regards,
Fede

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Howto run guix.el correctly?
@ 2014-11-21 22:28 Adam Pribyl
  2014-11-22  8:03 ` Alex Kost
  2014-11-22 18:49 ` Alex Kost
  0 siblings, 2 replies; 22+ messages in thread
From: Adam Pribyl @ 2014-11-21 22:28 UTC (permalink / raw)
  To: guix-devel

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 installation, I had to find guix.el in 
the /gnu/store), after that I can start emacs and "M-x guix-..." but every 
action says "Cannot open load file: no such file or directory 
geiser-mode".

There should probably be also the geiser path in the emacs init file or 
something?


Adam Pribyl

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-12-02 19:14 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-01 17:15 Howto run guix.el correctly? Federico Beffa
2014-12-02  7:52 ` Alex Kost
  -- strict thread matches above, loose matches on Subject: below --
2014-11-21 22:28 Adam Pribyl
2014-11-22  8:03 ` Alex Kost
2014-11-22 10:52   ` Ludovic Courtès
2014-11-22 12:04     ` Alex Kost
2014-11-22 18:49 ` Alex Kost
2014-11-22 21:04   ` Adam Pribyl
2014-11-22 21:11     ` David Thompson
2014-11-22 22:17       ` Ludovic Courtès
2014-11-23  7:01         ` Alex Kost
2014-11-24 20:42           ` Ludovic Courtès
2014-11-25 13:58             ` Alex Kost
2014-11-26 16:23               ` Ludovic Courtès
2014-11-26 20:38                 ` Alex Kost
2014-11-26 22:41                   ` Ludovic Courtès
2014-12-01 12:20                     ` Alex Kost
2014-12-01 12:49                       ` Ludovic Courtès
2014-12-02  7:46                         ` Alex Kost
2014-12-02  8:39                           ` Ludovic Courtès
2014-12-02 19:13                             ` Alex Kost
2014-11-26 20:14     ` Alex Kost

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).