"Andrew W. Nosenko" <awn(a)bcs.zp.ua> writes:
(global-set-key [Cyrillic_shorti] (ru-keys-insert-char-m ?й))
...
Note that they are nicer ways of achieving this. What you could do
is:
(global-set-key 'Cyrillic_shorti 'self-insert-command)
(put 'Cyrillic_shorti 'ascii-character ?й)
...
Then your Russian keys would work with minimal intervention, and with
the regular self-insert code -- no more need to hack overwrite mode
and all that.
Or, if you want to play with a bit more advanced keyboard remapping
hacks, why not take a look at my `latin2.el'? Not Russian, but solves
similar problems.