all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* OSX FSEvents file watching support
@ 2019-07-17  4:18 Muir Manders
  2019-07-17 19:26 ` Michael Albinus
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Muir Manders @ 2019-07-17  4:18 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]

Hello

I am interested in adding support in Emacs for Mac OS "FSEvents" file watching. FSEvents allows for efficient recursive directory watching, which would be a boon for packages like lsp-mode.

I seem to have three options:

1. Write a new backend for filenotify.el. The existing backends explicitly don't support recursive watching, so I'm not sure if it makes sense to have one special backend that does support recursive watching.

2. Publish a dynamic module that wraps the FSEvents API. It seems like most OSX distributions of Emacs have module support enabled, but I'm afraid there might be other challenges with this approach I don't know yet.

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.

Does anyone have any guidance on which approach makes the most sense, and in particular if a new recursive filenotify.el backend would be acceptable?

Thanks,
Muir

[-- Attachment #2: Type: text/html, Size: 1501 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2019-07-18 18:04 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-17  4:18 OSX FSEvents file watching support Muir Manders
2019-07-17 19:26 ` Michael Albinus
2019-07-18  9:35 ` Eli Zaretskii
2019-07-18 11:31   ` Michael Albinus
2019-07-18 12:00     ` Eli Zaretskii
2019-07-18 12:16       ` Michael Albinus
2019-07-18 12:30         ` Eli Zaretskii
2019-07-18 14:14           ` Michael Albinus
2019-07-18 14:18             ` Eli Zaretskii
2019-07-18 14:29               ` Michael Albinus
2019-07-18 14:55                 ` Stefan Monnier
2019-07-18 15:03                   ` Michael Albinus
2019-07-18 14:30               ` Eli Zaretskii
2019-07-18 14:46                 ` Michael Albinus
2019-07-18 15:14                   ` Muir Manders
2019-07-18 15:28                     ` Eli Zaretskii
2019-07-18 18:04                       ` Michael Albinus
2019-07-18 14:38   ` Muir Manders
2019-07-18  9:54 ` Mattias Engdegård
2019-07-18 11:26   ` Michael Albinus
2019-07-18 11:52     ` Mattias Engdegård
2019-07-18 14:53   ` Muir Manders
2019-07-18 15:06     ` Stefan Monnier
2019-07-18 16:47     ` Mattias Engdegård

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.