From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Perry E. Metzger" Newsgroups: gmane.emacs.devel Subject: Re: How do you write input methods? Date: Mon, 30 Aug 2021 12:24:44 -0400 Message-ID: References: <8d1a3c4b-80fd-65c8-70b6-1ab452a52f6a@piermont.com> <83a6kzkvek.fsf@gnu.org> <83sfyrjamd.fsf@gnu.org> <6c543c57-caf5-41ca-7e6e-54694b55aeb0@piermont.com> <83pmtvj5v9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11289"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Thunderbird/92.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 30 18:26:18 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 1mKk6z-0002k4-4H for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Aug 2021 18:26:17 +0200 Original-Received: from localhost ([::1]:46742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKk6y-0007YA-43 for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Aug 2021 12:26:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKk5X-0005BI-5b for emacs-devel@gnu.org; Mon, 30 Aug 2021 12:24:47 -0400 Original-Received: from hacklheber.piermont.com ([2001:470:30:84:e276:63ff:fe62:3400]:35484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKk5V-0004qc-Oz for emacs-devel@gnu.org; Mon, 30 Aug 2021 12:24:46 -0400 Original-Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id 1B1B11CC for ; Mon, 30 Aug 2021 12:24:45 -0400 (EDT) Original-Received: from [10.160.2.107] (jabberwock.cb.piermont.com [10.160.2.107]) by snark.cb.piermont.com (Postfix) with ESMTP id E7BBA2DEC66 for ; Mon, 30 Aug 2021 12:24:44 -0400 (EDT) Content-Language: en-US In-Reply-To: <83pmtvj5v9.fsf@gnu.org> Received-SPF: pass client-ip=2001:470:30:84:e276:63ff:fe62:3400; envelope-from=perry@piermont.com; helo=hacklheber.piermont.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.932, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:273514 Archived-At: On 8/30/21 11:43, Eli Zaretskii wrote: >>> Alas, we don't have anyone like that on board. However, adding simple >>> input methods, like those where you type a small number of ASCII >>> characters to produce a non-ASCII character, is easy enough by looking >>> at existing input methods for various Latin languages. It's pretty >>> much boilerplate code. >> Can you suggest an input method that follows exactly that pattern as a >> model? > Any input method defined in latin-post.el or latin-pre.el, for > example. Those seem to fit the bill nicely, thank you. Perry