From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: filenotify.el Date: Tue, 23 Jul 2013 08:57:06 +0200 Message-ID: <87a9ldzrul.fsf@gmx.de> References: <87d2ra9z4x.fsf@gmx.de> <7765700.YGZAUaTNB1@descartes> <87y595uthx.fsf@gmx.de> <51ED774C.4010309@lanl.gov> <87r4eqla94.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374562643 27489 80.91.229.3 (23 Jul 2013 06:57:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Jul 2013 06:57:23 +0000 (UTC) Cc: =?utf-8?Q?R=C3=BCdiger?= Sonderfeld , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 23 08:57:24 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V1WXD-0002aN-IU for ged-emacs-devel@m.gmane.org; Tue, 23 Jul 2013 08:57:23 +0200 Original-Received: from localhost ([::1]:51622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1WXD-0002AO-5y for ged-emacs-devel@m.gmane.org; Tue, 23 Jul 2013 02:57:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1WX9-00029N-LQ for emacs-devel@gnu.org; Tue, 23 Jul 2013 02:57:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1WX8-0001Ei-LK for emacs-devel@gnu.org; Tue, 23 Jul 2013 02:57:19 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:54779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1WX8-0001Ed-CE for emacs-devel@gnu.org; Tue, 23 Jul 2013 02:57:18 -0400 Original-Received: from detlef.gmx.de ([93.202.51.72]) by mail.gmx.com (mrgmx001) with ESMTPS (Nemesis) id 0LaXIV-1UG3Iy2fCp-00mKRR for ; Tue, 23 Jul 2013 08:57:16 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 22 Jul 2013 15:00:53 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:DuPmNhzDKg3CA9R/Evea0Ar0yZAHmG0ukbbkVoaxktvJZDiBL/J TJXhvQLK0/VveMqUWNdvfe78P03Av/z3kT37AzR5k3WmO4Oo9No4K0OHP9KDTNGbMyUU9Nc SMiNFbPH60wi1d9NlPMxjjkPLXylNtv4+427XJaPiJYdblEQD8LXZZywgDWnIFLIWQFe2zM UQU2Bu4fOCzst1Khv+G6A== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162084 Archived-At: Stefan Monnier 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.