emacs-devel
[Top][All Lists]
Advanced

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

Re: File watch support in autorevert.el


From: Michael Albinus
Subject: Re: File watch support in autorevert.el
Date: Fri, 11 Jan 2013 23:43:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> Try:
>
>   while sleep 60; do echo hello; done >> ~/tmp/123
>
> Look ma, no close!
>
> But you don't need a script: just try auto-revert-mode on a log written
> by syslogd.
>
> Admittedly, these cases are presumably clients of auto-revert-tail-mode,
> but auto-revert-mode should handle them correctly.

Should be OK now for all 3 modes: global-auto-revert-mode,
auto-revert-mode and auto-revert-tail-mode (support for the last one is
just committed). For the inotify case, I've changed to IN_MODIFY as
supervised event. For w32notify, I have added size as proposed by Eli.

>         Stefan

Best regards, Michael.



reply via email to

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