From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21435: 25.0.50; file-notify has problems after renames Date: Fri, 11 Sep 2015 15:32:36 +0300 Message-ID: <834mj13zmj.fsf@gnu.org> References: <87y4gh47sr.fsf@gnu.org> <83k2s07vaf.fsf@gnu.org> <87fv2ovlcr.fsf@gmx.de> <83613k7owe.fsf@gnu.org> <87si6og17z.fsf@gnu.org> <877fnzv4r6.fsf@gmx.de> <87egi7o1s1.fsf@gnu.org> <871te7tk9i.fsf@gnu.org> <87oahatt4p.fsf@gmx.de> <87a8sunve8.fsf@gnu.org> <87si6mi2oy.fsf@gmx.de> <87613inkpx.fsf@gnu.org> <87r3m5l1sk.fsf@gmx.de> <87a8st9mm8.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1441974877 8394 80.91.229.3 (11 Sep 2015 12:34:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Sep 2015 12:34:37 +0000 (UTC) Cc: 21435@debbugs.gnu.org, michael.albinus@gmx.de To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 11 14:34:19 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ZaNWx-0000mJ-6d for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Sep 2015 14:34:15 +0200 Original-Received: from localhost ([::1]:56052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaNWv-0008Vx-Ir for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Sep 2015 08:34:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaNWq-0008VT-8j for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2015 08:34:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaNWk-00063a-J3 for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2015 08:34:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaNWk-00063U-Fc for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2015 08:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZaNWk-0006at-9s for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2015 08:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Sep 2015 12:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21435 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21435-submit@debbugs.gnu.org id=B21435.144197479925300 (code B ref 21435); Fri, 11 Sep 2015 12:34:02 +0000 Original-Received: (at 21435) by debbugs.gnu.org; 11 Sep 2015 12:33:19 +0000 Original-Received: from localhost ([127.0.0.1]:56237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZaNW3-0006a0-7T for submit@debbugs.gnu.org; Fri, 11 Sep 2015 08:33:19 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:58820) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZaNW0-0006Zq-KP for 21435@debbugs.gnu.org; Fri, 11 Sep 2015 08:33:17 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NUI00500IKV7D00@a-mtaout20.012.net.il> for 21435@debbugs.gnu.org; Fri, 11 Sep 2015 15:32:43 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NUI004R2IUJLXC0@a-mtaout20.012.net.il>; Fri, 11 Sep 2015 15:32:43 +0300 (IDT) In-reply-to: <87a8st9mm8.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106411 Archived-At: > From: Tassilo Horn > Cc: Eli Zaretskii , 21435@debbugs.gnu.org > Date: Fri, 11 Sep 2015 14:17:03 +0200 > > Michael Albinus writes: > > > Thanks. Another point is whether we always can expect that all native > > libraries will report exactly the same number of events, and then > > whether they report them exactly in the same order (you expect > > '(created changed deleted) here). Let's see how the test cases evolve, > > maybe we need more tolerant tests. > > Yes, I'm quite strict right now and IMHO in the current tests, that's > the only sensible order of events. But of course if it turns out that > with some notification backend we can't achieve that guarantee, it'll be > no problem to relax the assertions a bit. I think if we ever find that the order is not guaranteed, we should sort the events into the "right" order in filenotify.el. Once again, the sole reason for having filenotify.el is to present a unified API to applications, so that they don't need to know anything about the back-ends and their idiosyncrasies.