[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autorevert.el
From: |
Stefan Monnier |
Subject: |
Re: autorevert.el |
Date: |
14 Mar 2004 21:58:19 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> For dired buffers, visited-file-modtime works, even though
> verify-visited-file-modtime does not. For non-file, non-vc, non-dired
> buffers, the current code just reverts every auto-revert-interval
> seconds without checking whether reverting is actually needed.
That's just wrong in most cases. So we indeed need an
`auto-revert-stale-function' which modes can set to (lambda () t) if they
want, but they'll have to do it explicitly to say "yes I know it's
suboptimal but for this case it's good enough".
> For most of these buffers we might actually have to keep things that way,
> since checking whether the buffer needs reverting could easily take longer
> than reverting it.
PCL-CVS offers a revert-buffer-function and it better not be refreshed
every 5 seconds unless maybe you're working on a small project hosted locally.
Stefan
- autorevert.el, Luc Teirlinck, 2004/03/03
- Re: autorevert.el, Stefan Monnier, 2004/03/04
- Re: autorevert.el, Luc Teirlinck, 2004/03/06
- Re: autorevert.el, Stefan Monnier, 2004/03/07
- Re: autorevert.el, Luc Teirlinck, 2004/03/08
- Re: autorevert.el, Luc Teirlinck, 2004/03/12
- Re: autorevert.el, Kai Grossjohann, 2004/03/13
- Re: autorevert.el, Stefan Monnier, 2004/03/14
- Re: autorevert.el, Luc Teirlinck, 2004/03/14
- Re: autorevert.el,
Stefan Monnier <=
- Re: autorevert.el, Eli Zaretskii, 2004/03/15
- Re: autorevert.el, Luc Teirlinck, 2004/03/15
- Re: autorevert.el, Eli Zaretskii, 2004/03/17
- Re: autorevert.el, Luc Teirlinck, 2004/03/18
- Re: autorevert.el, Stefan Monnier, 2004/03/19
- Re: autorevert.el, Luc Teirlinck, 2004/03/20
- Re: autorevert.el, Stefan Monnier, 2004/03/23
- Re: autorevert.el, Luc Teirlinck, 2004/03/23
- Re: autorevert.el, Luc Teirlinck, 2004/03/23
- Re: autorevert.el, Luc Teirlinck, 2004/03/20