From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH] services: 'console-keymap-service' takes multiple files. Date: Sat, 09 Apr 2016 11:16:38 +0300 Message-ID: <87a8l3tcwp.fsf@gmail.com> References: <87a8l3eqhc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoo4R-0007Nz-9L for guix-devel@gnu.org; Sat, 09 Apr 2016 04:16:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoo4O-0004YP-36 for guix-devel@gnu.org; Sat, 09 Apr 2016 04:16:43 -0400 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:36592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoo4N-0004Xr-Rj for guix-devel@gnu.org; Sat, 09 Apr 2016 04:16:40 -0400 Received: by mail-lf0-x242.google.com with SMTP id p81so12747266lfb.3 for ; Sat, 09 Apr 2016 01:16:39 -0700 (PDT) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id f11sm1728056lfg.22.2016.04.09.01.16.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Apr 2016 01:16:38 -0700 (PDT) In-Reply-To: <87a8l3eqhc.fsf@gmail.com> (Alex Kost's message of "Sat, 09 Apr 2016 00:32:31 +0300") 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: guix-devel@gnu.org Alex Kost (2016-04-09 00:32 +0300) wrote: > From 8c58974b549479a8e97cf64f21393aa495596e13 Mon Sep 17 00:00:00 2001 > From: Alex Kost > Date: Sat, 9 Apr 2016 00:21:15 +0300 > Subject: [PATCH] services: 'console-keymap-service' takes multiple files. > > * gnu/services/base.scm (console-keymap-service-type): Type procedure > takes a list of files instead of a single file. > (console-keymap-service): Take 'files' as rest arguments. > * doc/guix.texi (Base Services): Improve documentation of > 'console-keymap-service'. > --- > doc/guix.texi | 13 +++++++++++-- > gnu/services/base.scm | 10 +++++----- > 2 files changed, 16 insertions(+), 7 deletions(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index a34d547..ccf37da 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -7262,8 +7262,17 @@ Run @var{udev}, which populates the @file{/dev} directory dynamically. > > @deffn {Scheme Procedure} console-keymap-service @var{file} Oops, this line should also be modified: @deffn {Scheme Procedure} console-keymap-service @var{files} ... > @cindex keyboard layout > -Return a service to load console keymap from @var{file} using > -@command{loadkeys} command. > +Return a service to load console keymaps from @var{files} using > +@command{loadkeys} command. Most likely, you want to load some default > +keymap, which can be done like this: > + > +@example > +(console-keymap-service "dvorak") > +@end example > + > +But also you can specify a full file name (or file names) of your > +keymap(s). See @code{man loadkeys} for details. > + > @end deffn > > @deffn {Scheme Procedure} gpm-service-type [#:gpm @var{gpm}] @ -- Alex