guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Howto run guix.el correctly?


From: Alex Kost
Subject: Re: Howto run guix.el correctly?
Date: Tue, 02 Dec 2014 10:52:44 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

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 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.

Thanks, I know all that stuff.

(I'm sorry if it was sounded rude)

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]