From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#26126: 26.0.50; file-notify-rm-watch removes arbitrary watches Date: Sat, 25 Mar 2017 17:17:42 +0300 Message-ID: <83poh5bfuh.fsf@gnu.org> 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> <8737e8excq.fsf@luca> <877f3el80j.fsf@luca> <83zig9c186.fsf@gnu.org> <87a889hgxb.fsf@luca> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1490451551 16164 195.159.176.226 (25 Mar 2017 14:19:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Mar 2017 14:19:11 +0000 (UTC) Cc: 26126@debbugs.gnu.org, michael.albinus@gmx.de To: Andreas Politz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 25 15:19:07 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 1crmX4-0003iD-51 for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Mar 2017 15:19:06 +0100 Original-Received: from localhost ([::1]:37525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crmXA-0001hf-9C for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Mar 2017 10:19:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crmX4-0001hP-8C for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2017 10:19:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crmX0-0001hz-3T for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2017 10:19:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46225) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1crmWz-0001hv-Vs for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2017 10:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1crmWz-0002Ae-PG for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2017 10:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Mar 2017 14:19: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.14904514838279 (code B ref 26126); Sat, 25 Mar 2017 14:19:01 +0000 Original-Received: (at 26126) by debbugs.gnu.org; 25 Mar 2017 14:18:03 +0000 Original-Received: from localhost ([127.0.0.1]:44424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crmW2-00029L-M7 for submit@debbugs.gnu.org; Sat, 25 Mar 2017 10:18:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crmW1-00028t-Ai for 26126@debbugs.gnu.org; Sat, 25 Mar 2017 10:18:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crmVs-0001Vl-5K for 26126@debbugs.gnu.org; Sat, 25 Mar 2017 10:17:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crmVs-0001Vf-2C; Sat, 25 Mar 2017 10:17:52 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1625 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1crmVq-00065v-P8; Sat, 25 Mar 2017 10:17:51 -0400 In-reply-to: <87a889hgxb.fsf@luca> (message from Andreas Politz on Sat, 25 Mar 2017 09:57:52 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:130928 Archived-At: > From: Andreas Politz > Cc: michael.albinus@gmx.de, 26126@debbugs.gnu.org > Date: Sat, 25 Mar 2017 09:57:52 +0100 > > Eli Zaretskii writes: > > > Thanks, but I have difficulty reading it. Could you please provide a > > short legend? > > Sorry, I forgot to do that. > > The first column is the name of the test. The 2nd lists all watched > entities mapped to symbolic names. Further columns list the events for > specific back ends, which may refer to the same names. That still leaves a lot of unclear entries there. maybe it isn't important. > >> Finally, I'm tempted to suggest to get rid of the flags argument of > >> file-notify-add-watch. > > > The flags are there for the operations where the differences matter. > > When does it matter ? Why should we care? That's for the programmer to decide; we just give them the tools. > Also: I think in the end we want to add a layer above filenotify.el, > with the added ability of multiplexing events in a directory to multiple > watches, watching files in that directory. That was the original plan, AFAIR, but this facility still has too few users to try abstracting that higher layer, IMO.