[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using glib's g_file_monitor_file and g_file_monitor_directory
From: |
Michael Albinus |
Subject: |
Re: Using glib's g_file_monitor_file and g_file_monitor_directory |
Date: |
Fri, 22 Mar 2013 08:52:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Ted Zlatanov <address@hidden> writes:
> My point is, currently, monitoring an ftp:// mount with inotify is
> harmless, right? You won't poll and it fails instantly?
Yes.
> Now suddenly we may start to poll. This is unexpected behavior and
> should be off by default, to prevent unwanted network connections and
> general lag in Emacs. I think that's generally desirable.
There won't be unwanted network connections. If you start to monitor
ftp://..., and this is not mounted already by gvfs, it won't be mounted
in the background just because of monitoring. You must mount it
explicitly by the gvfs-mount command, or by a file manager like nautilus
or Tramp.
> Ted
Best regards, Michael.