[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: 22 Mar 2004 11:23:25 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>    How about checking the directory size as well?  That could work for MS
>    filesystems as well, if `stat' does a good job of reporting the
>    directory size (in the MS-DOS port, it does).

> You mean (nth 7 (file-attributes dirname))?  (Corresponds to
> st_size.)  Somehow does not seem to work (on GNU/Linux).  It returns
> 4096 for all empty to medium size directories.  In other words, it is
> useless for our purposes.

He ment to check it additionally to the mod-time.
I.e. if either the mod-time or the size has changed, then the dir
has changed.


reply via email to

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