emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switch Meta and Alt modifiers


From: Eli Zaretskii
Subject: Re: Switch Meta and Alt modifiers
Date: Sun, 17 Feb 2002 19:00:54 +0200

> From: address@hidden (Kai =?iso-8859-1?q?Gro=DFjohann?=)
> Date: Sun, 17 Feb 2002 16:23:15 +0100
> 
> Eli Zaretskii <address@hidden> writes:
> 
> > It strikes me that you could do the remapping in the code that handles 
> > the event queue.  In the queue, the platform-specific keysyms are already 
> > translated into system-independent event types and modifiers.  (At leat 
> > that's my recollection; I might be missing something.)
> 
> Ah, I found the event queue in src/keyboard.c.  Very interesting code.
> Alas, I don't quite grok that code yet.  It seems that either
> make_lispy_event or modify_event_symbol would be the spot to do that,
> right?

Yes, I think so.  Or maybe even in kbd_buffer_get_event, which
dequeues events and calls make_lispy_event.  But please wait for
Richard to confirm, I still don't feel myself at home in that maze
full of misty passages called keyboard.c ;-)

What are your difficulties in understanding that code as far as
modifiers are concerned?  Perhaps if you ask specific questions, they
can be answered one by one.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]