Problem with mapping a key to multiple characters (Unicode + diacritic symbol)
Ilya Anfimov
ilan at tzirechnoy.com
Wed Mar 13 17:35:59 UTC 2019
On Wed, Mar 13, 2019 at 03:04:17PM +0100, Pierre-Luc Angles wrote:
> Dear Ilya, dear all,
>
> Thanks again for this important remark.
>
> My ~/.XCompose file is then the following:
>
[skipped]
>
> key <AE01> { [ ampersand, 1, i_breve_below,
> U032F ] };
>
> and afterwards i a second time with
>
> key <AE01> { [ ampersand, 1, U100050F5,
> U032F ] };
Well, U100050F5 shouldn't work at all, as there is a maximum of
U10FFFF for unicode keysyms. You have to type 0x100050F5 if you
want direct a number.
i_breve_below, however, should. But I had read your next mes-
sage, and it works, so it is OK.
>
> The keyboard is working but the i_breve_below or U100050F5 is not working (I
> still have this xev when I type on the ampersand key + the AltGr modifier:
>
> KeyRelease event, serial 37, synthetic NO, window 0x4e00001,
> root 0x168, subw 0x0, time 2120434, (-409,14), root:(142,282),
> state 0x4090, keycode 10 (keysym 0xb9, onesuperior), same_screen YES,
> XKeysymToKeycode returns keycode: 49
> XLookupString gives 2 bytes: (c2 b9) "??"
> XFilterEvent returns: False
>
> I do not see where the problem is now...
>
> It could be helpful if some one has a key.
>
> Thanks again and sorry for bothering you with that.
>
> Best,
>
> Pierre-Luc
>
> Le 13/03/2019 ?? 11:56, Ilya Anfimov a ??crit :
> > (Well, I'm suspecting that I shouldn't disorient your work with
> > that comment about numerology and last numbers).
> >
> > I'd better take something like 0x10005001 - 0x100050FF
> >
> > Also, 8-bit was about character names -- your fancy
> > i without dot and c with caron, better spell keysyms
> > with it like i_without_dot_ring_above and c_with_caron_dot_below,
> > and not include unicode symbols with values over 0x7F
> > in keysym names.
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
More information about the xorg
mailing list