[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 17:19:06 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> Maybe I'm missing something, but the above example is not the issue at
> hand. The issue at hand is to have several separate writes to a file
> with some significant time between them. AFAIU, in the above example
> the file is written once and then closed.
You are right, I was thinking the wrong direction.
So we must use `modify' (and maybe `close-write') for inotify, and
`size' and `last-write-time' for w32notify. The problem is, that the
events are coming randomly, and one must decide whether the correct
handling has been performed already.
It does not make sense to revert a file twice, just because 2 different
events indicate the same change. Yes, the timer makes sense.
Best regards, Michael.
- Re: File watch support in autorevert.el, (continued)
- Re: File watch support in autorevert.el, Stefan Monnier, 2013/01/10
- Re: File watch support in autorevert.el, Eli Zaretskii, 2013/01/11
- Re: File watch support in autorevert.el, Stefan Monnier, 2013/01/11
- Re: File watch support in autorevert.el, Eli Zaretskii, 2013/01/11
- Re: File watch support in autorevert.el, Michael Albinus, 2013/01/11
- Re: File watch support in autorevert.el, Eli Zaretskii, 2013/01/11
- Re: File watch support in autorevert.el, Michael Albinus, 2013/01/11
- Re: File watch support in autorevert.el, Eli Zaretskii, 2013/01/11
- Re: File watch support in autorevert.el,
Michael Albinus <=
- Re: File watch support in autorevert.el, Stefan Monnier, 2013/01/11
- Re: File watch support in autorevert.el, Michael Albinus, 2013/01/11
- Re: File watch support in autorevert.el, Eli Zaretskii, 2013/01/12
- Re: File watch support in autorevert.el, Michael Albinus, 2013/01/12
- Re: File watch support in autorevert.el, Eli Zaretskii, 2013/01/12
- Re: File watch support in autorevert.el, Michael Albinus, 2013/01/12
- Re: File watch support in autorevert.el, Michael Albinus, 2013/01/17
- Re: File watch support in autorevert.el, Eli Zaretskii, 2013/01/17
- Re: File watch support in autorevert.el, Michael Albinus, 2013/01/17
- Re: File watch support in autorevert.el, Eli Zaretskii, 2013/01/17