From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tanguy Le Carrour Subject: Re: SLiM graphical login manager and keyboard layout Date: Mon, 21 Oct 2019 09:24:19 +0200 Message-ID: <20191021072419.upbsh4jvvcftlbhk@rafflesia> References: <20191018123345.sxoawlfothe2tx3d@rafflesia> <87eeza2g7l.fsf@GlaDOS.home> <20191018161122.2sryulubzaiozfto@rafflesia> <87a79y2dqd.fsf@GlaDOS.home> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47645) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMS3E-00063E-7t for guix-devel@gnu.org; Mon, 21 Oct 2019 03:24:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMS3D-0007gP-27 for guix-devel@gnu.org; Mon, 21 Oct 2019 03:24:24 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:55831) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iMS3C-0007fr-SE for guix-devel@gnu.org; Mon, 21 Oct 2019 03:24:23 -0400 Content-Disposition: inline In-Reply-To: <87a79y2dqd.fsf@GlaDOS.home> 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" To: Diego Nicola Barbato Cc: Guix Le 10/18, Diego Nicola Barbato a écrit : > Tanguy Le Carrour writes: > > (service slim-service-type > > (slim-configuration > > (xorg-configuration > > (xorg-configuration > > (keyboard-layout keyboard-layout)))))) > > > > > > I don't understand the "double" `xorg-configuration`, though! ^_^' > > The outer 'xorg-configuration' is a field of the 'slim-configuration' > data type. The inner 'xorg-configuration' is itself a data type > representing the Xorg configuration (with its 'keyboard-layout' field > set to the value of 'keyboard-layout'). Thanks for the clarification! All of this LISP/Scheme/Guile is still a bit magical to me! How does one makes the difference between field assignment and data type "instanciation"? ^_^' How does the interpreter know that the same "word" means two different things?! Regards, -- Tanguy