From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes Newsgroups: gmane.emacs.bugs Subject: bug#52245: Wishlist: cycle input methods Date: Tue, 07 Dec 2021 15:51:40 +0000 Message-ID: <87czm8fm5v.fsf@gmail.com> References: <874k7rdn17.fsf@gmail.com> <838rx2an87.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="28891"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: 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 Tue Dec 07 16:52:13 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 1muclI-00079y-Jm for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Dec 2021 16:52:12 +0100 Original-Received: from localhost ([::1]:41928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muclG-0008Eg-OL for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Dec 2021 10:52:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mucl9-0008E6-Dm for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2021 10:52:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mucl8-0000lO-Ky for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2021 10:52:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mucl8-0003JE-Ao for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2021 10:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Dec 2021 15: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.163889231212703 (code B ref 52245); Tue, 07 Dec 2021 15:52:02 +0000 Original-Received: (at 52245) by debbugs.gnu.org; 7 Dec 2021 15:51:52 +0000 Original-Received: from localhost ([127.0.0.1]:38464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mucky-0003Ip-Ek for submit@debbugs.gnu.org; Tue, 07 Dec 2021 10:51:52 -0500 Original-Received: from mail-wr1-f44.google.com ([209.85.221.44]:46001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muckt-0003IZ-Qd for 52245@debbugs.gnu.org; Tue, 07 Dec 2021 10:51:51 -0500 Original-Received: by mail-wr1-f44.google.com with SMTP id o13so30343825wrs.12 for <52245@debbugs.gnu.org>; Tue, 07 Dec 2021 07:51:47 -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 :user-agent:mime-version:content-transfer-encoding; bh=vZfPCSXKNq2btlhvE5LTrlGqZXwab0FBQXCky2BSMNc=; b=ItpJj3pq0iJQf1ToaZmqEs5U7cq8GnQ8EucXFGOX0/gewlcpRqIZF37VREM8coKEg2 vNf0wxs0akKlF9V3HIbHIdC3UL9t0reZGdc2z8t3eGfz2QLrgc0zM/wZaJyBjJjYhVGv IZhPhNyY/L+EsZY4ELxMbFy6m0IhMF+gkEF1GmUzAq3jsjyu+oQZT7zHngjABfzCnvoy BIExhZZ5MwEAOF/N+AA+EEtZfQQjCAnf+8Ry5WnI0mf7BsI+lQOEJvsBHYdZSsmFNxsw sEs9G95IjcVgz1v0gw1iBtzuvneCH2Dt9Es4wzF+JH84Eudw/9ARNB2XmNgnJj2uVxru +8bA== 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:user-agent:mime-version:content-transfer-encoding; bh=vZfPCSXKNq2btlhvE5LTrlGqZXwab0FBQXCky2BSMNc=; b=u37bAefJykuQxYowQan+fMyNWNArZjdPP0CxhyDoTrZ6J700n9/UDLpRwmvKROdgwt bSMH8Oj+X1wWwO0cVmfG3T7kupCYv2RZsXHWZ3R1iC9LhDTU6B/71x/BT9YZd8OPZlM6 hg61u6tq8ieM5LKIwU/IBofJ97xVMEPBUSZctMdGgzH2EdXhYQ5n2yz6vujk9qC6c+Ss y7TS7ExTuB8DeorPbjU+8j+t4rVxyUw4otALKl0oer92eb2gNwo8yH+hkJMQp45bg+AK vBDmtLDAluvsttwh3ahPWHWdxmsJZ/jMDVMRhoa5IxVQvjKWW8C2ihb/jNhHQRgBQkC2 84uw== X-Gm-Message-State: AOAM5321ZC7T5OMefMNCuxCDkbF2ZTTuRJkQyP/GCQqHenD09I+DBnS/ HJgA9EJph/iiFc0yFcrjea5pscr/JDybbA== X-Google-Smtp-Source: ABdhPJwUuD/KHL6k6LHuLp8nqj6PY+sREj8FYH8iWa0uKU4fFIspevFxzg6CIc8fgfVE/I405FiKaA== X-Received: by 2002:a5d:6d8a:: with SMTP id l10mr51416297wrs.232.1638892301816; Tue, 07 Dec 2021 07:51:41 -0800 (PST) Original-Received: from guix-xps13 ([2001:818:daa9:6700:462d:384e:6de8:4a1c]) by smtp.gmail.com with ESMTPSA id z5sm3874484wmp.26.2021.12.07.07.51.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Dec 2021 07:51:41 -0800 (PST) In-Reply-To: <838rx2an87.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Dec 2021 20:14:00 +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:221846 Archived-At: Eli Zaretskii writes: >> From: Robert Pluim >> Date: Thu, 02 Dec 2021 16:49:56 +0100 >> Cc: 52245@debbugs.gnu.org >> >> `default-input-method' is currently either nil or an input method to >> use for `toggle-input-method'. Extend it to allow it to be a list to >> cycle through, containing either >> >> - input-method symbols >> - the symbol 'input-method-history >> >> So you could have eg >> >> '(latin-prefix input-method-history czech) >> >> If input-method-history contained 'polish, then cycling would go >> >> latin-prefix -> polish -> czech -> no input method > > That's okay, but we should have this as an optional behavior, so that > people could still toggle only between some input method and no input > method with a single C-\, even if they defined a list of them. I agree, but there's a minor detail. C-\ should not toggle between nil and the last selected input method, but between the last selected input method and `default-input-method`, which might be non-nil. -- Andr=C3=A9 A. Gomes "Free Thought, Free World"