From: Robert Pluim <rpluim@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: andremegafone@gmail.com, tor.a.s.kringeland@ntnu.no,
52245@debbugs.gnu.org
Subject: bug#52245: Wishlist: cycle input methods
Date: Wed, 08 Dec 2021 10:40:01 +0100 [thread overview]
Message-ID: <87a6hbqvta.fsf@gmail.com> (raw)
In-Reply-To: <83v900xru6.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 07 Dec 2021 19:11:45 +0200")
>>>>> On Tue, 07 Dec 2021 19:11:45 +0200, Eli Zaretskii <eliz@gnu.org> said:
>> 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.
Eli> The use case that I have in mind is this: even if the user customized
Eli> the list of input methods to include more than just one, there could
Eli> be situations where the user needs to use just one input method when
Eli> typing. In such situations, it would be good to have a way of
Eli> toggling, like we do now, instead of cycling through all the other
Eli> methods.
Eli> Any reasonable solution to this use case would be welcome. I'm
Eli> working with systems which allow you to do something like that, and it
Eli> frequently annoys me to have to cycle through all the keyboard layouts
Eli> I defined, just to be able to toggle between US English and some other
Eli> language. So I wish that Emacs didn't have such an annoying problem,
Eli> if possible.
Hmm, so how about:
- default-input-method is an atom
⇒ C-\ behaves as a toggle
- default-input method is a list
⇒ C-\ cycles through them and back to nil
⇒ C-\ with a prefix arg behaves as today, prompting
for an input method. C-\ again deactivates the input method
- C-u C-u C-\ just unconditionally deactives the current input method,
regardless of the value of default-input-method. Or would 'any
negative prefix arg' suit better?
I now think having the history automatically be part of the list of
values to cycle through would not be a good idea: that history can get
large, and it can contain duplicates (by default), so trying to reach
the end of your default-input-method list could be annoying.
Robert
--
next prev parent reply other threads:[~2021-12-08 9:40 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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a6hbqvta.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=52245@debbugs.gnu.org \
--cc=andremegafone@gmail.com \
--cc=eliz@gnu.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.