From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.bugs Subject: bug#26126: 26.0.50; file-notify-rm-watch removes arbitrary watches Date: Fri, 17 Mar 2017 15:59:19 +0100 Message-ID: <87efxw7xvc.fsf@luca> References: <87r31x9ulw.fsf@luca> <87shmcney8.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489762827 16706 195.159.176.226 (17 Mar 2017 15:00:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Mar 2017 15:00:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 26126@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 17 16:00:18 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 1cotMP-0002b4-U7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Mar 2017 16:00:15 +0100 Original-Received: from localhost ([::1]:49396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cotMS-0000A4-IA for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Mar 2017 11:00:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cotMM-000089-Dr for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2017 11:00:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cotMJ-0005u8-C3 for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2017 11:00:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cotMI-0005tr-VT for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2017 11:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cotMI-0000nr-KA for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2017 11:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Politz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Mar 2017 15:00:02 +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.14897627813007 (code B ref 26126); Fri, 17 Mar 2017 15:00:02 +0000 Original-Received: (at 26126) by debbugs.gnu.org; 17 Mar 2017 14:59:41 +0000 Original-Received: from localhost ([127.0.0.1]:60977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cotLw-0000mR-Qh for submit@debbugs.gnu.org; Fri, 17 Mar 2017 10:59:40 -0400 Original-Received: from gateway-a.fh-trier.de ([143.93.54.181]:52211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cotLu-0000m8-HL for 26126@debbugs.gnu.org; Fri, 17 Mar 2017 10:59:39 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Original-Received: from localhost (ip5f5bdecf.dynamic.kabel-deutschland.de [95.91.222.207]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id D134C179B38A; Fri, 17 Mar 2017 15:59:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1489762759; bh=tezOE63KtvB+bODe0ruhnBPXuwc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=i+eu/bhzmeRMWPlj+dnMz9sqZSLVkvCH7KvynXrQItoDqo9zs7VIxhZZ4oEhXL1Rc MKkPTytW+UnJFtxs5qs9XAHAyOTZsE6zA4HGt2LdlV9gQmsGNcdssniKn6IK7SCl4p F0zWap2QRXrU7oSwcl5eLlmKGuHaP3JoKy1TEuK8= In-Reply-To: <87shmcney8.fsf@detlef> (Michael Albinus's message of "Fri, 17 Mar 2017 15:41:19 +0100") 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:130676 Archived-At: Michael Albinus writes: > With the returned descriptors, it cannot be decided which watch has to > be removed, because both descriptors are equal. So we could decide > either to remove all watches for a given file if such a descriptor is > passed to `file-notify-rm-watch', or we must adapt > `file-notify-add-watch' to return different descriptors. I'm undecided > yet. Surely, we want the ability of two or more different packages being able to watch the same file, without interfering with each other. Why are you undecided ? I could try and find a solution, if you don't have time or anything. -ap