[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: |
Paul Eggert |
Subject: |
Re: Using glib's g_file_monitor_file and g_file_monitor_directory |
Date: |
Tue, 28 May 2013 09:02:06 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
On 05/28/13 08:33, Eli Zaretskii wrote:
> What are the advantages of combining them? The uses and the use-cases
> are quite different, it seems.
I'm thinking about this at a fairly low level, not at the Lisp level.
At the low level, Emacs is often best thought of as an event handler,
where events can be keyboard presses, file-change events, process-change
events, and so forth. And glib uses a similar mechanism to handle
file-change and process-change events. So it seems natural to
think about how these should be unified rather than kept separate,
independently of how they're used.
I don't have anything specific in mind, as far as implementation goes;
I was just looking for a bit of advice, from someone who knows more
about glib than I do.
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Michael Albinus, 2013/05/28
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Paul Eggert, 2013/05/28
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Eli Zaretskii, 2013/05/28
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Michael Albinus, 2013/05/29
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Stefan Monnier, 2013/05/29
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Michael Albinus, 2013/05/29
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Stefan Monnier, 2013/05/29
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Michael Albinus, 2013/05/30
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Stefan Monnier, 2013/05/30
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Eli Zaretskii, 2013/05/28