From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: some code Date: Tue, 7 Jun 2016 19:56:43 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1140b8ec7910020534b3e9ee Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bALF9-0001A4-QZ for help-guix@gnu.org; Tue, 07 Jun 2016 13:56:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bALF7-0003Hf-J6 for help-guix@gnu.org; Tue, 07 Jun 2016 13:56:46 -0400 Received: from mail-it0-x22b.google.com ([2607:f8b0:4001:c0b::22b]:37943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bALF7-0003HT-BA for help-guix@gnu.org; Tue, 07 Jun 2016 13:56:45 -0400 Received: by mail-it0-x22b.google.com with SMTP id h190so23461041ith.1 for ; Tue, 07 Jun 2016 10:56:44 -0700 (PDT) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: "Thompson, David" Cc: help-guix --001a1140b8ec7910020534b3e9ee Content-Type: text/plain; charset=UTF-8 2016-06-06 18:23 GMT+02:00 Thompson, David : > On Mon, Jun 6, 2016 at 11:05 AM, Catonano wrote: > > There's a piece of code (in the Emacs build system) I don't understand > > > > In "guix/build-system/emacs.scm" on line 97 there's a call to a function > > called "emacs-build" > > That's not a procedure call, actually, because the entire form is > quoted starting on line 95. Ouch ! My bad ! > This code is generating a Guile script > that will be used by guix-daemon to build an Emacs package. The > "emacs-build" referenced within is actually the procedure found in > (guix build emacs-build-system). > Ah ! > > > Also what's with that "define*" ? Is there a manual page describing it ? > I > > couldn't find it > > See section 6.9.4.1 of the Guile manual: > > > http://www.gnu.org/software/guile/manual/html_node/lambda_002a-and-define_002a.html#lambda_002a-and-define_002a > > Hope this helps, > > - Dave > Thanks --001a1140b8ec7910020534b3e9ee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2016-06-06 18:23 GMT+02:00 Thompson, David <dthompson2@worceste= r.edu>:
On= Mon, Jun 6, 2016 at 11:05 AM, Catonano <catonano@gmail.com> wrote:
> There's a piece of code (in the Emacs build system) I don't un= derstand
>
> In "guix/build-system/emacs.scm" on line 97 there's a ca= ll to a function
> called "emacs-build"

That's not a procedure call, actually, because the entire form i= s
quoted starting on line 95.=C2=A0

Ouch ! M= y bad !
=C2=A0
This cod= e is generating a Guile script
that will be used by guix-daemon to build an Emacs package.=C2=A0 The
"emacs-build" referenced within is actually the procedure found i= n
(guix build emacs-build-system).

Ah !=C2=A0

> Also what's with that "define*" ? Is there a manual page= describing it ? I
> couldn't find it

See section 6.9.4.1 of the Guile manual:

=C2=A0 =C2=A0 http://www.gnu.org/software/guile/manual/html_node= /lambda_002a-and-define_002a.html#lambda_002a-and-define_002a

Hope this helps,

- Dave

Thanks
--001a1140b8ec7910020534b3e9ee--