all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using non-latin XKB maps with Emacs CVS
@ 2003-05-16 16:31 Danilo Segan
  2003-05-17  7:19 ` Eli Zaretskii
       [not found] ` <mailman.6336.1053156283.21513.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Danilo Segan @ 2003-05-16 16:31 UTC (permalink / raw)


I've created XKB maps for XFree86 4.3.0 to be able to use cyrillic 
alphabet in most of my programs, and still use C-[key] as if the [key] 
evaluates to the regular ASCII keyval.

The map is available at www.srpski.org/dunav/, and essentially, it has 
the special six-level keytype of the form:

modifiers=Shift+Mod5+Control
...
map[Control]=Level5
map[Control+Shift]=Level6
preserve[Control]=Control
preserve[Control+Shift]=Control
...

On the 5th level of cyrillic keymap is entire english alphabet, and this 
works correctly in all simple X programs (like xterm), and reportedly 
works in KDE (I have not tried it).

I'm using Emacs CVS from sometime in March with Gtk+ 2 GUI, but I cannot 
use the C-[key] bindings (Emacs just outputs the keyval, eg. cyrillic 
letter).


Is there a way to make this work? Has anyone succeded in working with a 
map set through XKB, and using the Emacs keybindings without changes? (I 
guess it would not be a problem to rebind all the keys, so 
C-[cyrillic_dze] would give me C-x and so forth, but I want to avoid that).

How does the Emacs perform keymap processing, and where does the Control 
get lost (when checking with "xev" it bit 0x4 shows up fine in state field)?


TIA

Cheers,
Danilo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-17 19:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-16 16:31 Using non-latin XKB maps with Emacs CVS Danilo Segan
2003-05-17  7:19 ` Eli Zaretskii
     [not found] ` <mailman.6336.1053156283.21513.help-gnu-emacs@gnu.org>
2003-05-17 19:37   ` Danilo Segan

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.