In article <[EMAIL PROTECTED]>, Baurzhan Ismagulov <[EMAIL PROTECTED]> writes:

> I can use emacs cvs with pt154 encoding on the Linux console. However,
> when I type some Cyrillic characters under X, emacs says, e.g.,
> "<Cyrillic_schwa> is undefined".

It seems that these X11 keysyms (in
/usr/include/X11/keysymdefs.h, perhaps newly added) are not
registered in x-keysym-table (in lisp/term/x-win.el).

#define XK_Cyrillic_GHE_bar                                0x680
#define XK_Cyrillic_ghe_bar                                0x690
...
#define XK_Cyrillic_U_macron                               0x68f
#define XK_Cyrillic_u_macron                               0x69f

For instance, for XK_Cyrillic_U_macron, you can add it as
this:

(puthash #x68F (decode-char 'ucs #x04EE) x-keysym-table)
         ^^^^keysym_code         ^^^^^^unicode_character_code

But, for instance, for XK_Cyrillic_GHE_bar, I don't know the
corresponding Unicode character code.  If you give me a list
of keysym_codes and the corresponding Unicode character
code, I'll add it in x-win.el.

---
Kenichi Handa
[EMAIL PROTECTED]


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to