From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#52245: Wishlist: cycle input methods Date: Wed, 08 Dec 2021 15:51:18 +0100 Message-ID: <87sfv3p2u1.fsf@gmail.com> 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> <87a6hbqvta.fsf@gmail.com> <83o85rw7ma.fsf@gnu.org> <87wnkfp5xi.fsf@gmail.com> <83h7bjw4ox.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: andremegafone@gmail.com, tor.a.s.kringeland@ntnu.no, 52245@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 08 15:52:18 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 1muyIs-00078H-Gs for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 15:52:18 +0100 Original-Received: from localhost ([::1]:58962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muyIr-0005x0-0O for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 09:52:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muyIc-0005ry-Nf for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 09:52:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muyIc-0005jK-Fe for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 09:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1muyIc-0001DH-6z for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 09:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Dec 2021 14:52: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.16389750894624 (code B ref 52245); Wed, 08 Dec 2021 14:52:02 +0000 Original-Received: (at 52245) by debbugs.gnu.org; 8 Dec 2021 14:51:29 +0000 Original-Received: from localhost ([127.0.0.1]:39864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muyI5-0001CW-80 for submit@debbugs.gnu.org; Wed, 08 Dec 2021 09:51:29 -0500 Original-Received: from mail-wm1-f50.google.com ([209.85.128.50]:42577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muyI2-0001CI-RD for 52245@debbugs.gnu.org; Wed, 08 Dec 2021 09:51:27 -0500 Original-Received: by mail-wm1-f50.google.com with SMTP id d72-20020a1c1d4b000000b00331140f3dc8so1966819wmd.1 for <52245@debbugs.gnu.org>; Wed, 08 Dec 2021 06:51:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=YPSEol4YlceKThET+Qjyaj4CJ7K5yPd5eQ/e6vzRjaw=; b=h+ZYuXCIJ9hTuHoLCVZY6IwKPTVhpdMDfTPs60vPH61U/Tpy0AHlclh+8TWeEJJ08R Jpe9FcSXcICwD697YLknYPfHpZgXLWCfcBPnkBw3369ZxzAdJh+0wci+Is6h7XSvwlhn OHP0bOCdjg4M3pcWRrm9LT96hR/jJDYOPERNoOjSloGqQnX+fhGzV9L+K62nZ+P2MuVt refWnsqZmEPsPmD3dkMzumvZnTjOE3TQvhdlxi2wDuL/w81QPqrI3WREjta2Dcqzz04e 9ESUwD7qDn5UYz9X5yAkRER4dLzIoQAQTuQ+8BYYPPPpRHciNZqa73qWjc69JBCsL/Wr EejA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=YPSEol4YlceKThET+Qjyaj4CJ7K5yPd5eQ/e6vzRjaw=; b=ZFHzwUvXD6xt17j8F+B50woSZhO8iMdsOFwrkQBn/9XCCx2B6emhivo4XmbrCqsP5l uyV7eiCcml8jm4zlw94REIdkfhZPXESx4zh4HzYx7xmv2fN74qyYVmDuVsu3mWTx2xRj Mrs2gCV1hdTOE7rWgzY9b1et/0UULrwheIS8cZU2SpBczf8Tmd6GuBFP02S6aEHOHo3t RTfn7XP+XU59SMY0dthxaMabDHyRcgaB97DbwPYSX2+MOJ8sUfw+lvnldjqK9Ft0XD75 2OiMFj7P4fqPbNLbY5QpKM/0ZjLyP+7M6ytvnS+KJvExJozTigkq2+OJEw6i1UaG2EmN 9uYg== X-Gm-Message-State: AOAM533KsVVCdD8K98AclYr0p9Mc8QrVCfKOjiyaRWcVXg5Bj9R2jPiJ FDUE+nhmlf9swaSzfjGdi+b3AdXf8/M= X-Google-Smtp-Source: ABdhPJz4bOUCwcukCXEQ+o/esANJ3cn9WKn8JkFPcB+s1ZkXbfq6c4otHb5tWUpDbZxW0QeIg2rwCw== X-Received: by 2002:a1c:7715:: with SMTP id t21mr16336128wmi.183.1638975080479; Wed, 08 Dec 2021 06:51:20 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:e06b:fb08:141a:5ed3]) by smtp.gmail.com with ESMTPSA id az15sm2952997wmb.0.2021.12.08.06.51.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Dec 2021 06:51:19 -0800 (PST) In-Reply-To: <83h7bjw4ox.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 08 Dec 2021 16:29:18 +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:221931 Archived-At: >>>>> On Wed, 08 Dec 2021 16:29:18 +0200, Eli Zaretskii said: >> From: Robert Pluim Eli> Sounds good, but I don't understand how you will pull out the tric= k in Eli> the last sentence. How will Emacs know to "just deactivate" inste= ad Eli> of cycling? >>=20 >> Similar to how it knows to toggle today, by storing an "I was >> activated via prefix" state in a defvar-local state variable. Eli> Hmm... so just C-\ to activate is not enough to cause the toggle b= ack? No, because you need to distinguish "I=CA=BCm cycling through default-input-method" from "previous invocation used prefix", since in the former you need to look up the current input method in default-input-method and then activate the next one. Hmm, what do we expect for the following sequence, assuming default-input-method of '(a b c), and no input method activated. 1. C-\ ; activates a 2. C-u C-\ d RET ; activates d 3. C-\ ; back to a, I guess 4. C-\ ; activates b Or do we want step 3 to be 'deactivate input method'? >> What did you think of the C-u C-u C-\ suggestion to mean "always >> deactivate"? Or do you feel it=CA=BCs unnecessary? Eli> Given the above, some way of turning off the input method is Eli> necessary, I think. Escape hatches are always good, especially if we end up with confusing behaviour :-) Robert --=20