emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Added inotify support.


From: Michael Albinus
Subject: Re: [PATCH] Added inotify support.
Date: Tue, 11 Dec 2012 21:17:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Rüdiger Sonderfeld <address@hidden> writes:

>> Is there a reason, that CLOSE (and also MOVE) are not handled in
>> mask_to_aspects?
>
> IN_CLOSE and IN_MOVE are not separate events but convenience macros.
>
> From the notify(7) manpage
>
>     Two additional convenience macros are IN_MOVE, which equates to
> IN_MOVED_FROM|IN_MOVED_TO, and IN_CLOSE, which equates to IN_CLOSE_WRITE|
> IN_CLOSE_NOWRITE.

I see. I will filter them out in the Trammp handler as well.

Maybe you could precise it in the docstring of inotify-add-watch. Close,
move and all-events are separated from the other aspects, but there is
no reasoning why.

And midterm it might be useful to describe the inotify mecahnism in the
Elisp manual in more detail.

> Regards,
> Rüdiger

Best regards, Michael.



reply via email to

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