Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Live delete/rename tracking #1139

Open
Fordi opened this issue Jul 14, 2016 · 6 comments
Open

[Feature request] Live delete/rename tracking #1139

Fordi opened this issue Jul 14, 2016 · 6 comments

Comments

@Fordi
Copy link

Fordi commented Jul 14, 2016

If possible, I'd like for geany to use an inotify hook (where available) to detect delete/rename of open files in real-time.

@elextr
Copy link
Member

elextr commented Jul 14, 2016

IIUC inotify is a Linux only capability.

An attempt was made to use the glib wrapper functions around the various platform specific notify libraries, however it generates extra spurious notifications on Linux that of course generated annoying extra user notifications, and it proved too hard to filter these out, so it was disabled. I think the code is still there if anyone wants to try to fix it.

@andy5995
Copy link
Contributor

Because inotify is Linux-only, would Gamin ever be considered a suitable substitute? Though I've never used it, and don't see that it works under Windows.

@elextr
Copy link
Member

elextr commented Oct 20, 2016

Gamin doesn't work on windows, so no it probably won't be used.

@codebrainz
Copy link
Member

What advantage/portability benefit does Gamin bring over GIO's FAM, inotify, kqueue, and win32 GFileMonitor backends?

@andy5995
Copy link
Contributor

I don't know much about file monitoring API's; that's why I was asking ;)

@codebrainz
Copy link
Member

The one in GLib/GIO is pretty nice, but it has problems (at least with the inotify backend) which @elextr mentioned, that nobody has provided a work-around for yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants