From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Howto run guix.el correctly? Date: Mon, 01 Dec 2014 15:20:23 +0300 Message-ID: <874mtf5zp4.fsf@gmail.com> References: <87d28fgjfn.fsf@gmail.com> <8761e7aqkt.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <87mw7ianj5.fsf@gnu.org> <87tx1qv1rp.fsf@gmail.com> <87zjbg8h4x.fsf@gnu.org> <87vbm3v0ts.fsf@gmail.com> <87y4qyszfs.fsf@gnu.org> <87ioi1u28i.fsf@gmail.com> <87wq6hshxk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvPy1-0004Tj-Ep for guix-devel@gnu.org; Mon, 01 Dec 2014 07:20:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvPxs-000858-7S for guix-devel@gnu.org; Mon, 01 Dec 2014 07:20:37 -0500 In-Reply-To: <87wq6hshxk.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 26 Nov 2014 23:41:59 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s (2014-11-27 01:41 +0300) wrote: > Alex Kost skribis: [...] >>> Actually, since it=E2=80=99s going to be used in most packages, what ab= out >>> adding an =E2=80=98install-autoloads=E2=80=99 procedure in (guix build = emacs-utils)? >>> So the above would become >>> >>> (alist-cons-after >>> 'install 'post-install >>> (lambda* (#:key outputs #:allow-other-keys) >>> (install-autoloads (assoc-ref outputs "out"))) >>> %standard-phases) >> >> OK. >> >>> Or better yet, (guix build emacs-utils) could provide >>> %standard-emacs-phases. >>> >>> WDYT? >> >> 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 =E2=80=98install-autoloads=E2= =80=99 procedure as it should do different things for different packages. >> that's why I wanted to do it step-by-step. I don't see general >> patterns right now. Some packages would require just making a link as >> with geiser, other packages require generating autoloads and maybe >> some others require additional steps. What about making >> "wip-emacs-packages" branch and to put the appropriate changes there >> for now? > > Sure! 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 =E2=80=9C=E2=80=A6-autoloads.el=E2=80=9D to each one. --=20 Alex