all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Garid Zorigoo <garidzorigoo@gmail.com>
To: 56617@debbugs.gnu.org
Subject: bug#56617: [PATCH] for Mongolian input
Date: Tue, 4 Apr 2023 17:39:51 +0900	[thread overview]
Message-ID: <CAEDgBW6xD-iQngjwH51oV045pkMTGFu2hOqD_=wjf60RDnXn4Q@mail.gmail.com> (raw)
In-Reply-To: <CAEDgBW6cGSo1mvSYZVm2d+Cn4=oypbOgrj=PVBAcj_7J1vPh_A@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 265 bytes --]

This is [patch] for Mongolian Input.

I only added Mongolian layout into the `lisp/leim/quail/cyrillic.el` and
sent it as a patch.

Please note that my knowledge in elisp is basically zero.
So, If you have any improvement/modification, please go ahead.

Best
Garid

[-- Attachment #1.2: Type: text/html, Size: 351 bytes --]

[-- Attachment #2: 0001-mongolian-input-layout-has-added-to-.-quail-cyrillic.patch --]
[-- Type: text/x-patch, Size: 2467 bytes --]

From 3dab34e5c36f6fef3a7b74cde46bbe98ace42b8c Mon Sep 17 00:00:00 2001
From: garid3000 <garidzorigoo@gmail.com>
Date: Tue, 4 Apr 2023 17:27:47 +0900
Subject: [PATCH] (mongolian input layout) has added to ..../quail/cyrillic.el

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

diff --git a/lisp/leim/quail/cyrillic.el b/lisp/leim/quail/cyrillic.el
index ba0b9c9ca12..9e8df41e80c 100644
--- a/lisp/leim/quail/cyrillic.el
+++ b/lisp/leim/quail/cyrillic.el
@@ -1844,6 +1844,125 @@
 	("E**" ["У*"])
 	("e**" ["у*"]))
 
+
+;; Mongolian layout: Mongolian alphabet has 2 letters: Ө Ү,
+;; and the layout is quite different than other cyrillic layouts.
+;; written by Garid Z.
+(quail-define-package
+ "cyrillic-mongolian" "Mongolian"  "MN-" t
+ "Input method for cyrillic Mongolian"
+ nil t nil nil nil nil nil nil nil nil t)
+
+;;  №  -  "  ₮  :    .  _  ,  %  ?  е  щ
+;;   Ф  Ц  У  Ж  Э    Н  Г  Ш  Ү  З  К  Ъ
+;;    Й  Ы  Б  Ө  А    Х  Р  О  Л  Д  П
+;;     Я  Ч  Ё  С  М    И  Т  Ь  В  Ю
+
+
+(quail-define-rules
+ ;; (lowercase 1st row)
+ ("q" ?ф)
+ ("w" ?ц)
+ ("e" ?у)
+ ("r" ?ж)
+ ("t" ?э)
+ ("y" ?н)
+ ("u" ?г)
+ ("i" ?ш)
+ ("o" ?ү)
+ ("p" ?з)
+ ("[" ?к)
+ ("]" ?ъ)
+ ;; (lowercase 2nd row)
+ ("a" ?й)
+ ("s" ?ы)
+ ("d" ?б)
+ ("f" ?ө)
+ ("g" ?а)
+ ("h" ?х)
+ ("j" ?р)
+ ("k" ?о)
+ ("l" ?л)
+ (";" ?д)
+ ("'" ?п)
+ ;; (lowercase 3rd row)
+ ("z" ?я)
+ ("x" ?ч)
+ ("c" ?ё)
+ ("v" ?с)
+ ("b" ?м)
+ ("n" ?и)
+ ("m" ?т)
+ ("," ?ь)
+ ("." ?в)
+ ("/" ?ю)
+
+
+ ;; (uppercase 1st row)
+ ("Q" ?Ф)
+ ("W" ?Ц)
+ ("E" ?У)
+ ("R" ?Ж)
+ ("T" ?Э)
+ ("Y" ?Н)
+ ("U" ?Г)
+ ("I" ?Ш)
+ ("O" ?Ү)
+ ("P" ?З)
+ ("{" ?К)
+ ("}" ?Ъ)
+ ;; (uppercase 2nd row)
+ ("A" ?Й)
+ ("S" ?Ы)
+ ("D" ?Б)
+ ("F" ?Ө)
+ ("G" ?А)
+ ("H" ?Х)
+ ("J" ?Р)
+ ("K" ?О)
+ ("L" ?Л)
+ (":" ?Д)
+ ("\"" ?П)
+ ;; (uppercase 3rd row)
+ ("Z" ?Я)
+ ("X" ?Ч)
+ ("C" ?Ё)
+ ("V" ?С)
+ ("B" ?М)
+ ("N" ?И)
+ ("M" ?Т)
+ ("<" ?Ь)
+ (">" ?В)
+ ("?" ?Ю)
+
+
+ ;;  (number row without shift)
+ ("1" ?№)
+ ("2" ?-)
+ ("3" ?\")
+ ("4" ?₮)
+ ("5" ?:)
+ ("6" ?.)
+ ("7" ?_)
+ ("8" ?,)
+ ("9" ?%)
+ ("0" ??)
+ ("-" ?е)
+ ("=" ?щ)
+ ;;  (number row with shift)
+ ("!" ?1)
+ ("@" ?2)
+ ("#" ?3)
+ ("$" ?4)
+ ("%" ?5)
+ ("^" ?6)
+ ("&" ?7)
+ ("*" ?8)
+ ("(" ?9)
+ (")" ?0)
+ ("_" ?Е)
+ ("+" ?Щ))
+
 ;; Local Variables:
 ;; coding: utf-8
 ;; End:
-- 
2.40.0


  parent reply	other threads:[~2023-04-04  8:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-17 10:20 bug#56617: 28.1; No Mongolian option in input-method Garid Zorigoo
2022-07-17 15:54 ` Eli Zaretskii
2023-04-04  8:39 ` Garid Zorigoo [this message]
2023-04-05  5:43   ` bug#56617: [PATCH] for Mongolian input Eli Zaretskii
2023-04-05  7:47     ` Garid Zorigoo
2023-04-08  7:53       ` Eli Zaretskii
2023-04-08 10:51         ` Garid Zorigoo

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

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

  git send-email \
    --in-reply-to='CAEDgBW6xD-iQngjwH51oV045pkMTGFu2hOqD_=wjf60RDnXn4Q@mail.gmail.com' \
    --to=garidzorigoo@gmail.com \
    --cc=56617@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.