From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#21432: 25.0.50; file-notify-rm-watch (inotify) errors if watched dir is deleted Date: Tue, 15 Sep 2015 10:00:10 +0200 Message-ID: <87bnd4xgc5.fsf@gmx.de> References: <87k2s15sfd.fsf@gnu.org> <83oahc7vxr.fsf@gnu.org> <87lhcgvr1t.fsf@gmx.de> <87r3m4hrfq.fsf@gmx.de> <83fv2jbrkm.fsf@gnu.org> <87zj0rh5lb.fsf@gmx.de> <87h9myt96l.fsf@gmx.de> <87zj0pild7.fsf@gnu.org> <83oah5a35p.fsf@gnu.org> <87vbbdih3w.fsf@gnu.org> <87r3m1igdf.fsf@gnu.org> <837fnt9lup.fsf@gnu.org> <87mvwoycl3.fsf@gmx.de> <83mvwo873t.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1442304093 4468 80.91.229.3 (15 Sep 2015 08:01:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Sep 2015 08:01:33 +0000 (UTC) Cc: 21432@debbugs.gnu.org, tsdh@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 15 10:01:22 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 1ZblB0-0004Yh-4d for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Sep 2015 10:01:18 +0200 Original-Received: from localhost ([::1]:45757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZblAz-0001Mp-O1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Sep 2015 04:01:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZblAq-0001LB-Id for bug-gnu-emacs@gnu.org; Tue, 15 Sep 2015 04:01:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZblAk-0000R9-UH for bug-gnu-emacs@gnu.org; Tue, 15 Sep 2015 04:01:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZblAk-0000Qx-RQ for bug-gnu-emacs@gnu.org; Tue, 15 Sep 2015 04:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZblAk-0000rK-IK for bug-gnu-emacs@gnu.org; Tue, 15 Sep 2015 04:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Sep 2015 08:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21432-submit@debbugs.gnu.org id=B21432.14423040163244 (code B ref 21432); Tue, 15 Sep 2015 08:01:02 +0000 Original-Received: (at 21432) by debbugs.gnu.org; 15 Sep 2015 08:00:16 +0000 Original-Received: from localhost ([127.0.0.1]:60857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZblA0-0000qG-4p for submit@debbugs.gnu.org; Tue, 15 Sep 2015 04:00:16 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:59595) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zbl9x-0000q7-SE for 21432@debbugs.gnu.org; Tue, 15 Sep 2015 04:00:14 -0400 Original-Received: from detlef.gmx.de ([93.209.81.17]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lp3x6-1YwudT3sBg-00ewDG; Tue, 15 Sep 2015 10:00:12 +0200 In-Reply-To: <83mvwo873t.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 15 Sep 2015 10:38:46 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:e8GC0BP6YWFoxj0DiYy0ouND3RyL4GcWysMiSzt33ecsZtt3A8q 2FHkmdR1vlL30UXFt8FQuVPw5OLmIbjJTOSE+pdKvbvuKNEjwfI3Xz41rBmaRTTbjKz/OY/ oY77+rBAh58JVSK115nyn+Gwj/sm06LSMgCkEQ+9H3GUHOdyHTh6NINMv30pFn4zsElVASG HkouN61zdppvwYZBNpVjw== X-UI-Out-Filterresults: notjunk:1;V01:K0:D25Q/1FcTj0=:po45OD5ybEW4e5ON2TnZ67 LveRwq/ETSgD2d15G953gSF5MpTfgr5W/0MYJ26fjyhfEpDGEbIhBEVpP68/MVH1D4kTseUqM jLXzlNQcxlWVx1kc59WQ4QXZGAjy1icwAbGmWq+ZJSCEAp0MQ82vH41tOrnXB1bsf57XalJHs i4UAgxbTDWOkNyfCp6rwYBueTNuL7rKIojiwB09enhlKA37y9ikAxHbsa3WFjpy5qD5cSLOq8 qM5PoN+Zef8thM1gApwDthG6RQ9X2htt9+GhxnK4zSByIOdwSA+QN3eYlubd4INygQg/c4niT imjByWq0p6G/6h01YQzFKkJwE4+mQxa+S4bgHX+M+xqDZRmtAlUUK5dsek4SPRnb6DnewoBGE Zx9KpP6nsEC9wlHOKIdXlYRznd1iLXTQMti8IiDYl7VUcCq+C2Jes12MzHrWO6UFxwZOJz6p9 i92YnTUCS9h8yIKXSf2aOkYZ+ScYRqLUNO3CAAmPMo9M7adflGewFZ8ncVI7nUJDGjKjokCjS fPTVDzUszNzzl+TQOi1hvNHmU/Cx7yEoxRHv2yZDYJKBDS1as2F8chQvUlkCwajk1HyWq9GrB ZG7dU3zlMfpeio+fOHIR3b9qMVFYsNicIidysWEZYt2e4q222IwjF+Jhf+7vq8tM4Gi/YG2M/ u+7t/V35Ar8kILLAW5IQ8Eo0meCeY7RzngEzi12G6HvE9W6v7tktMyXEhps71NdEJXANUleNr XLnmZ/Pktdm2TrCCpseDkLVn4Y9SFkfjfrnhww== 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:106569 Archived-At: Eli Zaretskii writes: >> I've adapted `file-notify-test04-file-validity' and >> `file-notify-test05-dir-validity', and they pass the tests now for the >> inotify case. Hopefully, it is the same for w32notify. > > No, it fails: > > Test file-notify-test04-file-validity condition: > (ert-test-failed > ((should > (equal '... > (mapcar ... events))) > :form > (equal > (created changed deleted) > nil) > :value nil :explanation > (different-types > (created changed deleted) > nil))) > FAILED 9/12 file-notify-test04-file-validity > > I guess the file-notify--test-with-events macro doesn't allow events > to come in on w32, but I have no idea how to debug this. After loading file-notify-tests.el, trace-function for file-notify-handle-event, file-notify-callback, file-notify--test-event-handler. Run only file-notify-test04-file-validity. Show the trace buffer. Best regards, Michael.