emacs-devel
[Top][All Lists]
Advanced

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

Re: wish: right alt/meta to switch keyboard layout while pressed


From: Juri Linkov
Subject: Re: wish: right alt/meta to switch keyboard layout while pressed
Date: Tue, 29 Nov 2005 01:14:27 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>> So you'd want hitting Mode_switch to toggle the LEIM input method or would
>> you want pressing to turn it off and releasing to turn it back on?
>
> I think hitting Mode_switch to toggle the LEIM input method would be
> very useful feature, since it allows using the same key to switch
> Emacs input methods and X layouts in non-Emacs applications.
> But perhaps it is not easy to implement.

I just noticed that emacs/lisp/term/w32-win.el contains the following lines:

  ;; Keyboard layout/language change events
  ;; For now ignore language-change events; in the future
  ;; we should switch the Emacs Input Method to match the
  ;; new layout/language selected by the user.
  (global-set-key [language-change] 'ignore)

It is interesting that Windows generates `language-change' key event.
I guess it is currently ignored because it is not trivial to process it
in Emacs.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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