unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24942: Tuvan Cyrillic input method
@ 2016-11-14 10:42 Wojciech Gac
  2016-11-18  9:59 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Wojciech Gac @ 2016-11-14 10:42 UTC (permalink / raw)
  To: 24942


[-- 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) -_ Ч  Ю
+;;   Я  В  Е  Р  Т  Ы  У  И  О  П  Ш  Щ
+;;    А  С  Д  Ф  Г  Х  Й  К  Л  ;: '" Э
+;;     З  Ь  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("C" ?Ц)
+ ("V" ?Ж)
+ ("B" ?Б)
+ ("N" ?Н)
+ ("M" ?М)
+ ("<" ?<)
+ (">" ?>)
+ ("?" ??)
+
+ ("/n" ?ң)
+ ("/t" ?ө)
+ ("/y" ?ү)
+ ("/N" ?Ң)
+ ("/T" ?Ө)
+ ("/Y" ?Ү))
+
 ;; Local Variables:
 ;; coding: utf-8
 ;; End:

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#24942: Tuvan Cyrillic input method
  2016-11-14 10:42 bug#24942: Tuvan Cyrillic input method Wojciech Gac
@ 2016-11-18  9:59 ` Eli Zaretskii
  2016-11-18 10:04   ` Wojciech Gac
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2016-11-18  9:59 UTC (permalink / raw)
  To: Wojciech Gac; +Cc: 24942-done

> From: Wojciech Gac <wojciech.s.gac@gmail.com>
> Date: Mon, 14 Nov 2016 11:42:44 +0100
> 
> 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.

Thanks, pushed to master.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#24942: Tuvan Cyrillic input method
  2016-11-18  9:59 ` Eli Zaretskii
@ 2016-11-18 10:04   ` Wojciech Gac
  0 siblings, 0 replies; 3+ messages in thread
From: Wojciech Gac @ 2016-11-18 10:04 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 24942-done

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

Thank you.

2016-11-18 10:59 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:

> > From: Wojciech Gac <wojciech.s.gac@gmail.com>
> > Date: Mon, 14 Nov 2016 11:42:44 +0100
> >
> > 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.
>
> Thanks, pushed to master.
>

[-- Attachment #2: Type: text/html, Size: 925 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-18 10:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-14 10:42 bug#24942: Tuvan Cyrillic input method Wojciech Gac
2016-11-18  9:59 ` Eli Zaretskii
2016-11-18 10:04   ` Wojciech Gac

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).