From 79d57f4b7a8dc0d0cd213ce5989886cc9fc9b7f3 Mon Sep 17 00:00:00 2001 From: Bahodir Mansurov Date: Sat, 21 Oct 2017 11:07:34 +0300 Subject: [PATCH] New input method 'usbek-cyrillic' * lisp/leim/quail/cyrillic.el (uzbek-cyrillic): New input method. (Bug#28848) * etc/NEWS: Mention the new input method. Copyright-paperwork-exempt: yes --- etc/NEWS | 2 +- lisp/leim/quail/cyrillic.el | 114 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 97b21f7dd86..c5c76477b4f 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -398,7 +398,7 @@ roster of X keysyms. It can be used in combination with another variable of this kind to swap modifiers in Emacs. --- -** New input methods: 'cyrillic-tuvan', 'polish-prefix'. +** New input methods: 'cyrillic-tuvan', 'polish-prefix', 'uzbek-cyrillic'. --- ** The 'dutch' input method no longer attempts to support Turkish too. diff --git a/lisp/leim/quail/cyrillic.el b/lisp/leim/quail/cyrillic.el index 95b443f210c..2218095f880 100644 --- a/lisp/leim/quail/cyrillic.el +++ b/lisp/leim/quail/cyrillic.el @@ -831,6 +831,120 @@ Sorry, but `ghe with upturn' is not included in ISO 8859-5." ("|" ?Ґ)) ;; +(quail-define-package + "uzbek-cyrillic" "Ўзбекча" "Ўзб" nil + "ЙЦУКЕН Uzbek computer layout" + nil t t t t nil nil nil nil nil t) + +;; Ё 1! 2" 3№ 4; 5% 6: 7? 8* 9( 0) Ғ Ҳ +;; Й Ц У К Е Н Г Ш Ў З Х Ъ \| +;; Ф Қ В А П Р О Л Д Ж Э +;; Я Ч С М И Т Ь Б Ю ., + +(quail-define-rules + ("`" ?ё) + ("1" ?1) + ("2" ?2) + ("3" ?3) + ("4" ?4) + ("5" ?5) + ("6" ?6) + ("7" ?7) + ("8" ?8) + ("9" ?9) + ("0" ?0) + ("-" ?ғ) + ("=" ?ҳ) + + ("q" ?й) + ("w" ?ц) + ("e" ?у) + ("r" ?к) + ("t" ?е) + ("y" ?н) + ("u" ?г) + ("i" ?ш) + ("o" ?ў) + ("p" ?з) + ("[" ?х) + ("]" ?ъ) + ("\\" ?\\) + + ("a" ?ф) + ("s" ?қ) + ("d" ?в) + ("f" ?а) + ("g" ?п) + ("h" ?р) + ("j" ?о) + ("k" ?л) + ("l" ?д) + (";" ?ж) + ("'" ?э) + + ("z" ?я) + ("x" ?ч) + ("c" ?с) + ("v" ?м) + ("b" ?и) + ("n" ?т) + ("m" ?ь) + ("," ?б) + ("." ?ю) + ("/" ?.) + + ("~" ?Ё) + ("!" ?!) + ("@" ?\") + ("#" ?№) + ("$" ?\;) + ("%" ?%) + ("^" ?:) + ("&" ??) + ("*" ?*) + ("(" ?\() + (")" ?\)) + ("_" ?Ғ) + ("+" ?Ҳ) + + ("Q" ?Й) + ("W" ?Ц) + ("E" ?У) + ("R" ?К) + ("T" ?Е) + ("Y" ?Н) + ("U" ?Г) + ("I" ?Ш) + ("O" ?Ў) + ("P" ?З) + ("{" ?Х) + ("}" ?Ъ) + ("|" ?|) + + ("A" ?Ф) + ("S" ?Қ) + ("D" ?В) + ("F" ?А) + ("G" ?П) + ("H" ?Р) + ("J" ?О) + ("K" ?Л) + ("L" ?Д) + (":" ?Ж) + ("\"" ?Э) + + ("Z" ?Я) + ("X" ?Ч) + ("C" ?С) + ("V" ?М) + ("B" ?И) + ("N" ?Т) + ("M" ?Ь) + ("<" ?Б) + (">" ?Ю) + ("?" ?,)) + + ;; Alexander Mikhailian says this is of limited use. It has been ;; popular among emigrants or foreigners who have to type in Cyrillic ;; (mostly Russian) from time to time. -- 2.11.4.GIT