unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

* Re: Using non-latin XKB maps with Emacs CVS
  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>
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2003-05-17  7:19 UTC (permalink / raw)


> From: Danilo Segan <danilo@kvota.net>
> Newsgroups: gnu.emacs.help
> Date: Fri, 16 May 2003 18:31:50 +0200
> 
> 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)?

You will be much better off asking these questions on
emacs-devel@gnu.org, where all the Emacs maintainers dwell.

In general, almost every questions about the CVS code should go to
emacs-devel (or to emacs-pfretest-bug, if it's a clear-cut bug
report), especially if the OP wants to do something that was never
done before.

TIA

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

* Re: Using non-latin XKB maps with Emacs CVS
       [not found] ` <mailman.6336.1053156283.21513.help-gnu-emacs@gnu.org>
@ 2003-05-17 19:37   ` Danilo Segan
  0 siblings, 0 replies; 3+ messages in thread
From: Danilo Segan @ 2003-05-17 19:37 UTC (permalink / raw)


Eli Zaretskii wrote:
>
> 
> You will be much better off asking these questions on
> emacs-devel@gnu.org, where all the Emacs maintainers dwell.
> 
> In general, almost every questions about the CVS code should go to
> emacs-devel (or to emacs-pfretest-bug, if it's a clear-cut bug
> report), especially if the OP wants to do something that was never
> done before.
>

Thanks, it seems there's a bugfix (as reported on gnu.emacs.bug) which 
might fix just about this from 3 days ago (May 14th). I'll first check 
if this fixes the issue, and if not follow your recommendations.


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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).