[Top][All Lists]

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

Re: [PATCH] system-type cygwin with window-system w32

From: grischka
Subject: Re: [PATCH] system-type cygwin with window-system w32
Date: Mon, 18 Jul 2011 20:52:22 +0200
User-agent: Thunderbird (Windows/20100228)

Daniel Colascione wrote:
This requirement is incompatible
with using lisp code to render clipboard content: we might have received a
window message at an inopportune time for calling back into Lisp, and we can't
delay the response to WM_RENDERFORMAT by re-queuing or somesuch.  Today's NT
clipboard code doesn't have to address the issue because it never calls into 

Well, you can do this if you have a function to pump elisp
events, say drain_lisp_queue():

That would be basically command_loop_1() with
    while (1)
replaced by
    while (detect_input_pending())

Then, in window_proc:
        queue_lisp_event(); //I guess it's "kbd_buffer_store_event_hold"

Or such.

--- grischka

reply via email to

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