From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#21435: 25.0.50; file-notify has problems after renames Date: Wed, 09 Sep 2015 21:01:18 +0200 Message-ID: <87egi7o1s1.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441825352 16941 80.91.229.3 (9 Sep 2015 19:02:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2015 19:02:32 +0000 (UTC) Cc: 21435@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 09 21:02:20 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 1ZZkdJ-0003sv-2N for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Sep 2015 21:02:13 +0200 Original-Received: from localhost ([::1]:44702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZkdI-0002d4-Jd for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Sep 2015 15:02:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZkdC-0002c7-5h for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 15:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZkd8-000309-0f for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 15:02:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZkd7-000305-Ul for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 15:02:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZZkd7-0006NJ-Ny for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 15:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Sep 2015 19:02:01 +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.144182528424453 (code B ref 21435); Wed, 09 Sep 2015 19:02:01 +0000 Original-Received: (at 21435) by debbugs.gnu.org; 9 Sep 2015 19:01:24 +0000 Original-Received: from localhost ([127.0.0.1]:54137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZZkcW-0006MK-15 for submit@debbugs.gnu.org; Wed, 09 Sep 2015 15:01:24 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:34013) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZZkcU-0006MC-97 for 21435@debbugs.gnu.org; Wed, 09 Sep 2015 15:01:23 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 9CD1B20ABD for <21435@debbugs.gnu.org>; Wed, 9 Sep 2015 15:01:21 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Wed, 09 Sep 2015 15:01:21 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=sUy3USdC1DXQiRDYhY85nYxsDKM=; b=hwvWW BSqtE+OfbtZI5c8rzLhj6sRudZMK+NUU56jwa4xSoDvs57lW8Cs5eUBRdPbNt6Eq aWerYyNkEd13bYoHs5tjjzgyPWzyjDH6WhgJlHtcd9PIGBAWy0+bEwVcM6yzUfYh W65OivYL3Ywes99GQkbQ1wz2J3WmtOKklux38U= X-Sasl-enc: K+oCGoiw5m3Lb56Ol4b84CzW6Y57w0USzN7eZ3KQpQW8 1441825281 Original-Received: from thinkpad-t440p (unknown [2.161.206.107]) by mail.messagingengine.com (Postfix) with ESMTPA id D5D93680137; Wed, 9 Sep 2015 15:01:20 -0400 (EDT) In-Reply-To: <877fnzv4r6.fsf@gmx.de> (Michael Albinus's message of "Wed, 09 Sep 2015 20:15:09 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) 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:106322 Archived-At: Michael Albinus writes: >>>> PS: Tassilo, you write great test cases. Do you want to contribute >>>> to test/automated/file-notify-tests.el? >> >> Yes, but right now I can't because all these corner cases like the ones >> from my last two reports are largely undocumented so I don't know what >> to assert. I myself don't have a strong opinion on the behavior of >> file-notify as long as it's consistent across the different >> `file-notify--library' possibilities (at least mostly, e.g., I can live >> with created/deleted events in place of renamed in case the backend >> doesn't support this) and the documentation is a bit more definite. > > Even the straigt forward cases are not covered well in > file-notify-tests.el. There is a test whether events arrive, but the > nature of the events is not asserted. > > You could try with what you expect, at least for inotify, and Eli and > I could check then for the gfilenotify and w32notify cases. If we have > the same results, fine; if we have different results it would be a > good chance for us to harmonize. That's right. I'll try adding some tests whenever I find some time. Bye, Tassilo