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.bugs Subject: bug#52245: Wishlist: cycle input methods Date: Tue, 07 Dec 2021 19:11:45 +0200 Message-ID: <83v900xru6.fsf@gnu.org> References: <874k7rdn17.fsf@gmail.com> <838rx2an87.fsf@gnu.org> <87r1aucc61.fsf@gmail.com> <875ys0flvg.fsf@gmail.com> <871r2oml7o.fsf@gmail.com> 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="27538"; mail-complaints-to="usenet@ciao.gmane.io" Cc: andremegafone@gmail.com, tor.a.s.kringeland@ntnu.no, 52245@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 07 18:12:15 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 1mue0l-0006xx-AQ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Dec 2021 18:12:15 +0100 Original-Received: from localhost ([::1]:48976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mue0j-0003iv-Cp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Dec 2021 12:12:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mue0Y-0003id-CQ for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2021 12:12:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mue0Y-0005ht-2z for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2021 12:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mue0X-0005Pt-Mv for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2021 12:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Dec 2021 17:12:01 +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.163889711420803 (code B ref 52245); Tue, 07 Dec 2021 17:12:01 +0000 Original-Received: (at 52245) by debbugs.gnu.org; 7 Dec 2021 17:11:54 +0000 Original-Received: from localhost ([127.0.0.1]:38522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mue0P-0005PT-R0 for submit@debbugs.gnu.org; Tue, 07 Dec 2021 12:11:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mue0M-0005PE-3M for 52245@debbugs.gnu.org; Tue, 07 Dec 2021 12:11:53 -0500 Original-Received: from [2001:470:142:3::e] (port=49338 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mue0G-0005gN-EW; Tue, 07 Dec 2021 12:11:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=mlpHTk1UiT6X1Z0Hlnu+fsX//tHPTUKTI00dY2oqHas=; b=QYtJ23Ls7zGEaQyoVXoV 0FxUMvxGGcylm628BKInMCQ/vvPgLHm/IJcNZNhxSNFrpuinHZDGYCfIa4odB8t1KeHwevVRiEPrY xMGe1tKL8dvktigAWhrSIlSWfbxsT9qcFuN7fXmFLYtK5cQDS13yFGI0xjLGHKSQbocKl1YIo4hEJ gP4CluY2hC+0kv08gyRQVNWt+kJm4N7R/P1zF8wKqY8Rjmw+/hzv2YYxi6K7mdgnHxZ7SmCWMTXtV UhSPuGOXlsRVUBGXd7wjWyd+jPvSHF4sRbtlIgTMl0MczzdBsScW2FcHQCVxAyv4tCXgm6fEMjbpR einBIXN332gTRw==; Original-Received: from [87.69.77.57] (port=3139 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 1mue0G-0002TW-7f; Tue, 07 Dec 2021 12:11:44 -0500 In-Reply-To: <871r2oml7o.fsf@gmail.com> (message from Robert Pluim on Tue, 07 Dec 2021 17:30:19 +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:221855 Archived-At: > From: Robert Pluim > Cc: Eli Zaretskii , tor.a.s.kringeland@ntnu.no, > 52245@debbugs.gnu.org > Date: Tue, 07 Dec 2021 17:30:19 +0100 > > André> If I understand correctly, we're not discussing variables but commands. > André> Eli urges that it's import to keep C-\ as a toggle, and to add another > André> command to cycle the ring. Seems fair to me, so that the old behaviour > André> is preserved. > > We can keep C-\ as a toggle, 100% identical to how it works today. All > people who have customized `default-input-method' to a single value > have to do is nothing whatsoever. > > If weʼre now saying we want a separate command that cycles through a > list of input methods, then we might as well add a separate user > option for that list (and then we could add *another* user option > called input-method-toggle-or-cycle to indicate which command should > be used for C-\) > > 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.