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:39:48 +0200

> From: Michael Albinus <address@hidden>
> Cc: address@hidden
> Date: Sat, 12 Jan 2013 15:12:58 +0100
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >> 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.
> 
> `default-directory' is set properly, it shall work also on Windows.

For the autorevert use case, yes, it will work.  But in general, no
one said that the file being watched is necessarily in the
default-directory of the buffer.



reply via email to

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