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: Wed, 22 Mar 2017 13:56:50 +0100 Message-ID: <87fui54gh9.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> <871strm323.fsf@detlef> <8760j2mxmt.fsf@luca> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490187503 7689 195.159.176.226 (22 Mar 2017 12:58:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Mar 2017 12:58:23 +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 Wed Mar 22 13:58:19 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 1cqfq4-0000fX-BF for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Mar 2017 13:58:08 +0100 Original-Received: from localhost ([::1]:50921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqfqA-0004TE-AO for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Mar 2017 08:58:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqfq2-0004QV-24 for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2017 08:58:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqfpy-0006PO-6a for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2017 08:58:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40573) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cqfpy-0006PG-4M for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2017 08:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cqfpx-0006fH-Ud for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2017 08:58: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: Wed, 22 Mar 2017 12:58: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.149018742325528 (code B ref 26126); Wed, 22 Mar 2017 12:58:01 +0000 Original-Received: (at 26126) by debbugs.gnu.org; 22 Mar 2017 12:57:03 +0000 Original-Received: from localhost ([127.0.0.1]:38771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqfp0-0006df-HP for submit@debbugs.gnu.org; Wed, 22 Mar 2017 08:57:02 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:57362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqfox-0006dC-U1 for 26126@debbugs.gnu.org; Wed, 22 Mar 2017 08:57:00 -0400 Original-Received: from detlef.gmx.de ([93.209.67.208]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MGXV6-1cv1PQ1bAu-00DEdg; Wed, 22 Mar 2017 13:56:52 +0100 In-Reply-To: <8760j2mxmt.fsf@luca> (Andreas Politz's message of "Tue, 21 Mar 2017 16:56:42 +0100") X-Provags-ID: V03:K0:HxAXANQLIFNEmkc+kzGtRrv5XkJk2lo+m+jNS+xXuurgZo0tpNf HaGSWFPRLdp7+b9nVDLmljY3WMHmG/dK2bkMOJGUpawGUsk7Zh/md3LsDmdmNsxvae2EU29 b6tdh2fhFhVzWqAgcEIPJNxpi5Mv2S0Q2q/JKZTCU5y1BcUxX13Ltmmw/AWcKCvhzBbiSF4 NQswyIb6PxqRtr/2rcqhw== X-UI-Out-Filterresults: notjunk:1;V01:K0:c1my89UyvgY=:LJyzoy0XANZz8tkzbnK5TY SJb8t0DpmIW8l8I/ZcvCszxcyxcJKg+IZRpnfYdp2ZPDqoWG10QIga+11Zlu6iBLC7k91axVK ZUoTamXQx3UUDf1dncE2LldixqmTu9uBc4C58RLNM7PTwol/1z0mrp6eTsYv+eI6tk6OherAW 1ZwE+oEOUPxnO2zjvLkUNweCbMIO/G732dbVxwz3rpxC2/pZaja2bO5irp8T84dIxe98OB+r/ hvB59smZjfNN8ySh+10CgjbI6uVkEIb6y06icNN5pEO1yciox4ANI6cVYny1UkVsf5H3deJX7 cqtvIUg/RH2qaDSFrrZYm9LB36kw2/Rk9MQxmdL2cgdfJxGo1x9ulKe9HbsMObeJFSN7CSyfE /UT5Gljl/d1k/HyzbLMBvaPK/8fkK50d73EZAkXl4pglhqPPVkAl949xLGL3obOAeHcwF2hUc xBobAQfLTVBsPQtOXIUjf5eD/Yc2B0gi6GzMUzeGK/xiuk0UcOddhD9ZXu9Hw0dp55FbIFilX BAWAI8gSdwLL4M544VkRQIlfmZC62t04OSCvPew5B95l3x949Xg1POVLBwR211/f5sCNtKNhD CR0OMkGhKWJ2gKZT89iYel0IHLq31yJcsoX7RwNzZsL3lGYo9YcOQrVan7eBlRZyGkTV+CMKS o9hky52mHB1VI/03ZLtZ/LYRYivF1hkKnwFi7vVGPoxSBbbsWhaFFATPDEl1YgdGPZxn5rPEu /gS050moR+PV3m64gI/SOkRhha9iObV6ZincnG2TUBw49j+NVGZt1Tg2JFYR/vHAMLs45I6U 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:130802 Archived-At: Andreas Politz writes: Hi Andreas, >> 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. > > Ok, I try to find it, but note that this behavior was introduced with > the following (kqueue-only) commit > > commit 7bf54d01159eb09bae3c9cd86f2af0812d9afdf6 > Author: Michael Albinus > Date: Fri Jan 22 19:56:09 2016 +0100 > > Backport kqueue integration from master My FreeBSD 10 VM has been reanimated. Last time I've used it was June 2016, so everything is dusty there. As time permits, I'll check the kqueue vs remote handlers status. > Maybe we can work on unifying the behavior across back-ends at a later > time, while taking some pointers from other projects, e.g. > https://github.com/emcrisostomo/fswatch . Looks interesting, but I have no idea about its state. Last commit is from 23 Jul 2016; is it still maintained actively? A similar approach like fswatch is the already integrated gfilenotify library. Honestly, this is the most problematic backend. > -ap Best regards, Michael.