You are not logged in.
Pages: 1
Topic closed
Hi,
Is there a way to tell Emacs to honor shortcuts as English regardless of the current keyboard layout?
Offline
Could you elaborate on that? I don't really get what you mean...
Offline
Could you elaborate on that? I don't really get what you mean...
I mean that as soon I switch into a non-English keyboard layout, all the standard shortcuts won't cut.
Emacs says something like
C-ч is undefined.
Russian ч sits on the same key as x.
Offline
I think you'll find the info you need in the International section of the Emacs manual (most easily accessed from the builtin info browser: C-h i)
Offline
I think you'll find the info you need in the International section of the Emacs manual (most easily accessed from the builtin info browser: C-h i)
http://www.gnu.org/software/emacs/manual/
Is there really the International section there?
Offline
joyfulgirl wrote:I think you'll find the info you need in the International section of the Emacs manual (most easily accessed from the builtin info browser: C-h i)
http://www.gnu.org/software/emacs/manual/
Is there really the International section there?
Sure is - you just didn't look hard enough
http://www.gnu.org/software/emacs/manua … ernational
(You had to click the "GNU Emacs Manual" link at the top of the list of links to get into the manual that joyfulgirl was referring to)
I've seen young people waste their time reading books about sensitive vampires. It's kinda sad. But you say it's not the end of the world... Well, maybe it is!
Offline
Thanks, upsidaisium! There's a lot of useful info there. Nothing about the subject matter, unfortunately.
Offline
bump
Offline
why would you use a layout for a language that doesn't fit your keyboad ?
i'm afraid that what you want is not possible.. emacs will always try to fit your keyboard.. if you want to use X, you need the english layout, if you want to use ч, you'll need russian's.. makes sense, doesn't it?
Offline
why would you use a layout for a language that doesn't fit your keyboad ?
i'm afraid that what you want is not possible.. emacs will always try to fit your keyboard.. if you want to use X, you need the english layout, if you want to use ч, you'll need russian's.. makes sense, doesn't it?
Eh? I want the standard shortcuts to work regardless of the language I type in. What's wrong with that?
Offline
Then bind C-ч ?
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
I use the following in my .emacs in order to have C-s produce C-s and C-d C-c:
(keyboard-translate ?\C-s ?\C-x)
(keyboard-translate ?\C-x ?\C-s)
(keyboard-translate ?\C-d ?\C-c)
(keyboard-translate ?\C-c ?\C-d)
You scratch my back, I'll ride on yours
Offline
That is, I have to dig up and bind everything once again manually? No other way? How sad.
Offline
To the best of my knowledge: yes
set the us keyboardard and run `xev'; pressing x will tell you its keycode 53 and its KeySymbol 'x'.
`setxkbd ru' and pressing the same key will still get you keycode 53 but the russian symbol.
Emacs sees KeySyms only, not keycodes; there's no way to change that (I think).
You scratch my back, I'll ride on yours
Offline
Llama, have you managed to solve your problem with keybindings?
Offline
The thread is three years old; please don't necrobump: https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing
Offline
Pages: 1
Topic closed