[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: filenotify.el
From: |
Stefan Monnier |
Subject: |
Re: filenotify.el |
Date: |
Wed, 26 Jun 2013 15:59:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> > 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
> No. C code just pushes an event onto the event queue. The rest is
> done in Lisp.
Then the event should have an `inotify', `w32notify' or `gfile' tag.
Of course, that could be included in the "cookie" (which really should
be a new object type either in Lisp_Misc or in Lisp_Vectorlike).
Stefan
- Re: filenotify.el, (continued)
- Re: filenotify.el, Stefan Monnier, 2013/06/25
- Re: filenotify.el, Michael Albinus, 2013/06/26
- Re: filenotify.el, Stefan Monnier, 2013/06/26
- Re: filenotify.el, Michael Albinus, 2013/06/26
- Re: filenotify.el, Stefan Monnier, 2013/06/26
- Re: filenotify.el, Michael Albinus, 2013/06/26
- Re: filenotify.el, Eli Zaretskii, 2013/06/26
- Re: filenotify.el,
Stefan Monnier <=
- Re: filenotify.el, Michael Albinus, 2013/06/26
- Re: filenotify.el, RĂ¼diger Sonderfeld, 2013/06/25
- Re: filenotify.el, Michael Albinus, 2013/06/26
- About `<prefix>--' (was Re: filenotify.el), Stephen Berman, 2013/06/26
- Re: About `<prefix>--' (was Re: filenotify.el), Stefan Monnier, 2013/06/26
- Re: About `<prefix>--' (was Re: filenotify.el), Stephen Berman, 2013/06/26
- Re: About `<prefix>--' (was Re: filenotify.el), Stefan Monnier, 2013/06/26
- Re: About `<prefix>--' (was Re: filenotify.el), Josh, 2013/06/27
- Re: About `<prefix>--' (was Re: filenotify.el), Xue Fuqiao, 2013/06/27
- Re: About `<prefix>--' (was Re: filenotify.el), Stefan Monnier, 2013/06/28