From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#44266: Transient input methods Date: Sun, 01 Nov 2020 20:24:10 +0200 Organization: LINKOV.NET Message-ID: <87blgh6jj9.fsf@mail.linkov.net> References: <87o8knao7u.fsf_-_@mail.linkov.net> <87r1pd9m9f.fsf@gnus.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="10808"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 44266@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 01 19:42:17 2020 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 1kZIIz-0002jE-N5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 19:42:17 +0100 Original-Received: from localhost ([::1]:45442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZIIy-0007Xp-OP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 13:42:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZIHq-0006od-19 for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 13:41:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55171) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZIHm-0004W4-NE for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 13:41:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZIHm-0000P4-Ln for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 13:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Nov 2020 18:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44266 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 44266-submit@debbugs.gnu.org id=B44266.16042560441443 (code B ref 44266); Sun, 01 Nov 2020 18:41:02 +0000 Original-Received: (at 44266) by debbugs.gnu.org; 1 Nov 2020 18:40:44 +0000 Original-Received: from localhost ([127.0.0.1]:38469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZIHU-0000ND-3e for submit@debbugs.gnu.org; Sun, 01 Nov 2020 13:40:44 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:38359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZIHS-0000Mt-K4 for 44266@debbugs.gnu.org; Sun, 01 Nov 2020 13:40:43 -0500 X-Originating-IP: 91.129.102.160 Original-Received: from mail.gandi.net (m91-129-102-160.cust.tele2.ee [91.129.102.160]) (Authenticated sender: juri@linkov.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id F0432E0004; Sun, 1 Nov 2020 18:40:34 +0000 (UTC) In-Reply-To: <87r1pd9m9f.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 01 Nov 2020 15:37:00 +0100") 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:192428 Archived-At: >> The following patch addresses such issues of the current input method >> implementation by providing a new feature of transient input methods. > >> A transient input method is enabled temporarily for entering a key sequence, >> and is disabled automatically afterwards. > > I like the idea, I think. But just thinking out loud without having > read the code closely -- would it perhaps be even more useful to have > the transient method in place until you `C-x \' again? > > Then you could > > `C-x \ ... type a couple of words in that method C-x \' This is achievable already by shorter key sequence: `C-\ ... type a couple of words in that method C-\' > I'm not at all sure, but I think that perhaps people would more often > type in a couple of words than just a single key sequence? This feature is intended as an equivalent of the X Compose Multi_key that inserts a single character, whereas X layouts switcher that activates a layout to insert a couple of words corresponds to Emacs non-transient input methods switched by C-\.