From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: File watch support in autorevert.el Date: Thu, 17 Jan 2013 21:39:59 +0200 Message-ID: <83ip6v7g4w.fsf@gnu.org> References: <878v819kok.fsf@gmx.de> <83fw28uj9c.fsf@gnu.org> <8338y7vkyx.fsf@gnu.org> <87libzn4qt.fsf@gmx.de> <87pq1b2vdf.fsf@gmx.de> <838v7ytzbv.fsf@gnu.org> <87zk0esexv.fsf@gmx.de> <83mwwesajm.fsf@gnu.org> <87sj6087yl.fsf@gmx.de> <83vcav7ns4.fsf@gnu.org> <87mww7r50q.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1358451607 29326 80.91.229.3 (17 Jan 2013 19:40:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 19:40:07 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 17 20:40:25 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 1TvvK3-0008Jt-P6 for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2013 20:40:23 +0100 Original-Received: from localhost ([::1]:51824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvvJn-0002dH-6E for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2013 14:40:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvvJg-0002b0-M5 for emacs-devel@gnu.org; Thu, 17 Jan 2013 14:40:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvvJc-00036W-At for emacs-devel@gnu.org; Thu, 17 Jan 2013 14:40:00 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:44972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvvJc-00036J-2p for emacs-devel@gnu.org; Thu, 17 Jan 2013 14:39:56 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MGS00E00BXZPB00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Thu, 17 Jan 2013 21:39:54 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MGS00EKIBYI9BA0@a-mtaout20.012.net.il>; Thu, 17 Jan 2013 21:39:54 +0200 (IST) In-reply-to: <87mww7r50q.fsf@gmx.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:156453 Archived-At: > From: Michael Albinus > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Thu, 17 Jan 2013 20:19:49 +0100 > > The point is that every file being watched should have a different watch > descriptor. Otherwise, an *-rm-watch command for a given file would stop > watching all files in the same directory. > > Good to know that there's no problem with w32notify. For inotify, I need > to implement such mechanism, likely. Ah, I missed the fact that inotify_add_watch will return the same handle when called with a file name that is already watched. Now I see what you mean.