emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH updated] Support for filesystem watching (inotify)


From: Rüdiger Sonderfeld
Subject: Re: [PATCH updated] Support for filesystem watching (inotify)
Date: Mon, 6 Jun 2011 18:25:24 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; )

On Monday 06 June 2011 17:21:35 Stefan Monnier wrote:
> Thanks for your review, I generally agree with your comments.
> 
> > Moreover, you need to decide what to do given, for example:
> >  (progn (file-watch "foo" 'modify 'notify-modify)
> >  
> >         (file-watch "foo" 'move 'notify-move))
> > 
> > Is this OK, is this an error, is this "close to" an error?
> 
> I think dired shouldn't need to know if some other package decided to
> watch the same directory, so having several watchers for the same file
> should be accepted and work correctly, i.e. both callbacks should be run
> when needed.

The problem is: How to implement the file-unwatch then? I need a way to 
identify each separate file-watch request. What would be the best way to do 
that?

Regards,
Rüdiger



reply via email to

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