emacs-devel
[Top][All Lists]
Advanced

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

Re: file watch feature missing on darwin


From: Michael Albinus
Subject: Re: file watch feature missing on darwin
Date: Wed, 22 Jan 2014 10:56:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

"Jan D." <address@hidden> writes:

Hi Jan,

>> I'm just checking how to receive file notification events in batch
>> mode. It works fine when inotify.c is linked with Emacs, using
>> (read-event ...), but I'm not able to receive events when gfilenotify.c
>> is linked.
>>
>> No problem when Emacs runs interactively. Do you know, how I could
>> retrieve events in that case?
>
> The select in the NS port runs in another thread.  So just switching
> to xg_select will not do.  You have to explicitly check if in batch
> mode, then check if GLib has file descriptors we don't know about, and
> then call xg_select in the main thread.

Thanks. I've created Bug#16519 for the time being, 'cause I'm not
skilled to fix it immediately. Will start to read respective
documentation & sources ...

>       Jan D.

Best regards, Michael.



reply via email to

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