emacs-devel
[Top][All Lists]
Advanced

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

Re: File watch support in autorevert.el


From: Eli Zaretskii
Subject: Re: File watch support in autorevert.el
Date: Sat, 12 Jan 2013 16:03:50 +0200

> From: Michael Albinus <address@hidden>
> Cc: address@hidden
> Date: Sat, 12 Jan 2013 14:08:42 +0100
> 
> Eli Zaretskii <address@hidden> writes:
> 
> > I needed to make 2 changes to get this to work on Windows, see trunk
> > revision 111499.  Actually, I don't understand how it worked with
> > inotify before my changes, since you were looking for 'modify' in the
> > descriptor rather than in the action.  Did I miss something?
> 
> You're right, I've introduced a bug here at the very end of my tests
> last night.
> 
> > Btw, should we perhaps do something more sophisticated than
> > string-equal to compare file names?  On Windows, we probably should
> > compare case-insensitively, but what about file-truename and friends
> > on Posix platforms?
> 
> What about `file-equal-p'?

Can't use that on Windows, because FILE in the notification is just
the basename.  If we want to be able to do that, w32notify will have
to prepend the directory that is being watched to the file names in
the notifications.



reply via email to

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