From: "Ludovic Courtès" <ludo@gnu.org>
To: 35120@debbugs.gnu.org
Subject: [bug#35120] [PATCH 3/3] services: console-keymap: Deprecate.
Date: Wed, 3 Apr 2019 14:39:53 +0200 [thread overview]
Message-ID: <20190403123953.29853-3-ludo@gnu.org> (raw)
In-Reply-To: <20190403123953.29853-1-ludo@gnu.org>
* gnu/services/base.scm (console-keymap-service): Mark as deprecated.
* doc/guix.texi (Base Services): Remove its documentation.
---
doc/guix.texi | 23 -----------------------
gnu/services/base.scm | 3 ++-
2 files changed, 2 insertions(+), 24 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 1b0bd1de58..1c82579afc 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -12023,29 +12023,6 @@ This is the name of the file where some random bytes are saved by
It defaults to @file{/var/lib/random-seed}.
@end defvr
-@cindex keymap
-@cindex keyboard
-@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 default
-keymap, which can be done like this:
-
-@example
-(console-keymap-service "dvorak")
-@end example
-
-Or, for example, for a Swedish keyboard, you may need to combine
-the following keymaps:
-@example
-(console-keymap-service "se-lat6" "se-fi-lat6")
-@end example
-
-Also you can specify a full file name (or file names) of your keymap(s).
-See @code{man loadkeys} for details.
-
-@end deffn
-
@cindex mouse
@cindex gpm
@defvr {Scheme Variable} gpm-service-type
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 04b123b833..bf8510a71d 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -719,7 +719,8 @@ to add @var{device} to the kernel's entropy pool. The service will fail if
#$@files))))
(respawn? #f)))))
-(define (console-keymap-service . files)
+(define-deprecated (console-keymap-service #:rest files)
+ #f
"Return a service to load console keymaps from @var{files}."
(service console-keymap-service-type files))
--
2.21.0
next prev parent reply other threads:[~2019-04-03 12:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-03 12:36 [bug#35120] [PATCH 0/3] Simpler Xorg keyboard layout config, updated doc Ludovic Courtès
2019-04-03 12:39 ` [bug#35120] [PATCH 1/3] services: xorg: Add 'set-xorg-configuration' Ludovic Courtès
2019-04-03 12:39 ` [bug#35120] [PATCH 2/3] doc: Explain how to change the keyboard layout at run time Ludovic Courtès
2019-04-03 12:39 ` Ludovic Courtès [this message]
2019-04-05 13:48 ` bug#35120: [PATCH 0/3] Simpler Xorg keyboard layout config, updated doc Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190403123953.29853-3-ludo@gnu.org \
--to=ludo@gnu.org \
--cc=35120@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).