From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arun Isaac Newsgroups: gmane.emacs.bugs Subject: bug#58070: [PATCH] Add tamil99 input method Date: Wed, 28 Sep 2022 01:49:17 +0530 Message-ID: <874jwso9iy.fsf@systemreboot.net> References: <20220925100020.13229-1-arunisaac@systemreboot.net> <20220925100244.13482-1-arunisaac@systemreboot.net> <87h70vsmyd.fsf@gmail.com> <87ill9ony7.fsf@systemreboot.net> <83sfkdjpyf.fsf@gnu.org> <87leq5dzkt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18573"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58070@debbugs.gnu.org To: Visuwesh , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 27 22:44:07 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 1odHR1-0004cj-2g for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Sep 2022 22:44:07 +0200 Original-Received: from localhost ([::1]:34292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odHQz-00049o-PW for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Sep 2022 16:44:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odH3i-0004PS-Nz for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2022 16:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57791) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odH3i-0003BU-Ev for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2022 16:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odH3i-0005uF-93 for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2022 16:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Sep 2022 20:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58070 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58070-submit@debbugs.gnu.org id=B58070.166430997122657 (code B ref 58070); Tue, 27 Sep 2022 20:20:02 +0000 Original-Received: (at 58070) by debbugs.gnu.org; 27 Sep 2022 20:19:31 +0000 Original-Received: from localhost ([127.0.0.1]:56869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odH3D-0005tN-1R for submit@debbugs.gnu.org; Tue, 27 Sep 2022 16:19:31 -0400 Original-Received: from mugam.systemreboot.net ([139.59.75.54]:54086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odH39-0005tC-Bl for 58070@debbugs.gnu.org; Tue, 27 Sep 2022 16:19:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vIlExPfJXX+4zhLAYTNSL8cwHQaKw0VQF7vNG9Ps5PQ=; b=E7XYgufdMvCtHCA6oN28vJxVUT fPmNcnCQD69NohK4PB7E6QteCFu/DAIFrYNhkDqPZWTTQ4IuW8GxFNrxJezQc0C7aCNKQr+5RMd6v kMzNNGfOZoQPe2XB6TSaLKJBklgxlnGm4SzjDXG9JJVFkO8Ei2zR4/7DSI+RkmftiSz9+fUN0yAs8 hwXZgdrHJbxoytQT0ibjRDe5OFGx16z56D3AUhWn2Pdaoo492+Bsc8cZZuGEXvt1JUBWszLkuty9U tCtzpkeiQ4b3SwolZ12VqpyU1jlBK5thlWxeCMbP0XZv/8pWe7NOVFX5iI+3dqoXu2MNGhlarPY3d f2LHxpgQ==; Original-Received: from [192.168.2.1] (port=51434 helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1odH34-000fw6-1V; Wed, 28 Sep 2022 01:49:22 +0530 In-Reply-To: <87leq5dzkt.fsf@gmail.com> 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:243764 Archived-At: > So in the quail-map, you have rules like "h" =3D =E0=AE=95, "d" =3D =E0= =AE=89, "hd" =3D =E0=AE=95=E0=AF=81 > which works great until you run into a situation like Eric described > in emacs-devel here: > https://yhetil.org/emacs-devel/87a66ori6g.fsf@gmail.com/T/#m5b261c1a7bb06= c7c074fdcdb746fb53ab7af1aa1 The problem Eric raises for the Tex IM is much less pronounced for tamil99. Unlike long key sequences such as [\alpha] in the Tex IM, key sequences in tamil99 are never more than 2 keys long. That said, I think there is also a problem with the way out of sequence vowel insertion is achieved in your implementation. Let me illustrate with an example. If I entered the key sequence [has], I would get [=E0=AE= =95=E0=AE=87], but if I followed it up with a [ s], I would get [=E0=AE=95=E0= =AE=BF]. In other words, the key sequences [has] and [has s] don't produce the same result. Likewise, [had] and [has d] do not produce the same result. And, so on. This inconsistency can trip up the user. There are many possible key sequences that can compose the same character, and it is not possible to reliably infer how a character was composed by only looking at the contents of the buffer. That information is simply not in the buffer. The ambiguity in this situation is unresolvable, and it is not possible to fix this in any way.