emacs-devel
[Top][All Lists]
Advanced

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

Re: autorevert.el


From: Luc Teirlinck
Subject: Re: autorevert.el
Date: Tue, 23 Mar 2004 22:10:08 -0600 (CST)

Eli Zaretskii wrote:

   You again assume that DOS and Windows behave like Posix systems; they
   don't.  `stat' is not a system call on DOS/Windows, so whoever writes
   its emulation for the library could, for example, add the lengths of
   all the names of the directory files and use that as the directory's
   size.  With such a version of `stat', autorevert will work like it
   does on Posix platforms.

Not completely.  When renaming a file to a name with the same length
(common when one made a typo, when updating a version number, changing
a suffix and so on), dired would not get notified.  So even with your
suggested version of stat, looking at the directory size would seem to
be clearly inferior to the prior suggestion of listening to the
messages delivered when a directory changes.

Anyway, the question is whether one can find anybody willing and able
to implement either of these suggestions.  I would say, preferably the
"listening to the messages" one.

Sincerely,

Luc.





reply via email to

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