emacs-devel
[Top][All Lists]
Advanced

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

Re: filenotify.el


From: Michael Albinus
Subject: Re: filenotify.el
Date: Wed, 26 Jun 2013 16:37:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> Imagine there are two registered watchers:
>> (gfile-add-watch "/tmp" flags1 'callback1)
>> (inotify-add-watch "/tmp" flags2 'callback2)
>> Both return the same descriptor, let's say 1. What would you call, when
>> there is an incoming event (1 flag "123") for the file "/tmp/123"?
>
> Who's "you"?  IIUC it's the C code, so if the C code calls inotify's
> callback when receiving gfile's event it's a bug in the C code that
> needs fixing regardless of filenotify.el.

"you" is `file-notify-handle-event'. It is in subr.el, I will move it
to filenotify.el. It does not know of gfilenotify, inotify or w32notify.

>         Stefan

Best regards, Michael.



reply via email to

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