Enable UNUMBERs in compose definitions
authorMichael Schutte <michi@uiae.at>
Fri, 24 Jul 2009 10:28:27 +0000 (12:28 +0200)
committerAlexey Gladkov <gladkov.alexey@gmail.com>
Thu, 30 Jul 2009 14:19:06 +0000 (18:19 +0400)
commit4fa600142c1f3c61a51ee25e1f77761b3fa45d0a
treee152f7b15c8a056d37ce1a88a24f3e6f69835264
parent1da156fee2f6dc7d747ecf61b5234a00548bc8ad
Enable UNUMBERs in compose definitions

As always, auto-conversion applies in case of XLATE mode (or no
KDSKBDIACRUC support).

Since 18eadfe…, loadkeys supports the composition of two Unicode keysyms
to another Unicode keysym.  Whereas the resulting char could already be
specified as U+…, diacr and base had to be given as 8-bit characters,
which is ugly with today’s Unicode support.  Since it isn’t realistic to
make keymaps capable of UTF-8, I was asked by a Debian developer to at
least make it possible to specify Unicode codepoints.  rvalue is
unsuitable at this point (because it does some trickery with KT_LATIN
vs. KT_LETTER which is not applicable here), I decided to add this to a
new expression just for compose.

Signed-off-by: Michael Schutte <michi@uiae.at>
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
src/loadkeys.y