Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
habamax opened this issue Jun 13, 2017 · 8 comments
Closed

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

habamax opened this issue Jun 13, 2017 · 8 comments
Assignees

Comments

@habamax
Copy link

habamax commented Jun 13, 2017

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
Copy link
Author

habamax commented Jun 13, 2017

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
Copy link
Author

habamax commented Jun 13, 2017

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

@a13 a13 self-assigned this Jun 13, 2017
@a13
Copy link
Owner

a13 commented Jun 13, 2017

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
Copy link
Author

habamax commented Jun 13, 2017

I use standard qwerty

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

@a13
Copy link
Owner

a13 commented Jun 13, 2017

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

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

@habamax
Copy link
Author

habamax commented Jun 13, 2017

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
Copy link
Author

habamax commented Jun 13, 2017

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

@habamax
Copy link
Author

habamax commented Jun 13, 2017

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

Thx!

@habamax habamax closed this as completed Jun 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants