From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56323: 29.0.50; [v2] Add new customisable phonetic Tamil input method Date: Sat, 02 Jul 2022 09:35:56 +0300 Message-ID: <83o7y8c983.fsf@gnu.org> References: <87pmiqe4da.fsf@gmail.com> <878rpdq99n.fsf@gmail.com> <83fsjldl2b.fsf@gnu.org> <87tu81osgp.fsf@gmail.com> <83czepdj0z.fsf@gnu.org> <87pmioq51w.fsf@gmail.com> <831qv4erwf.fsf@gnu.org> <87r134aiwd.fsf@gmail.com> <83wncwd7gy.fsf@gnu.org> <8735fkkvqd.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17133"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56323@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 02 08:37:22 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7Wks-0004Id-7s for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Jul 2022 08:37:22 +0200 Original-Received: from localhost ([::1]:34780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7Wkq-0002tO-Op for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Jul 2022 02:37:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7WkY-0002t6-P1 for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2022 02:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7WkY-00012M-Gc for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2022 02:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7WkY-0003UD-Bz for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2022 02:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jul 2022 06:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56323-submit@debbugs.gnu.org id=B56323.165674377313338 (code B ref 56323); Sat, 02 Jul 2022 06:37:02 +0000 Original-Received: (at 56323) by debbugs.gnu.org; 2 Jul 2022 06:36:13 +0000 Original-Received: from localhost ([127.0.0.1]:39571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7Wjl-0003T4-6n for submit@debbugs.gnu.org; Sat, 02 Jul 2022 02:36:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7Wjh-0003Sm-Ss for 56323@debbugs.gnu.org; Sat, 02 Jul 2022 02:36:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Wjc-0008By-KW; Sat, 02 Jul 2022 02:36:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KDeOuEGY4XIr87X22yU3tKdNql6bAF/8+nyYRbDmLMo=; b=jJdxWml/bN++ 1bydNqV4Rwsg2ZMwxEN4p/gLz2RO8WXshzCVjzUF2x7L3W2R6UR9DeWGV0EJPS7T2WNjXEX+aLsZF xjt7k7iQnmK8epzYb/MGRaw5+GKAP98FPbc1v4BckSzvLZMn61EYR/ITYjgAHHz7v0HAgGlIrDMFa 0Kc6op1ujV6SqYXFBnvLeX5YiCT58Z4eDccfPWNjijFuWcIiQbzaCt1xJ6SwqKQaWlojagAkw2EEY Fhyc6lx0Y+V5vDuk3z9NNoD96fP9OLpDwG0DjQlNK3uM8ZUjDrPjRB40K9N1B84GoemV+UeHvfuOI P8bgcczTS3KZQ0xJHq7oBw==; Original-Received: from [87.69.77.57] (port=2218 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7WjY-0002i1-Ef; Sat, 02 Jul 2022 02:36:01 -0400 In-Reply-To: <8735fkkvqd.fsf@gmail.com> (message from Visuwesh on Sat, 02 Jul 2022 09:32:34 +0530) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235850 Archived-At: > From: Visuwesh > Cc: 56323@debbugs.gnu.org > Date: Sat, 02 Jul 2022 09:32:34 +0530 > > > Please tell what is the actual order of the characters. That is, > > where is that order defined, and by what criteria? > > I'm not sure what you mean "where is that order defined," I don't think > there is a definition per se, it just happens to be so. > > There are two "classes" of consonants: those that are part of Tamil > (let's call them "core") and those borrowed from Sanskrit. When one > writes the consonants in order, the core consonants come first then the > Sanskrit ones. You can find the order of the core consonants in > wikipedia here in the table titled "Tamil consonants": > https://en.wikipedia.org/wiki/Tamil_script#Letters > > We need not worry too much about the order of Sanskrit consonants, we > just need to ensure that they come after the core consonants. You can > find these Sanskrit consonants in the table titled "Grantha consonants > in Tamil" in the same link. > > I hope this is clear. > > As for the criteria, it is simply "Tamil consonants then the Sanskrit > consonants." Then your comparison function should first see whether a character is in the former or the latter group, and use string-lessp or character codepoint comparison with each group, right? But that's not what you did, so I wonder whether my understanding is correct.