unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "समीर सिंह Sameer Singh" <lumarzeli30@gmail.com>
To: 58181@debbugs.gnu.org
Subject: bug#58181: [PATCH] Add support for Toto script
Date: Fri, 30 Sep 2022 01:42:29 +0530	[thread overview]
Message-ID: <CAOR1sLxLein7k7B3OBuiMa_TG=NpxiOz9AxWYF9picg+ktzNkA@mail.gmail.com> (raw)
In-Reply-To: <CAOR1sLwKq=vPa+z_5rGa7uEcgM8yqQKZxo5BvWRhuJroCAwjjw@mail.gmail.com>


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

On Fri, Sep 30, 2022 at 1:39 AM समीर सिंह Sameer Singh <
lumarzeli30@gmail.com> wrote:

> The Toto script is added to Emacs this time.
>
> Please review the patch.
> Thanks
>

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

[-- Attachment #2: 0001-Add-support-for-the-Toto-script-bug-58181.patch --]
[-- Type: text/x-patch, Size: 3290 bytes --]

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?= <lumarzeli30@gmail.com>
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


  reply	other threads:[~2022-09-29 20:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-29 20:09 bug#58181: [PATCH] Add support for Toto script समीर सिंह Sameer Singh
2022-09-29 20:12 ` समीर सिंह Sameer Singh [this message]
2022-09-30  6:23   ` Eli Zaretskii
2022-09-30  6:23   ` Eli Zaretskii

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='CAOR1sLxLein7k7B3OBuiMa_TG=NpxiOz9AxWYF9picg+ktzNkA@mail.gmail.com' \
    --to=lumarzeli30@gmail.com \
    --cc=58181@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).