[Top][All Lists]

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

Re: [PATCH] Added basic file system watching support.

From: Michael Albinus
Subject: Re: [PATCH] Added basic file system watching support.
Date: Tue, 11 Dec 2012 09:19:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> For `inotify-rm-watch' that's not possible right now. It takes as
>> argument WATCH-DESCRIPTOR, which is not a file name, and which does not
>> contain a file name.
>> Could we extend the interface of `inotify-rm-watch' to add a file name?
> Why do you need an extension?  This is Lisp: we could pass the file
> name _as_ the descriptor.  Since the remote file handler will take
> care of the call anyway, it will assign the correct meaning to the
> descriptor.

Sure, that would be sufficient for Tramp. I had the impression, that a
more complex structure as descriptor was chosen, because there could be
several `inotify-add-watch' calls for the *same* file, being different
in the aspect or the callback function.

Best regards, Michael.

reply via email to

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