[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OSX FSEvents file watching support
From: |
Michael Albinus |
Subject: |
Re: OSX FSEvents file watching support |
Date: |
Thu, 18 Jul 2019 13:31:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> 3. Publish an elisp package that calls out to an existing program
>> that supports FSEvents like "fswatch". This
>> approach probably has the least friction, but doesn't allow for
>> tweaking FSEvents settings, and might have
>> performance disadvantages.
>
> How would that work, implementation-wise? Filesystem events are
> supposed to be eventually injected into the input queue; how would you
> go about doing that when an external porgram does the watching?
Tramp mimics this by calling the respective special event filter function
file-notify-handle-event. See tramp-sh-inotifywait-process-filter and
tramp-sh-gio-monitor-process-filter.
Best regards, Michael.
- OSX FSEvents file watching support, Muir Manders, 2019/07/17
- Re: OSX FSEvents file watching support, Michael Albinus, 2019/07/17
- Re: OSX FSEvents file watching support, Eli Zaretskii, 2019/07/18
- Re: OSX FSEvents file watching support,
Michael Albinus <=
- Re: OSX FSEvents file watching support, Eli Zaretskii, 2019/07/18
- Re: OSX FSEvents file watching support, Michael Albinus, 2019/07/18
- Re: OSX FSEvents file watching support, Eli Zaretskii, 2019/07/18
- Re: OSX FSEvents file watching support, Michael Albinus, 2019/07/18
- Re: OSX FSEvents file watching support, Eli Zaretskii, 2019/07/18
- Re: OSX FSEvents file watching support, Michael Albinus, 2019/07/18
- Re: OSX FSEvents file watching support, Stefan Monnier, 2019/07/18
- Re: OSX FSEvents file watching support, Michael Albinus, 2019/07/18
- Re: OSX FSEvents file watching support, Eli Zaretskii, 2019/07/18
- Re: OSX FSEvents file watching support, Michael Albinus, 2019/07/18