unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
Cc: 50143@debbugs.gnu.org
Subject: bug#50143: 28.0.50; Various issues with `tamil-itrans' input method
Date: Sun, 22 Aug 2021 10:28:06 +0300	[thread overview]
Message-ID: <83fsv2x7jt.fsf@gnu.org> (raw)
In-Reply-To: <TY2PR0101MB3693C9830A64D37A446374B3DAC29@TY2PR0101MB3693.apcprd01.prod.exchangelabs.com> (message from Ramesh Nedunchezian on Sat, 21 Aug 2021 14:55:23 +0530)

> From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
> 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.





  reply	other threads:[~2021-08-22  7:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-21  9:25 bug#50143: 28.0.50; Various issues with `tamil-itrans' input method Ramesh Nedunchezian
2021-08-22  7:28 ` Eli Zaretskii [this message]
2022-02-15 12:01   ` Visuwesh
2022-02-16 17:36     ` Eli Zaretskii
2022-02-17  2:14       ` Visuwesh
2022-02-17  6:33         ` Eli Zaretskii
2022-02-17 10:53       ` Visuwesh
2022-02-17 17:30         ` Eli Zaretskii
2022-02-18  1:01           ` Visuwesh
2022-02-18  7:58             ` Eli Zaretskii
2022-03-13  5:51           ` Visuwesh
2022-03-13  5:59             ` Visuwesh
2022-03-13  6:35               ` Eli Zaretskii
2022-03-13  7:16                 ` Visuwesh
2022-03-13  8:23                   ` Eli Zaretskii
2022-03-13  9:01                     ` Visuwesh
2022-03-13  9:41                       ` 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=83fsv2x7jt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=50143@debbugs.gnu.org \
    --cc=rameshnedunchezian@outlook.com \
    /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).