[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mode_switch in Emacs (was: wish: right alt/meta to switch keyboard l
From: |
Juri Linkov |
Subject: |
Re: Mode_switch in Emacs (was: wish: right alt/meta to switch keyboard layout while pressed) |
Date: |
Mon, 28 Nov 2005 22:27:14 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> Regarding the XKB feature, I hope someone here will know what should be done
> so the bug can be fixed.
>
>> It should be deactivated while the Mode_switch is hold. I.e. it should
>> work like Shift, if you like. Otherwise there's little point in it, since
>> I could just press `C-\' twice as well with not so much more trouble. When
>> it works like a modifier, I can keep on typing as normal, while switching
>> to a different layout significantly disrupts the process.
As I can see, everything works fine in CVS Emacs already. The Mode_switch
key temporarily disables the russian layout while it is held in Emacs.
Perhaps something is wrong in Paul's configuration where Mode_switch
doesn't work correctly.
> This requires several changes at the C level (at the very least so as to
> get and process (mostly, ignore) key-release events). But you may be able
> to simulate the behavior as follows:
>
> - set your xmodmap such that Mode_switch is assigned to an unused modifier
> (e.g. Hyper).
> - add bindings in your .emacs of the form
> (global-set-key [?\H-\[] "[")
> (global-set-key [?\H-\'] "'")
I tried to assign Mode_switch to Hyper, and it works too, without the need
to add Emacs bindings to translate [?\H-\'] to "'".
> * BUGS
>
> +** When using a russian+latin layout with
> +
> + setxkbmap -model pc104 -layout us,ru -variant ,winkeys
> +
> +pressing the W key while control is held generates a С-Ц rather than C-W.
This is not a bug, but quite a useless feature. It enables only
a small subset of standard Emacs keybindings in the russian layout.
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: wish: right alt/meta to switch keyboard layout while pressed, (continued)
- Re: wish: right alt/meta to switch keyboard layout while pressed, Eugene Vlasov, 2005/11/26
- Re: wish: right alt/meta to switch keyboard layout while pressed, Paul Pogonyshev, 2005/11/26
- Re: wish: right alt/meta to switch keyboard layout while pressed, Juri Linkov, 2005/11/28
- Re: wish: right alt/meta to switch keyboard layout while pressed, Stefan Monnier, 2005/11/26
- Re: wish: right alt/meta to switch keyboard layout while pressed, Paul Pogonyshev, 2005/11/26
- Re: wish: right alt/meta to switch keyboard layout while pressed, Stefan Monnier, 2005/11/27
- Re: wish: right alt/meta to switch keyboard layout while pressed, Paul Pogonyshev, 2005/11/27
- Mode_switch in Emacs (was: wish: right alt/meta to switch keyboard layout while pressed), Stefan Monnier, 2005/11/27
- Re: Mode_switch in Emacs (was: wish: right alt/meta to switch keyboard layout while pressed),
Juri Linkov <=
- Re: Mode_switch in Emacs, Stefan Monnier, 2005/11/28
- Re: Mode_switch in Emacs, Juri Linkov, 2005/11/28
- Re: Mode_switch in Emacs, Stefan Monnier, 2005/11/29
- Re: Mode_switch in Emacs, Paul Pogonyshev, 2005/11/29
- Re: Mode_switch in Emacs, Juri Linkov, 2005/11/29
- Re: wish: right alt/meta to switch keyboard layout while pressed, Juri Linkov, 2005/11/28
- Re: wish: right alt/meta to switch keyboard layout while pressed, Juri Linkov, 2005/11/28
- Re: wish: right alt/meta to switch keyboard layout while pressed, Richard M. Stallman, 2005/11/25
- Message not available
- Message not available
- thoughts on interaction of key bindings and input methods (was Re: wish: right alt/meta to switch keyboard layout while pressed), Paul Pogonyshev, 2005/11/26
- Re: thoughts on interaction of key bindings and input methods (was Re: wish: right alt/meta to switch keyboard layout while pressed), Ben Wing, 2005/11/26