From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SL7oLkqpkmACiwAAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 16:18:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UBWYKkqpkmBnKwAA1q6Kng (envelope-from ) for ; Wed, 05 May 2021 14:18:50 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4E7582D904 for ; Wed, 5 May 2021 16:18:50 +0200 (CEST) Received: from localhost ([::1]:43442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leIMT-00015l-FT for larch@yhetil.org; Wed, 05 May 2021 10:18:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leIMJ-00014i-96 for guix-devel@gnu.org; Wed, 05 May 2021 10:18:39 -0400 Received: from mail-40140.protonmail.ch ([185.70.40.140]:50308) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leIMG-0000Yl-Ih for guix-devel@gnu.org; Wed, 05 May 2021 10:18:38 -0400 Date: Wed, 05 May 2021 14:18:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1620224313; bh=yUwGfRMmckDxIll6I2pvyNEfjKA+6CievuyENW1K1Bs=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=E+PHTtH6Po9jEF7RCGOEc33lCKdq/HeSlb7Xhowh4riVn4JgPqOtLS6n3/i4RnQDg QrePVquFEVpqa/OtsEcyq0xCd1APwCR19Hz8FkZ7ApbwfHqFv90yhXGw00tk4Pt70P q99mdlLNUTy15aPDl29zO0HJ7moXBoFXr1kz3y04= To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: Luis Felipe Cc: guix-devel Subject: Re: What's the meaning of the percent sign in variable names Message-ID: In-Reply-To: <874kfipkhq.fsf@gnu.org> References: <56kdRcoBgRuaTJ3WDZuJafflQQ4gld466rsxEpaHBkAv63kjjShKEEaQyL3n01WgUFyuUHpqLtW9VuZyeV6H4_C6NdB5nXd7BGxYJZ1UbXg=@protonmail.com> <874kfipkhq.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.140; envelope-from=luis.felipe.la@protonmail.com; helo=mail-40140.protonmail.ch X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URI_DOTEDU=1.16 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Luis Felipe Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620224330; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=yUwGfRMmckDxIll6I2pvyNEfjKA+6CievuyENW1K1Bs=; b=E6KmWzZIQXLdZz7Sf1M4DAWBDSSMSrejH9UJ2Aw/nHZ6WDtC6KXjA+flq41Sc5QQxO9KCb VZ22/eTksBq67d1h7lIkApnEKwrVcnHoqp747ow56T0Hw+ga6Fh6qVCPv4qkJw2+idu24b 7jMuqQfuykwJP1eT7EopdvHqQESH6oz95ILyqViBIyxiShUojY4lpWJLCAihvSzkKlRJhT vSQCmlWDoIwxFrSIMxmJ66aWKeRmVZtXhAaR414v4k9Twue3aEp5CYIDK+3b32WRYQt885 0DnzUNzULp27n3fWfqdZk5x4N8VGU5xtnDWytiNgptpIHr6DuQ14edK8gRJJVA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620224330; a=rsa-sha256; cv=none; b=NkqLv1tkUvvRvoghvpFHsaBlnPf1pFUcdBNLXSqC8a1QwIBZQT/RZ5jw9Tnp4bnljJilYa WFHyLZTiGO1JFfbPVGuV7d8+FpLrmiBRgrRGySrevOIONjA5eprsQMxDWOCef+QCG/6Nht +M+mIdNNBTFJi0b+yHeKF36VqGbPajjtAu1J5S+jxJC8e1tqVTUaDq774Eqa6tTYTWCSRx amVO3nLto2VbBmDCradu8FdESwCIWACAtM5ZKJU3LRKulVM6lRY5IoZuhL6WzYtv1QMW/H 9YGK8hcMsy+XN7frg8B5G9Nk846xwug0MaULr/rTB2WHG3szpzlssqU2qLvG0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=E+PHTtH6; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=E+PHTtH6; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 4E7582D904 X-Spam-Score: -3.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: hNJfDAkWD1Lh Hey Ludovic :) =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Tuesday, May 4, 2021 3:49 PM, Ludovic Court=C3=A8s wrote: > Hi Luis! > > Luis Felipe luis.felipe.la@protonmail.com skribis: > > > Are all these constants (%base-packages, for example)? Is this a Guix > > convention or does it come from Guile? > > To complement Leo=E2=80=99s answer=E2=80=A6 The =E2=80=98%=E2=80=99 conve= ntion comes from Guile, which > may have borrowed it from other Schemes. I did find uses of the percent sign in other Scheme code (e.g. http://scien= ce.slc.edu/~jmarshall/metacat/)but enclosing the whole name. For instance (= Metacat-1.2/Metacat/constants.ss): ;; Default window sizes (define %default-trace-width% #f) (define %default-trace-height% #f) (define %virtual-trace-length% #f) > Initially, it was meant to > read as =E2=80=9Csys=E2=80=9D (=E2=80=9Csystem=E2=80=9D), as can be seen = in libguile, meaning that a > percent-binding somehow belongs to =E2=80=9Cthe system=E2=80=9D: = =E2=80=98%load-path=E2=80=99, > =E2=80=98%make-void-port=E2=80=99, =E2=80=98%load-hook=E2=80=99, etc. Ah, I see. > In Guix it=E2=80=99s used with an extending meaning, typically for variab= les > holding Guixy constants: =E2=80=98%base-packages=E2=80=99, =E2=80=98%setu= id-programs=E2=80=99, > =E2=80=98%desktop-services=E2=80=99, etc. I hope it makes some sense! It does. Thanks for the explanation.