unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Bahodir Mansurov <bahodir@mansurov.org>
To: 28848@debbugs.gnu.org
Subject: bug#28848: [feature] Add Uzbek cyrillic input method
Date: Sun, 15 Oct 2017 09:51:50 -0400	[thread overview]
Message-ID: <877evwbjt5.fsf@mansurov.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 113 bytes --]

Hello,

I'd like to submit the attached patch that allows typing in the Uzbek
cyrillic script.

Thanks,
Bahodir


[-- Attachment #2: 0001-Add-Uzbek-cyrillic-input-method.patch --]
[-- Type: text/x-diff, Size: 2298 bytes --]

From 37d362d4a9d6438f60bc33f083b8ec5e942ebf90 Mon Sep 17 00:00:00 2001
From: Bahodir Mansurov <bahodir@mansurov.org>
Date: Sun, 15 Oct 2017 09:43:06 -0400
Subject: [PATCH] Add Uzbek cyrillic input method

---
 lisp/leim/quail/cyrillic.el | 114 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 114 insertions(+)

diff --git a/lisp/leim/quail/cyrillic.el b/lisp/leim/quail/cyrillic.el
index 95b443f210..061bf6650e 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"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("?" ?,))
+
+
 ;; 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.14.2


             reply	other threads:[~2017-10-15 13:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-15 13:51 Bahodir Mansurov [this message]
2017-10-21  8:09 ` bug#28848: [feature] Add Uzbek cyrillic input method Eli Zaretskii
2017-10-21 10:56   ` Bahodir Mansurov

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://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877evwbjt5.fsf@mansurov.org \
    --to=bahodir@mansurov.org \
    --cc=28848@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/emacs.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).