a13 / reverse-im.el

116 stars 4 forks source link

Meta bindings doesn't work with Russian (windows) #4

Closed habamax closed 7 years ago

habamax commented 7 years ago

You have in description that Meta bindings are translated too. I have tried Meta+а, Meta+и -- they do nothing (I expect them to move word forward, backward)

Are Meta bindings supported?

Thx!

PS I have tried to add (add-to-list 'reverse-im-modifiers 'meta) -- doesn't work too.

PPS Ctrl+Meta+а and Ctrl+Meta+и works...

PPPS My config is (use-package reverse-im :config (add-to-list 'reverse-im-modifiers 'meta) (reverse-im-activate "russian-computer"))

habamax commented 7 years ago

I have actually tried the following:

works: (global-set-key (kbd "M-i") 'forward-word)

doesn't work (global-set-key (kbd "M-f") 'forward-word)

looks like some meta bindings are kind of special?

habamax commented 7 years ago

If I do ESC а or ESC и then it works -- I can move forward word and backward word.

a13 commented 7 years ago

meta key is already in reverse-im-modifiers list, so there's no need to add it.

What does M-x describe-key M-и say? Do you use any non-standard layout (dvorak, colemak etc)?

habamax commented 7 years ago

I use standard qwerty

C-h k M-и does nothing. Looks like nothing was pressed at all.

a13 commented 7 years ago

Does it work when english layout is active? (I mean M-b)?

And if it does - what about "Alt-и" shortcuts in other apps?

habamax commented 7 years ago

Yes it works in english layout. (M-b)

I am not sure where to check if M-и works in another applications though.

I have binded M-m as expand-region hotkey and it works for M-ь

habamax commented 7 years ago

Found the problem -- it works with Left Alt but doesn't work with the Right Alt which is AltGr.

habamax commented 7 years ago

So I have solved it by remapping on OS level AltGr to Left Alt.

Thx!