[Top][All Lists]

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

Re: Emacs inotify support?

From: Eli Zaretskii
Subject: Re: Emacs inotify support?
Date: Sun, 13 Sep 2009 22:42:15 +0300

> From: address@hidden
> Cc: Eli Zaretskii <address@hidden>, address@hidden,
>         address@hidden, address@hidden
> Date: Sun, 13 Sep 2009 19:28:45 +0200
> One way to look at it is auto-revert-mode for directories visited with
> dired. Something other than Emacs is changing the contents of a
> directory and I would like dired to notice. This can be achieved in a
> number of ways, but the way I had in mind is an inotify handler in
> Emacs, that would insert some kind of event in the event stream, so one
> could bind a handler to it. This should be portable across platforms
> with different filesystem notification schemes, and consistent with
> Emacs behavior in general. 

I can hardly imagine that using inotify is more portable than looking
at the time stamp of the directory (which works even on Windows, if
you have NTFS).

But maybe I didn't understand what you were trying to say.

reply via email to

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