My ~/.Xmodmap contains:
keysym e = e NoSymbol EuroSign NoSymbol
keysym c = c NoSymbol 0x010000a2 currency
Using that, I can input '€' (U+020AC EURO SIGN),
'¢' (U+00A2 CENT SIGN), and '¤' (U+00A4 CURRENCY SIGN) by typing
the following key sequences:
AltGr e → €
AltGr c → ¢
Shift+AltGr c → ¤
That works fine in all applications *except* XEmacs.
When I use that key sequence to type an € in XEmacs, the cursor
advances but I don't see a glyph. When positioning the cursor on that
character and checking with 'C-u C-x =' I get:
€Char: € (U+20AC greek-iso8859-7 36) point=1032 of 1128(91%) column 0
i.e. the € has been input correctly, the problem is only that it is
represented in the Greek character set, therefore a Greek font is used
and that doesn't have the € character (X11 core fonts are used, not
Xft).
If I input the € by other means, for example
- pasting from another application
- using the input methods t-latn-pre or t-rfc1345 from scim-m17n
I get
Char: € (U+20AC latin-iso8859-15 36) point=1200 of 1660(72%) column 9
and the € is visible.
Why is the Greek charset used when € is input via ~/.Xmodmap?
When trying to input ¢ via ~/.Xmodmap, it is even worse, I only get
the regular ASCII 'c' than.
But ¢ can be input just fine by pasting from another application and
by using an input method like scim-m17n.
So why doesn't this work with ~/.Xmodmap?
--
Mike FABIAN <mfabian(a)suse.de>
http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
I � Unicode
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta