Question
Is there any chance to change in Emacs 23.1.1 a keybinding for (toggle-input-method)
to <Meta+Shift>
or <Alt+Shift>
(because I use <Alt>
as <Meta>
)?
This, obviously, doesn't work:
(global-set-key [(meta shift)] 'toggle-input-method)
Thanks in advance.
Solution
This is pretty much a duplicate question... see elisp how to check if shift key is pressed. Alt and Shift are both key modifiers, and because of that you cannot bind any commands to them directly.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow