bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52245: Wishlist: cycle input methods


From: André A . Gomes
Subject: bug#52245: Wishlist: cycle input methods
Date: Tue, 07 Dec 2021 15:51:40 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

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"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]