From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#26126: 26.0.50; file-notify-rm-watch removes arbitrary watches Date: Tue, 21 Mar 2017 09:44:52 +0100 Message-ID: <871strm323.fsf@detlef> References: <87r31x9ulw.fsf@luca> <87shmcney8.fsf@detlef> <87efxw7xvc.fsf@luca> <87mvcjophx.fsf@detlef> <87tw6rssoi.fsf@luca> <87pohfkmvh.fsf@detlef> <87lgs2sobr.fsf@luca> <87y3w2gywc.fsf@detlef> <878to21fty.fsf@luca> <87wpbl1u80.fsf@detlef> <87d1ddecx2.fsf@luca> <87efxtnk8m.fsf@detlef> <87tw6nd6nf.fsf@luca> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490085981 25725 195.159.176.226 (21 Mar 2017 08:46:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Mar 2017 08:46:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 26126@debbugs.gnu.org To: Andreas Politz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 21 09:46:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqFQg-0005QF-Gr for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Mar 2017 09:46:10 +0100 Original-Received: from localhost ([::1]:37260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqFQi-0006FR-S2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Mar 2017 04:46:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqFQc-0006F7-H2 for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2017 04:46:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqFQY-0007W0-ER for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2017 04:46:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cqFQY-0007Vd-3f for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2017 04:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cqFQX-0003dP-MI for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2017 04:46:01 -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, 21 Mar 2017 08:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26126 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26126-submit@debbugs.gnu.org id=B26126.149008590613907 (code B ref 26126); Tue, 21 Mar 2017 08:46:01 +0000 Original-Received: (at 26126) by debbugs.gnu.org; 21 Mar 2017 08:45:06 +0000 Original-Received: from localhost ([127.0.0.1]:37171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqFPe-0003cE-7w for submit@debbugs.gnu.org; Tue, 21 Mar 2017 04:45:06 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:61650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqFPd-0003bT-AE for 26126@debbugs.gnu.org; Tue, 21 Mar 2017 04:45:05 -0400 Original-Received: from detlef.gmx.de ([93.209.71.173]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M9aX9-1d38WH2cRT-00CxA0; Tue, 21 Mar 2017 09:44:54 +0100 In-Reply-To: <87tw6nd6nf.fsf@luca> (Andreas Politz's message of "Mon, 20 Mar 2017 21:39:48 +0100") X-Provags-ID: V03:K0:V6xLbY64ZoF7YOBM6pdJVKvSFE2EEA3Xxw8/MyXzAlNh/j/FT4s VCLgjOFK/gezkVmC89PcGlSK6OWEoQzAJQS12N24a6YRmPjnfhgK5jna35j6jxGdcIsg8kF GEr+NDamOCBqWG7o8WTeoLVoNY1mjg2udAfEptb15QbpJSpHWZzcpBCzUT/UZ87hHdnrOZk j0ppXzavrZOmGAJej6uNA== X-UI-Out-Filterresults: notjunk:1;V01:K0:jQjSYILiBUI=:EuCy/Uzp7itqDAbxMTKeR3 XlXO+h+R5plt2OUPpSBdnxsbVltvs4Dy8Gz0vMwj7AXBKaep3rFKQAK3IzqeTZlWAVVjdnYON d/VW8UiskX8uRojtWbzZ77h6+vKovR8bDdUooQPDYCy0m59W1q2bDNhrfBqZjuDbKML4GCi7r PePladrj+gDReILMzaWBZsbSG77oE6HHwN0n30pvSy/XPX8GsB9ho2H5tjeiIeBeRZG1mHvSJ 7TIms/2W2/1XBRaVb9L/vivP3kUsX1wQ5z3GqOtt+doJpcft8oSWS2iSWF3CgoUAl2ASRDxQ8 8V3I98EJZLLsW21dFufoOR84EfqGCUb85/FanWsailhue/82t0tOSAA0w05Xqz/90IpceKF1p +yyvIpsAj0w12624xpjzrjZfy1ewnumSnJhlOgV/ZxXGBM0fCFpUZCkGuUxBomd7U44gSG2g4 srkPXAicMAwWhOuP0c+khG23kwCgYZBktF3hENT7T0XWEaDWD0l9d/rY/ES172uA05rHZKxwl NQKG3jv5UuNV0WXZWCgidHJjY5hiF7zVtETbpjSsNELRHzxYHR519EWryCAi7mVRzYZju1lEs UZUUVUD7n0gj2at1HUCstD0IvQYUBlpMC/1lgTMyvFfRqM7ZapBKjysj3qWnshJS3MUWK/GTX hb6OXZ5E9IhOYn48LQzUDoswPB7iPd6YvPFnQV1BMSyj+JB56fPcKToS9yWYxufKbuZSjpzoD eto5SC3dn687hwFSaVglfHNLfLasEziAr20A7eyWP1rHEsgUrNfmudW2/OH/AudQftMpjjOe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:130775 Archived-At: Andreas Politz writes: >>> Sure, the back-ends mostly watch directories, except for kqueue. But is >>> this behavior also intended to be propagated to the clients of >>> filenotify.el ? >> >> Yes. > > Why is that ? We've discussed this a while ago, main reason (IIRC) was to achieve same behaviour for the different libraries. I cannot find the discussion just now, likely it was in one of the bugs. The main reason was the w32notify library, which works only watching directories. Later on we've added the kqueue library, which works reliably only watching files. This breaks the unification attempt, but I don't believe we shall change the behaviour again. > -ap Best regards, Michael.