Re: Non English keyboard layout not working in Emacs
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
> From: Abhiseck Paira <[email protected]> > Cc: [email protected] > Date: Sat, 25 Apr 2026 19:58:35 +0530 > > > Eli Zaretskii <[email protected]> writes: > > >> C-জ ;; nil > >> C-ও ;; nil > > > What are these characters, and why do they have the Ctrl modifier? Do > > these correspond to the keys you pressed? > > Emacs received "C-জ" when I had pressed Ctrl and Bengali letter "জ" > together and "C-ও" when I pressed Ctrl and Bengali letter "ও". But, > if I type them without Ctrl being pressed, Emacs doesn't receive them. > > > 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 'ও': > > KeyPress event, serial 38, synthetic NO, window 0x3c00001, > root 0x4a6, subw 0x0, time 1458379, (603,427), root:(605,477), > state 0x2000, keycode 32 (keysym 0x1000993, U0993), 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 1458480, (603,427), root:(605,477), > state 0x2000, keycode 32 (keysym 0x1000993, U0993), same_screen YES, > XLookupString gives 0 bytes: > XFilterEvent returns: False What does the below produce: M-: (featurep 'xinput2) RET