unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "André A. Gomes" <andremegafone@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Robert Pluim <rpluim@gmail.com>,
	52245@debbugs.gnu.org, tor.a.s.kringeland@ntnu.no
Subject: bug#52245: Wishlist: cycle input methods
Date: Tue, 07 Dec 2021 15:51:40 +0000	[thread overview]
Message-ID: <87czm8fm5v.fsf@gmail.com> (raw)
In-Reply-To: <838rx2an87.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Dec 2021 20:14:00 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Robert Pluim <rpluim@gmail.com>
>> 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é A. Gomes
"Free Thought, Free World"





      parent reply	other threads:[~2021-12-07 15:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02 15:30 bug#52245: Wishlist: cycle input methods Tor Kringeland
2021-12-02 15:49 ` Robert Pluim
2021-12-02 18:14   ` Eli Zaretskii
2021-12-03  8:42     ` Robert Pluim
2021-12-07 15:57       ` André A. Gomes
2021-12-07 16:30         ` Robert Pluim
2021-12-07 17:11           ` Eli Zaretskii
2021-12-08  9:40             ` Robert Pluim
2021-12-08 13:26               ` Eli Zaretskii
2021-12-08 13:44                 ` Robert Pluim
2021-12-08 14:29                   ` Eli Zaretskii
2021-12-08 14:51                     ` Robert Pluim
2021-12-11 14:31             ` John Ankarström
2021-12-11 20:07               ` André A. Gomes
2021-12-23 18:02             ` Juri Linkov
2021-12-23 18:27               ` Eli Zaretskii
2021-12-23 18:45                 ` Juri Linkov
2021-12-07 15:51     ` André A. Gomes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czm8fm5v.fsf@gmail.com \
    --to=andremegafone@gmail.com \
    --cc=52245@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=rpluim@gmail.com \
    --cc=tor.a.s.kringeland@ntnu.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).