[Top][All Lists]

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

Re: filenotify.el

From: Michael Albinus
Subject: Re: filenotify.el
Date: Tue, 23 Jul 2013 08:57:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> The only case where file-notify-supported-p makes sense is when you want
> to know if file-notify-add-watch would work before you know whether you
> want to call file-notify-add-watch.  Can't think of too many situations
> where this would be the case.

It is more simple to implement for some Tramp file name handlers. For
example, in the smb case I have mapped file-notify-supported-p to
ignore. But of course I could implement it differently, let
file-notify-add-watch return with a file-notify-error in that case.

I have no heavy preference for or against file-notify-supported-p.

>         Stefan

Best regards, Michael.

reply via email to

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