[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 22: bind keymappings with cyrrilics to corresponding latin key
Re: Emacs 22: bind keymappings with cyrrilics to corresponding latin keymappings?
Sun, 28 Oct 2007 20:20:06 +0200
On Sun, Oct 28, 2007 at 02:29:41PM -0000, address@hidden wrote:
> If I just hit M-q while at cyrrilic layout, Emacs says she doesn't
> know how to handle M-й.
You should setup and use Emacs's input methods, instead of X Window
keyboard layouts or console key maps. Take a look at the
"International Character Set Support" section of the manual.
For example (in your .emacs):
| (set-terminal-coding-system 'utf-8)
| (set-keyboard-coding-system 'utf-8)
| (set-selection-coding-system 'utf-8)
| (prefer-coding-system 'utf-8)
If you are intending to use CP1251, also
| (codepage-setup 1251)
Also take a look at set-language-environment.