minor mode revert buffer for a time interval.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Cask
readme.rst
timer-revert-pkg.el
timer-revert.el

readme.rst

timer-revert-mode

A minor mode to revert buffer for a given time interval.

This is more like auto-revert-mode but with a specified time interval. see timer-revert-delay, defaults to 15 seconds. This is useful because emacs' auto-revert-mode doesn't have a facility to tell the frequency.

My use case is while writing latex documents, background running make needs some time to finish, usually 5 to 10 seconds. unlike auto-revert-mode which is very eager to load the file as soon as its modified outside, this one lazily waits for 15 seconds. For best experience, if the background process takes 5 seconds then timer-revert-delay should be around 10 seconds. Okay the logic is not perfect though but minimizes conflicts.

License: GPL v3 or later