>From 67994603fca722d36058377c3513b544411478c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= Date: Wed, 19 Oct 2022 20:57:03 +0200 Subject: [PATCH] Add 'slovak-querty' input method * lisp/leim/quail/slovak.el: Add 'slovak-querty' Quail package. * etc/NEWS: Mention the new 'slovak-querty' input method. --- etc/NEWS | 5 ++ lisp/leim/quail/slovak.el | 123 +++++++++++++++++++++++++++++++++++++- 2 files changed, 126 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index a378b5acbb..35d2fefeaf 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1362,6 +1362,11 @@ change the input method's translation rules, customize the user option This supports the keyboard layout specifically designed for the Tamil language. +--- +*** New 'slovak-qwerty' input method +This completes the set of the standard Slovak keyboards, now +containing both the QWERTZ and the QWERTY variants. + * Changes in Specialized Modes and Packages in Emacs 29.1 diff --git a/lisp/leim/quail/slovak.el b/lisp/leim/quail/slovak.el index acde11d02a..a855ecbf91 100644 --- a/lisp/leim/quail/slovak.el +++ b/lisp/leim/quail/slovak.el @@ -3,7 +3,8 @@ ;; Copyright (C) 1998, 2001-2022 Free Software Foundation, Inc. ;; Authors: Tibor Šimko -;; Milan Zamazal +;; Milan Zamazal +;; Rudolf Adamkovič ;; Maintainer: Pavel Janík ;; Keywords: i18n, multilingual, input method, Slovak @@ -25,8 +26,9 @@ ;;; Commentary: ;; This file defines the following Slovak keyboards: -;; - standard Slovak keyboard +;; - standard Slovak keyboards, QWERTZ and QWERTY variants ;; - three Slovak keyboards for programmers +;; LocalWords: QWERTZ ;;; Code: @@ -154,6 +156,123 @@ ("+0" ?\))) +(quail-define-package + "slovak-querty" "Slovak" "SK" t + "Standard Slovak keyboard, QWERTY variant." + nil t nil nil t nil nil nil nil nil t) + +(quail-define-rules + ("1" ?+) + ("2" ?ľ) + ("3" ?š) + ("4" ?č) + ("5" ?ť) + ("6" ?ž) + ("7" ?ý) + ("8" ?á) + ("9" ?í) + ("0" ?é) + ("!" ?1) + ("@" ?2) + ("#" ?3) + ("$" ?4) + ("%" ?5) + ("^" ?6) + ("&" ?7) + ("*" ?8) + ("(" ?9) + (")" ?0) + ("-" ?=) + ("_" ?%) + ("=" ?') + ("[" ?ú) + ("{" ?/) + ("]" ?ä) + ("}" ?\() + ("\\" ?ň) + ("|" ?\)) + (";" ?ô) + (":" ?\") + ("'" ?§) + ("\"" ?!) + ("<" ??) + (">" ?:) + ("/" ?-) + ("?" ?_) + ("`" ?\;) + ("~" ?^) + ("=a" ?á) + ("+a" ?ä) + ("+=a" ?ä) + ("+c" ?č) + ("+d" ?ď) + ("=e" ?é) + ("+e" ?ě) + ("=i" ?í) + ("=l" ?ĺ) + ("+l" ?ľ) + ("+n" ?ň) + ("=o" ?ó) + ("+o" ?ô) + ("~o" ?ô) + ("+=o" ?ö) + ("=r" ?ŕ) + ("+r" ?ř) + ("=s" ?ß) + ("+s" ?š) + ("+t" ?ť) + ("=u" ?ú) + ("+u" ?ů) + ("+=u" ?ü) + ("=y" ?ý) + ("+z" ?ž) + ("=A" ?Á) + ("+A" ?Ä) + ("+=A" ?Ä) + ("+C" ?Č) + ("+D" ?Ď) + ("=E" ?É) + ("+E" ?Ě) + ("=I" ?Í) + ("=L" ?Ĺ) + ("+L" ?Ľ) + ("+N" ?Ň) + ("=O" ?Ó) + ("+O" ?Ô) + ("~O" ?Ô) + ("+=O" ?Ö) + ("=R" ?Ŕ) + ("+R" ?Ř) + ("=S" ?ß) + ("+S" ?Š) + ("+T" ?Ť) + ("=U" ?Ú) + ("+U" ?Ů) + ("+=U" ?Ü) + ("=Y" ?Ý) + ("+Z" ?Ž) + ("=q" ?`) + ("=2" ?@) + ("=3" ?#) + ("=4" ?$) + ("=5" ?%) + ("=6" ?^) + ("=7" ?&) + ("=8" ?*) + ("=9" ?\() + ("=0" ?\)) + ("+1" ?!) + ("+2" ?@) + ("+3" ?#) + ("+4" ?$) + ("+5" ?%) + ("+6" ?^) + ("+7" ?&) + ("+8" ?*) + ("+9" ?\() + ("+0" ?\))) + + (quail-define-package "slovak-prog-1" "Slovak" "SK" t "Slovak (non-standard) keyboard for programmers #1. -- 2.38.0