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:56:21 +0530 Message-ID: <871qrwo976.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30446"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58070@debbugs.gnu.org, visuweshm@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 27 22:53:58 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 1odHaX-0007fe-GM for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Sep 2022 22:53:58 +0200 Original-Received: from localhost ([::1]:36408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odHaW-0006bZ-HT for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Sep 2022 16:53:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odHAU-0006hB-Hh for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2022 16:27:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odHAU-0004RQ-99 for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2022 16:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odHAU-000671-3b for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2022 16:27: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:27: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.166431039323456 (code B ref 58070); Tue, 27 Sep 2022 20:27:02 +0000 Original-Received: (at 58070) by debbugs.gnu.org; 27 Sep 2022 20:26:33 +0000 Original-Received: from localhost ([127.0.0.1]:56881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odHA1-00066F-CU for submit@debbugs.gnu.org; Tue, 27 Sep 2022 16:26:33 -0400 Original-Received: from mugam.systemreboot.net ([139.59.75.54]:48292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odH9y-000662-DW for 58070@debbugs.gnu.org; Tue, 27 Sep 2022 16:26:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding: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=d8PWFBlgAt5BiZBbVvFwe1SuHhd92t33caB+Wqgu5kI=; b=WJJ4W0W7UhQLQPRVAUQj6Kyp43 q2yFaxee5RxBc+Mz6NWrlWRJT/lbllEn2DAuBoRxGFVcQDL7IWi8UTFSgTXLEFkvuAU10w5dzYusD N6WP98viNl7BdqPDl+frnN1YTQVHa483S4FPiD558NlyXO9hhbHdQQGyjyYStl2ORYSzXMJK+LSec 8xgTrteuWtk8rGHjpY9awRmQM+UrOv3y3IeKqurv8snpq09/BkJBcpKelYE5b2WFGUJdORQFZd85P XF1cqKE6zEszBUr7hQHGEWc5gzXVBW8XFkDcd7AhCwHJTfJVQV3lFnc1nOgeSA5R5SQazXGymTKWO XJ7f0MOw==; Original-Received: from [192.168.2.1] (port=52342 helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1odH9u-000fwn-00; Wed, 28 Sep 2022 01:56:26 +0530 In-Reply-To: <83sfkdjpyf.fsf@gnu.org> 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:243765 Archived-At: >> Also, while the out-of-sequence vowel insertion is a very clever >> feature, it shouldn't be required at all if we handled grapheme cluster >> boundaries correctly. See >> https://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries > > Well, we do, that's why cursor motion moves by grapheme clusters, > right? That makes sense and must be right. But backspace should also handle grapheme clusters. > There's a problem with the above: in some situations you want deletion > by codepoints, in others you want deletion by grapheme clusters. (It > is possible that with Tamil the former is rarely the case, but it is > definitely a frequent case with other scripts, in particular with > those that have diacriticals.) Emacs 29 solves this by having > delete-forward-char, which is usually bound to the key, > delete by grapheme clusters, while DEL (which deletes backward) and > C-d delete individual codepoints. The primary motivation for DEL to > delete by codepoints is that it allows you to make sub-grapheme > corrections to stuff you just typed, for example if you typed an > incorrect accent. > > Emacs 29 also has the composition-break-at-point variable, which you > could set non-nil, in which case will also work by > codepoints. I see. You're saying that the deletion by grapheme clusters or by codepoints may be a matter of preference. In that case, it would be nice to have a variable similar to composition-break-at-point that would enable deletion by grapheme clusters.