[Top][All Lists]

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

Re: File watch support in autorevert.el

From: Stefan Monnier
Subject: Re: File watch support in autorevert.el
Date: Fri, 11 Jan 2013 11:44:09 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Will do for the inotify case. It is a simple bit easier, because you can
> install a file watch for exactly one file, and you can expect it returns
> for that file only.

BTW, what happens if the file gets overwritten without touching its
inode (e.g. use auto-revert-mode on ~/foo and then do "mv ~/bar ~/foo"
and then "echo toto >>~/foo")?

You'll presumably get some notification of the "mv" itself, but will you
subsequently get the notification of the "echo" (which is now modifying
another inode than the original ~/foo)?


reply via email to

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