From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH] services: 'console-keymap-service' takes multiple files. Date: Sun, 17 Apr 2016 10:41:49 +0300 Message-ID: <877ffwel6q.fsf@gmail.com> References: <87a8l3eqhc.fsf@gmail.com> <87lh4hcifc.fsf@gnu.org> <878u0eq2dv.fsf@gmail.com> <87vb3ir2pp.fsf@gnu.org> <5711A7C1.3040601@fripost.org> <87twj2hsgi.fsf@gmail.com> <57124EFD.3000004@fripost.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]:44680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arhL6-0006y5-Bs for guix-devel@gnu.org; Sun, 17 Apr 2016 03:41:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arhL3-0008GO-5H for guix-devel@gnu.org; Sun, 17 Apr 2016 03:41:52 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:35181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arhL2-0008Fc-SU for guix-devel@gnu.org; Sun, 17 Apr 2016 03:41:49 -0400 Received: by mail-lf0-x244.google.com with SMTP id o124so22044761lfb.2 for ; Sun, 17 Apr 2016 00:41:48 -0700 (PDT) In-Reply-To: <57124EFD.3000004@fripost.org> (albin@fripost.org's message of "Sat, 16 Apr 2016 16:41:01 +0200") 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: Albin Cc: guix-devel@gnu.org Albin (2016-04-16 17:41 +0300) wrote: > Den 2016-04-16 kl. 10:24, skrev Alex Kost: >> Albin (2016-04-16 05:47 +0300) wrote: >> >>> Den 2016-04-15 kl. 23:17, skrev Ludovic Court=C3=A8s: >>>> Alex Kost skribis: >> [...] >>>>> @deffn {Scheme Procedure} console-keymap-service @var{files} ... >>>>> @cindex keyboard layout >>>>> Return a service to load console keymaps from @var{files} using >>>>> @command{loadkeys} command. Most likely, you want to load some defau= lt >>>>> keymap, which can be done like this: >>>>> >>>>> @example >>>>> (console-keymap-service "dvorak") >>>>> @end example >>>>> >>>>> Or, for example, for Swedish keyboards, you may need to combine keyma= ps: >>>>> @example >>>>> (console-keymap-service "se-ir209" "se-fi-ir209") >>>> >>>> Ideally with a few words to explain why this is useful on Swedish >>>> keyboards (Albin? :-)), but otherwise LGTM! >>> >>> I don't think it's necessary to explain exactly why it's useful here >>> because it's a simple fact that loading just the first "se-ir209" >>> doesn't enable a Swedish but some kind of US-Danish freak keymap :-), >>> which the user will soon discover. If it doesn't cross your mind that >>> *two* keymaps may be necessary for using *one* keyboard (how obvious is >>> that, really?), then you might start to think that perhaps the Guix >>> folks simply forgot to include the one that you need. IMHO upstream >>> should ditch the whole dual keymap thing if it's technically feasible to >>> do so. >> >> It is definitely feasible. I think it is done so because it is simple: >> instead of making a single map file for a Swedish keyboard, they just >> made a small "extension" to a general Scandinavian layout (If I >> understand it correctly). >> >>> The formulation above looks good to me also, except I think it's clearer >>> with the formulation "a Swedish keyboard" in this context. >> >> Fixed, thanks! >> >> I think I'll change the example from "ir209" to "lat6", as "se-lat6.map" >> has the following line in the commentary: >> >> # Covers ISO 8859-10, 1993 >> >> Since it is the Standard=C2=B9, I think it is better to use it in the >> example. WDYT? >> >> =C2=B9 https://en.wikipedia.org/wiki/ISO/IEC_8859-10 > > Yes, I think you're right! Thanks for fixing this Alex. OK, committed=C2=B9, thanks! =C2=B9 http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Db3d05f487014b= 1c34c45b8c693a974500e689603 --=20 Alex