[Top][All Lists]

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

Re: Bikeshedding go! Why is <M-f4> unbound?

From: Lennart Borgman
Subject: Re: Bikeshedding go! Why is <M-f4> unbound?
Date: Mon, 17 Jan 2011 13:23:48 +0100

On Mon, Jan 17, 2011 at 1:06 PM, grischka <address@hidden> wrote:
>> What I really hoped to discuss where the technical difficulties. Emacs
>> does not currently have a way to let key binding fall back to the OS
>> binding. I am not sure it is trivial and I have forgotten the details.
> It is nontrivial to say the least.
> Unlike XEmacs, GNU Emacs is still a console application at its heart.
> It wants to "read" events in a loop from an input stream until it
> finds them complete as a "key-sequence".  No function seems to exist
> that could deal with events that are already read.
> So I guess at first you'd need to convert keyboard.c:read_key_sequence()
> from procedural logic into a state machine such that it does not call
> 'read_key()' on its own but instead can be fed with keys one by one.
> Once you have that however you can as well run the Windows backend in
> the same thread and many things become much simpler ;)

The main problem is the state of the default windows message loop. I
think you can overcome that problem using the accessibility API:s but
I do not know the details about that any more.

reply via email to

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