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.devel Subject: Re: How do you write input methods? Date: Tue, 31 Aug 2021 15:02:34 +0300 Message-ID: <83k0k1u8it.fsf@gnu.org> References: <8d1a3c4b-80fd-65c8-70b6-1ab452a52f6a@piermont.com> <87h7f7qa4k.fsf@gmail.com> <83mtozj5bg.fsf@gnu.org> <87fsuqofoo.fsf@gmail.com> 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="18200"; mail-complaints-to="usenet@ciao.gmane.io" Cc: perry@piermont.com, emacs-devel@gnu.org To: =?utf-8?Q?Andr=C3=A9?= A. Gomes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 31 14:04:27 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mL2V9-0004UR-G9 for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Aug 2021 14:04:27 +0200 Original-Received: from localhost ([::1]:41952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mL2V7-0005kL-S7 for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Aug 2021 08:04:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mL2TX-0004U1-Ib for emacs-devel@gnu.org; Tue, 31 Aug 2021 08:02:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60274) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mL2TX-0006W5-2r; Tue, 31 Aug 2021 08:02:47 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3170 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 1mL2TP-0005ie-E8; Tue, 31 Aug 2021 08:02:41 -0400 In-Reply-To: <87fsuqofoo.fsf@gmail.com> (message from =?utf-8?Q?Andr=C3=A9?= A. Gomes on Mon, 30 Aug 2021 23:12:07 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:273578 Archived-At: > From: André A. Gomes > Cc: emacs-devel@gnu.org, perry@piermont.com > Date: Mon, 30 Aug 2021 23:12:07 +0300 > > When I worked on this, I tried to imagine how it could potentially be > integrated into Emacs. I see two alternatives. > > Here's how I think it should be done. It makes little sense that all > IMs are defined with quail, expect for CJK and other "complex" ones. > But the "simple" ones should use always robin. Nothing would change for > the user, and the above mentioned features would be available "for > free". > > The alternative is to keep all IMs definition, and add the new ones. > Say that those will have "-robin" as suffix. In this scenario, you'll > have, for instance, "russian-computer" (defined with quail) and > "russian-computer-robin" (defined with robin). But they're actually the > same, so it makes little sense. Thanks. I think adding robin-based input methods is the better way of supporting this feature. We cannot easily discontinue support for quail-based input methods, even for non-CJK languages, because people are using them, and the robin-based method will most probably not be 100% compatible.