emacs-devel
[Top][All Lists]
Advanced

[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: Sat, 12 Sep 2009 16:32:58 +0300

> Date: Sat, 12 Sep 2009 00:54:50 +0200
> From: Antoine Levitt <address@hidden>
> Cc: address@hidden, Emacs Development <address@hidden>
> 
> if a user has a buffer open with some file
> and that file changes outside emacs, he won't be notified of changes until
> he actually tries to modify it. Ideal case : emacs would monitor every file
> used by buffers, and notify of changes with the current dialog (continue,
> refresh, etc) in visible buffers.

This use-case does not need any help from the OS to implement the
feature in Emacs.  It should be quite easy to write a function that
runs off the idle timer and checks each file that Emacs visits.

The OP was talking about detecting changes in files that Emacs does
not know about, including in files that are created while Emacs runs.




reply via email to

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