[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: Wed, 24 Jul 2013 11:14:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Davis Herring <address@hidden> writes:

> An addendum to my own agitation: if there's a way to prevent gfilenotify
> from polling (or if we add Lisp polling to filenotify.el in the future),
> `file-notify-add-watch' could benefit from a don't-poll flag, either as
> an additional argument or as a new accepted symbol in FLAGS.

I'll check. There is the macro G_IS_POLL_FILE_MONITOR in gio. Maybe it
can be used to implement such a flag in gfilenotify.c.

However, I would rather implement it as a defcustom than as additional
argument to file-notify-add-watch. Then you could decide yourself,
whether you want polling, or not.

> Davis

Best regards, Michael.

reply via email to

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