help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 22: bind keymappings with cyrrilics to corresponding latin key


From: Oleg Katsitadze
Subject: Re: Emacs 22: bind keymappings with cyrrilics to corresponding latin keymappings?
Date: Sun, 28 Oct 2007 20:20:06 +0200
User-agent: Mutt/1.5.16 (2007-06-11)

On Sun, Oct 28, 2007 at 02:29:41PM -0000, cmr.Pent@gmail.com 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.

Cheers,
Oleg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]