[Top][All Lists]

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

Re: Using glib's g_file_monitor_file and g_file_monitor_directory

From: Stefan Monnier
Subject: Re: Using glib's g_file_monitor_file and g_file_monitor_directory
Date: Tue, 28 May 2013 14:19:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> Currently d-bus messages generate events in the key-event queue, which means
>> that processing of dbus messages may be delayed by processing of key
>> presses.  I think this should be changed to "use a separate queue", just
>> like process events don't go through the key-event queue.
> But doesn't Emacs call 'select' only when no keyboard input is ready?
> If so, process events can also be delayed by processing a key, no?

Process events wait until the next "idle" moment, yes.
But they don't wait until we've processed all key-events that arrived before.

So `accept-process-output' can keep receiving/processing new output even
if the user has already hit the keys that will run the next command.


reply via email to

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