[Top][All Lists]

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

Re: Popup when buffer file is changed on disk

From: Lennart Borgman
Subject: Re: Popup when buffer file is changed on disk
Date: Sun, 6 Feb 2005 11:41:22 +0100

----- Original Message ----- 
From: "Eli Zaretskii" <address@hidden>

> > auto-revert-mode does what it does later, not at the moment Emacs gets
> > focus.
> ??? auto-revert-mode periodically checks all buffers that are visiting
> a file.  The frequency of these checks is determined by the variable
> auto-revert-interval, by default every 5 seconds.

Hm. Thanks. Looks like I tested too fast. Sorry.

> Perhaps you need to set auto-revert-stop-on-user-input to nil and
> maybe also play with auto-revert-interval's value, to get almost
> instanteneous automatic reverts whenever a file changes.

Setting auto-revert-stop-on-user-input to nil does not work for me. Using
CVS, any ideas of what could be wrong.

> Perhaps a feature can be added to autorevert.el, whereby it checks the
> buffers when a focus event arrives.  All the rest is already there, I
> believe.

The timer is surely good, but checking at the focus event is still
desireable IMO since it is more instantaneous when switching to Emacs.

reply via email to

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