emacs-devel
[Top][All Lists]
Advanced

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

Re: OSX FSEvents file watching support


From: Eli Zaretskii
Subject: Re: OSX FSEvents file watching support
Date: Thu, 18 Jul 2019 15:00:18 +0300

> From: Michael Albinus <address@hidden>
> Cc: "Muir Manders" <address@hidden>,  address@hidden
> Date: Thu, 18 Jul 2019 13:31:10 +0200
> 
> > 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.

That needs a callback function, and the callback needs to be written
in C, no?  Or am I missing something?

To make myself clear, I was responding to the "publish an elisp
package" part of the OP's proposal, and my point was that I didn't
see how can this be done entirely in Lisp.



reply via email to

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