Re: Non English keyboard layout not working in Emacs
Stefan Monnier via Users list for the GNU Emacs text editor <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
>> Use some tool like xev or xinput.
>
> I have tested with `xev`, it receives keyboard press and release events:
>
> KeyPress event, serial 38, synthetic NO, window 0x3c00001,
> root 0x4a6, subw 0x0, time 1455538, (603,427), root:(605,477),
> state 0x2000, keycode 44 (keysym 0x100099c, U099C), same_screen YES,
> XLookupString gives 0 bytes:
> XmbLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyRelease event, serial 38, synthetic NO, window 0x3c00001,
> root 0x4a6, subw 0x0, time 1455609, (603,427), root:(605,477),
> state 0x2000, keycode 44 (keysym 0x100099c, U099C), same_screen YES,
> XLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> The above was when I pressed Bengali character 'জ'. And the following
> when I press Bengali character 'ও':
Hmm... this suggests the problem is not just in Emacs.
AFAIK the "XLookupString" part above should have said something like:
XLookupString gives 3 bytes: (e0 a6 9c) "জ"
I suggest you try that same `xev` test in Ubuntu/Debian or in your older
install of Trisquel to confirm what I say and then report the bug to
Trisquel. Or ask on some other newsgroup/mailinglist/forum, hopefully
one that knows more about X11 input methods.
[ I couldn't find a "Bengali" input method but tried the "Bangla (Indian)"
input method on my system (Debian testing with XFCE) and "it seems to
work" in that it gives me the kind of output I mention, tho I wasn't
able to find that exact same character on that keyboard, probably just
for lack of familiarity with that script. ]
=== Stefan