From: Wojciech Gac <wojciech.s.gac@gmail.com>
To: 24942@debbugs.gnu.org
Subject: bug#24942: Tuvan Cyrillic input method
Date: Mon, 14 Nov 2016 11:42:44 +0100 [thread overview]
Message-ID: <CACeHaM-5rTO+t4JA3iduiYjLoq9j7EFQvg_Fb_kEmccc3d4wKQ@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 342 bytes --]
Hello,
I've developed a Tuvan Cyrillic input method and would like to get it added
to Emacs. It is heavily based on the existing `cyrillic-yawerty' input
method for the Cyrillic script with three additional letters. I attach a
patch generated by `git diff`. I've tested the patch on a fresh pull of
master and it worked fine.
Regards,
Wojtek
[-- Attachment #1.2: Type: text/html, Size: 422 bytes --]
[-- Attachment #2: cyrillic-tuvan.patch --]
[-- Type: text/x-patch, Size: 2313 bytes --]
diff --git a/lisp/leim/quail/cyrillic.el b/lisp/leim/quail/cyrillic.el
index 2ff64ad..e12c002 100644
--- a/lisp/leim/quail/cyrillic.el
+++ b/lisp/leim/quail/cyrillic.el
@@ -1473,6 +1473,131 @@
("/" ?б) ("?" ?Б)
("\\" ?') ("|" ?Ы))
+;; This is a slight modification of the `cyrillic-yawerty' input
+;; method. In addition to the standard Russian letters, the Tuvan
+;; alphabet introduces three letters: `Ң', `Ө' and `Ү'. They were made
+;; available in combination with `/' and `N', `T' and `Y' respectively.
+(quail-define-package
+ "cyrillic-tuvan" "Tuvan" "ҢӨҮ" nil
+ "ЯВЕРТЫ Roman transcription of the Tuvan alphabet
+
+When preceded by a `/', the letters `N', `T' and `Y' change
+as follows.
+
+ keytop | N T Y n t y
+ --------+------------------
+ input | Ң Ө Ү ң ө ү"
+ 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)
+ 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("M" ?М)
+ ("<" ?<)
+ (">" ?>)
+ ("?" ??)
+
+ ("/n" ?ң)
+ ("/t" ?ө)
+ ("/y" ?ү)
+ ("/N" ?Ң)
+ ("/T" ?Ө)
+ ("/Y" ?Ү))
+
;; Local Variables:
;; coding: utf-8
;; End:
next reply other threads:[~2016-11-14 10:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-14 10:42 Wojciech Gac [this message]
2016-11-18 9:59 ` bug#24942: Tuvan Cyrillic input method Eli Zaretskii
2016-11-18 10:04 ` Wojciech Gac
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=CACeHaM-5rTO+t4JA3iduiYjLoq9j7EFQvg_Fb_kEmccc3d4wKQ@mail.gmail.com \
--to=wojciech.s.gac@gmail.com \
--cc=24942@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).