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#52245: Wishlist: cycle input methods Date: Thu, 23 Dec 2021 20:02:33 +0200 Organization: LINKOV.NET Message-ID: <86y24b6vye.fsf@mail.linkov.net> References: <874k7rdn17.fsf@gmail.com> <838rx2an87.fsf@gnu.org> <87r1aucc61.fsf@gmail.com> <875ys0flvg.fsf@gmail.com> <871r2oml7o.fsf@gmail.com> <83v900xru6.fsf@gnu.org> 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="21696"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: andremegafone@gmail.com, Robert Pluim , 52245@debbugs.gnu.org, tor.a.s.kringeland@ntnu.no To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 23 19:05:29 2021 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 1n0ST2-0005VB-Mc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Dec 2021 19:05:28 +0100 Original-Received: from localhost ([::1]:58310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0ST1-0005X6-36 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Dec 2021 13:05:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0SSd-0005Wp-Ie for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2021 13:05:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0SSc-00081G-Su for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2021 13:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0SSc-00006A-HH for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2021 13:05: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: Thu, 23 Dec 2021 18:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52245 X-GNU-PR-Package: emacs Original-Received: via spool by 52245-submit@debbugs.gnu.org id=B52245.1640282699367 (code B ref 52245); Thu, 23 Dec 2021 18:05:02 +0000 Original-Received: (at 52245) by debbugs.gnu.org; 23 Dec 2021 18:04:59 +0000 Original-Received: from localhost ([127.0.0.1]:34881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0SSZ-00005r-KQ for submit@debbugs.gnu.org; Thu, 23 Dec 2021 13:04:59 -0500 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:42345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0SSX-00005b-UM for 52245@debbugs.gnu.org; Thu, 23 Dec 2021 13:04:58 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 6D93D200003; Thu, 23 Dec 2021 18:04:49 +0000 (UTC) In-Reply-To: <83v900xru6.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 07 Dec 2021 19:11:45 +0200") 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:222993 Archived-At: >> I guess we could also have C-u C-u C-\ mean 'cycle', but thatʼs >> unergonomic. > > The use case that I have in mind is this: even if the user customized > the list of input methods to include more than just one, there could > be situations where the user needs to use just one input method when > typing. In such situations, it would be good to have a way of > toggling, like we do now, instead of cycling through all the other > methods. > > Any reasonable solution to this use case would be welcome. I'm > working with systems which allow you to do something like that, and it > frequently annoys me to have to cycle through all the keyboard layouts > I defined, just to be able to toggle between US English and some other > language. So I wish that Emacs didn't have such an annoying problem, > if possible. I have the same problem that cycling more than 2 keyboard layouts is annoying. It would be possible to avoid such a problem in Emacs by using numeric prefix arguments, e.g.: C-1 C-\ activates the first input methods in the list of input methods C-2 C-\ second C-3 C-\ third ... C-0 C-\ deactivates the currently active input method