From: Rudolf Adamkovič Date: Wed, 19 Oct 2022 18:57:03 +0000 (+0200) Subject: Add 'slovak-querty' input method (bug#58642) X-Git-Tag: emacs-29.0.90~1616^2~530 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa7c5c8707cae227e5b9cb7701ec713a66349083;p=emacs.git Add 'slovak-querty' input method (bug#58642) * lisp/leim/quail/slovak.el ("slovak-querty"): New input method. * etc/NEWS: Mention the new 'slovak-querty' input method. --- diff --git a/etc/NEWS b/etc/NEWS index a378b5acbbc..35d2fefeafd 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 acde11d02a7..a855ecbf916 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.