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: not quite understanding input methods Date: Mon, 30 Aug 2021 22:08:55 +0300 Message-ID: <838s0ikawo.fsf@gnu.org> References: <231adc63-77f0-037a-365c-28db98f684cf@piermont.com> <7343dfd2-05d5-0752-8e43-cd44d6394963@piermont.com> <356c5a4b-92af-ae1c-a39a-f68586807be1@piermont.com> <390f5e5a-4952-5ccf-3d61-048e4049cd25@piermont.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26173"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "Perry E. Metzger" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 30 21:09:47 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 1mKmfD-0006Wv-C6 for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Aug 2021 21:09:47 +0200 Original-Received: from localhost ([::1]:36290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKmfB-0002Uo-9E for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Aug 2021 15:09:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKmeY-0001m0-BL for emacs-devel@gnu.org; Mon, 30 Aug 2021 15:09:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58190) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKmeY-0000WY-3x; Mon, 30 Aug 2021 15:09:06 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2812 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 1mKmeX-0007re-Kn; Mon, 30 Aug 2021 15:09:05 -0400 In-Reply-To: <390f5e5a-4952-5ccf-3d61-048e4049cd25@piermont.com> (perry@piermont.com) 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:273535 Archived-At: > Date: Mon, 30 Aug 2021 15:00:21 -0400 > From: "Perry E. Metzger" > > Having thought about this, is `read_char` actually going to be called > under these circumstances? Remember that I've bound "" to a > function that inserts a character into the buffer, and it is that > character in the buffer that is in the quail rule. I may be confused > about how all of this works, of course. Before a key sequence bound to a command causes that command to be invoked, it (the key sequence) must be read, and that's the job of read_char. Only after F19 is read, Emacs calls the command to which you bound it, and that command inserts a character into the buffer.