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#50143: 28.0.50; Various issues with `tamil-itrans' input method Date: Sun, 22 Aug 2021 10:28:06 +0300 Message-ID: <83fsv2x7jt.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15412"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50143@debbugs.gnu.org To: Ramesh Nedunchezian Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 22 09:29:15 2021 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 1mHhut-0003nN-30 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Aug 2021 09:29:15 +0200 Original-Received: from localhost ([::1]:41152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHhur-0000Dr-5i for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Aug 2021 03:29:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHhug-0000Bn-Bd for bug-gnu-emacs@gnu.org; Sun, 22 Aug 2021 03:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHhug-0002Mj-0D for bug-gnu-emacs@gnu.org; Sun, 22 Aug 2021 03:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mHhuf-00076x-OZ for bug-gnu-emacs@gnu.org; Sun, 22 Aug 2021 03:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Aug 2021 07:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50143 X-GNU-PR-Package: emacs Original-Received: via spool by 50143-submit@debbugs.gnu.org id=B50143.162961730627291 (code B ref 50143); Sun, 22 Aug 2021 07:29:01 +0000 Original-Received: (at 50143) by debbugs.gnu.org; 22 Aug 2021 07:28:26 +0000 Original-Received: from localhost ([127.0.0.1]:38098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHhu5-000767-T6 for submit@debbugs.gnu.org; Sun, 22 Aug 2021 03:28:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHhu4-00075u-F4 for 50143@debbugs.gnu.org; Sun, 22 Aug 2021 03:28:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41300) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHhty-0001nr-NJ; Sun, 22 Aug 2021 03:28:18 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3865 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 1mHhty-0004aG-AN; Sun, 22 Aug 2021 03:28:18 -0400 In-Reply-To: (message from Ramesh Nedunchezian on Sat, 21 Aug 2021 14:55:23 +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:212395 Archived-At: > From: Ramesh Nedunchezian > Date: Sat, 21 Aug 2021 14:55:23 +0530 > > I am working on `tamil-phonetic.el`, a "Tamil Phonetic Input for > Emacs". See https://github.com/rnchzn/tamil-phonetic and > https://raw.githubusercontent.com/rnchzn/tamil-phonetic/main/tamil-phonetic.el. > I will be submitting this library for inclusion in NON GNU ELPA. Thanks in advance. is there any reason why you couldn't submit this to GNU ELPA or even to Emacs itself? Input methods are generally considered to be the stuff for Emacs core, not for third-party packages. > In preparation for that step, I desire fixes for three issues listed > below. Of these first two are bugs, and the last is an API > enhancement request. > > 1. The `indian-tml-base-table' has no entries for letters ௐ and ஶ. > The fix for this would be to do this: > > (setcar (nthcdr (seq-position (nth 2 indian-itrans-v5-table-for-tamil) '("AUM" "OM") > (lambda (s1 s2) > (when (and (consp s1) (consp s2)) > (string= (car s1) (car s2))))) > (nth 2 indian-tml-base-table)) > ?ௐ) > > (setcar (nthcdr (seq-position (nth 1 indian-itrans-v5-table-for-tamil) "sh" > (lambda (s1 s2) > (when (and (stringp s1) (stringp s2)) > (string= s1 s2)))) > (nth 1 indian-tml-base-table)) > ?ஶ) > > I have chosen entry for "sh" above because of the recommendations > in the following link https://github.com/avinash311/itrans and > https://docs.google.com/spreadsheets/d/14wZl8zCa4khZV3El2VGoqurKBLGx21mbS-yORi4w7Qo/edit#gid=0 I'm not sure I understand how changes to indian-itrans-v5-table-for-tamil could affect indian-tml-base-table. Could you explain what I missed? In any case, please propose the changes to do the above in the form of a patch for lisp/language/ind-util.el. > 2. M-x describe-input-method RET tamil-itrans RET doesn't show the > help table. i.e., instead of saying > > > Uses keymap ‘quail-tamil-itrans-syllable-table’, which is not currently defined. > > it should display the value of `quail-tamil-itrans-syllable-table' > inline. > > The problem is the docstring uses "keymap" syntax, when in actual > fact, that variable in NOT a keymap but a text with some display > properties. > > There are two more such variables that have the same issues as > above variable. > > See the attached screenshot. Again, could you please propose a patch to do this? > 3. `indian-make-hash` ALWAYS installs translation for decimal digits > 0-9. Tamil decimal digits are NOT used at all i.e., it is not even > taught in Schools in the state of TamilNadu, India. So, I wanted a > way NOT to insall the translation for digits. I suggest one of the > following: > > - Change signature of `(indian-make-hash TABLE TRANS-TABLE)' to > `(indian-make-hash TABLE TRANS-TABLE &optional > DONT-INSTALL-NATIVE-DIGITS)' or some such thing. This change of the API is acceptable, so please propose a patch along these lines. > `indian-make-hash' is used by many indic scripts, so I am not > sure if other indian language users would have a need for > inputting native decimal digits. I--as a representative of Tamil > speakers--can say that we don't need that ON by default. We can use this for Tamil only for now, and wait for users of other languages to chime in. Thanks.