emacs-devel
[Top][All Lists]
Advanced

[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: Michael Albinus
Subject: Re: Using glib's g_file_monitor_file and g_file_monitor_directory
Date: Wed, 29 May 2013 16:09:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I believe all events which are not raised by an user action (keyboard,
>> mouse, etc) shall be handled by such a separate queue. Currently,
>> TIMER_EVENT, BUFFER_SWITCH_EVENT, DBUS_EVENT and FILE_NOTIFY_EVENT would
>> fall into this category. Maybe also USER_SIGNAL_EVENT.
>
> I'm not sure I'd put BUFFER_SWITCH_EVENT in there, but I agree about the
> other ones.

I haven't used it yet, but the doc in termhooks.h says

  BUFFER_SWITCH_EVENT,        /* A process filter has switched buffers.  */

This doesn't sound like triggered by a user action.

>         Stefan

Best regards, Michael.



reply via email to

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