Subject: Re: [PATCH] Add support for Toto script

From: समीर सिंह Sameer Singh<[email-masked]>
Date: Fri, 30 Sep 2022 01:42:29 +0530

On Fri, Sep 30, 2022 at 1:39 AM समीर सिंह Sameer Singh <
[email-masked]> wrote:

> The Toto script is added to Emacs this time.
>
> Please review the patch.
> Thanks
>
From d3533a4be1fa0522a4a679559f4547e70ff6b463 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0=20=E0=A4=B8=E0=A4=BF?=
 =?UTF-8?q?=E0=A4=82=E0=A4=B9=20Sameer=20Singh?= <[email-masked]>
Date: Fri, 30 Sep 2022 01:32:56 +0530
Subject: [PATCH] Add support for the Toto script (bug#58181)

* lisp/language/indian.el ("Toto"): New language environment.
Add input method.
* lisp/international/fontset.el (script-representative-chars):
Support Toto.
* lisp/leim/quail/indian.el ("toto"): New input method.

* etc/NEWS: Announce the new language environment.
---
 etc/NEWS                      |  1 +
 lisp/international/fontset.el |  2 +-
 lisp/language/indian.el       | 10 ++++++++++
 lisp/leim/quail/indian.el     | 37 +++++++++++++++++++++++++++++++++++
 4 files changed, 49 insertions(+), 1 deletion(-)

diff --git a/etc/NEWS b/etc/NEWS
index 76e44965ba..aad1a17ae7 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1271,6 +1271,7 @@ Meetei Mayek script and language environment
 Adlam script and language environment
 Mende Kikakui script and language environment
 Wancho script and language environment
+Toto script and language environment
 
 ---
 *** The "Oriya" language environment was renamed to "Odia".
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el
index ec505a0903..aa1477e2ae 100644
--- a/lisp/international/fontset.el
+++ b/lisp/international/fontset.el
@@ -291,7 +291,7 @@
 	(tai-xuan-jing-symbol #x1D300)
 	(counting-rod-numeral #x1D360)
 	(nyiakeng-puachue-hmong #x1e100)
-	(toto #x1E290)
+	(toto #x1E290 #x1E295 #x1E2AD)
 	(wancho #x1E2C0 #x1E2E8 #x1E2EF)
         (nag-mundari #x1E4D0 #x1E4EB #x1E4F0)
 	(mende-kikakui #x1E810 #x1E8A6)
diff --git a/lisp/language/indian.el b/lisp/language/indian.el
index bc8f532857..2a1876d708 100644
--- a/lisp/language/indian.el
+++ b/lisp/language/indian.el
@@ -277,6 +277,16 @@ Wancho language and its script are supported in this language
 environment."))
  '("Indian"))
 
+(set-language-info-alist
+ "Toto" '((charset unicode)
+          (coding-system utf-8)
+          (coding-priority utf-8)
+          (input-method . "toto")
+          (documentation . "\
+Toto language and its script are supported in this language
+environment."))
+ '("Indian"))
+
 ;; Replace mnemonic characters in REGEXP according to TABLE.  TABLE is
 ;; an alist of (MNEMONIC-STRING . REPLACEMENT-STRING).
 
diff --git a/lisp/leim/quail/indian.el b/lisp/leim/quail/indian.el
index 443488c18d..54c46b168b 100644
--- a/lisp/leim/quail/indian.el
+++ b/lisp/leim/quail/indian.el
@@ -2211,5 +2211,42 @@ is."
  ("m"  ?𞋘)
  ("M"  ?𞋨))
 
+(quail-define-package
+ "toto" "Toto" "𞊒𞊪" nil "Toto phonetic input method."
+ nil t t t t nil nil nil nil nil t)
+
+(quail-define-rules
+ ("q"  ?𞊫)
+ ("Q"  ?𞊬)
+ ("w"  ?𞊜)
+ ("e"  ?𞊦)
+ ("E"  ?𞊧)
+ ("r"  ?𞊟)
+ ("t"  ?𞊒)
+ ("y"  ?𞊛)
+ ("u"  ?𞊥)
+ ("i"  ?𞊡)
+ ("I"  ?𞊢)
+ ("o"  ?𞊪)
+ ("p"  ?𞊐)
+ ("a"  ?𞊭)
+ ("s"  ?𞊙)
+ ("d"  ?𞊓)
+ ("f"  ?𞊮)
+ ("g"  ?𞊕)
+ ("h"  ?𞊞)
+ ("j"  ?𞊝)
+ ("k"  ?𞊔)
+ ("l"  ?𞊠)
+ ("z"  ?𞊣)
+ ("Z"  ?𞊤)
+ ("x"  ?𞊨)
+ ("X"  ?𞊩)
+ ("c"  ?𞊚)
+ ("b"  ?𞊑)
+ ("n"  ?𞊗)
+ ("N"  ?𞊘)
+ ("m"  ?𞊖))
+
 (provide 'indian)
 ;;; indian.el ends here
-- 
2.37.3