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: Android input methods Date: Tue, 14 Feb 2023 19:01:34 +0200 Message-ID: <83k00kchap.fsf@gnu.org> References: <83r0uvghw7.fsf@gnu.org> <87k00nyo60.fsf@yahoo.com> <83ilg7gdjj.fsf@gnu.org> <87bklyzyyj.fsf_-_@yahoo.com> <83a61iho6r.fsf@gnu.org> <87ttzqxq3f.fsf@yahoo.com> <83cz6dfzet.fsf@gnu.org> <87edqtws0w.fsf@yahoo.com> <835yc5fvd1.fsf@gnu.org> <87r0utuhyu.fsf@yahoo.com> <83sff8co6v.fsf@gnu.org> <87ttzoth22.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7254"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 14 18:03:03 2023 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 1pRyhq-0001go-T2 for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Feb 2023 18:03:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRygo-0006BJ-AI; Tue, 14 Feb 2023 12:01:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRygm-0006An-O8 for emacs-devel@gnu.org; Tue, 14 Feb 2023 12:01:56 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRygm-0007PY-Eu; Tue, 14 Feb 2023 12:01:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jKrOMZfH2o6Bk66NT6KBioQQ723sX+bPXBxjg8s+Aq4=; b=HPhD3gD2keS+ ZfTYnx7qJznqpQKhJiE+GhpaHXpzxZeqrWOExbpJYRwumMyH7y8ebARjm7a5Hq8oOoqWWjooNeAJB WbuCaZFSkcaoU8G81ljTR5ejoXJ1ZbqBg2eqr4DKeKWl5OwLZloyLAzJBn5EG1ef/1XOS34zPpE3r H7K4pj3Cd4jHLNAeYc4ygUNHw6WoekFnzG1KA6Ytyt3+uyJzsXAlgiP02q1jq7Sfe+ZgJLHZ3Wde8 thgKBCQC2x2fd5tBrWjFLch9hfsClKyRrdEj2WQz7CJ9gcQhMJLuefy5iqtZMxDdY1TYtuO+/NXhe 7VIG125SEbGMyX54V95okw==; Original-Received: from [87.69.77.57] (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 1pRygl-0003LR-Nj; Tue, 14 Feb 2023 12:01:56 -0500 In-Reply-To: <87ttzoth22.fsf@yahoo.com> (message from Po Lu on Tue, 14 Feb 2023 23:14:45 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303282 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Tue, 14 Feb 2023 23:14:45 +0800 > > Eli Zaretskii writes: > > > Which is why IME should be turned off in that case. For comparison, > > no one in their right mind will type "mmm" in that case while some > > Leim input method is active, right? > > Yes. I've not had the time to check, but all of these modes derive from > `special-mode' now, right? They should. But note that those modes could enter recursive-edit in the minibuffer or elsewhere, and let users edit parts of the display, in which case we do want the IME back on. > > Don't know yet. I suggest to have some variable that Lisp can bind to > > control this. Then we'll find the cases where it is needed as we go. > > OK, I will implement input method support along the lines of what was > discussed here. Thanks. I understand that, if single-key input is expected, we are talking about some intermediate hidden buffer, used to compare what the IME produces with what was there before, and emit synthetic keystrokes, is that right?