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: Sun, 19 Mar 2017 20:23:53 +0100 Message-ID: <87efxtnk8m.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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489951519 31192 195.159.176.226 (19 Mar 2017 19:25:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Mar 2017 19:25:19 +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 Sun Mar 19 20:25: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 1cpgRx-0006wV-C0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Mar 2017 20:25:09 +0100 Original-Received: from localhost ([::1]:57817 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpgS1-0004Hg-5e for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Mar 2017 15:25:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpgRu-0004FG-Ts for bug-gnu-emacs@gnu.org; Sun, 19 Mar 2017 15:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpgRq-0004nB-0g for bug-gnu-emacs@gnu.org; Sun, 19 Mar 2017 15:25:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37260) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cpgRp-0004n5-Uo for bug-gnu-emacs@gnu.org; Sun, 19 Mar 2017 15:25:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cpgRp-0002sq-O9 for bug-gnu-emacs@gnu.org; Sun, 19 Mar 2017 15:25: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: Sun, 19 Mar 2017 19:25: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.148995144411013 (code B ref 26126); Sun, 19 Mar 2017 19:25:01 +0000 Original-Received: (at 26126) by debbugs.gnu.org; 19 Mar 2017 19:24:04 +0000 Original-Received: from localhost ([127.0.0.1]:35459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpgQu-0002rZ-IO for submit@debbugs.gnu.org; Sun, 19 Mar 2017 15:24:04 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:61299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpgQs-0002r3-RV for 26126@debbugs.gnu.org; Sun, 19 Mar 2017 15:24:03 -0400 Original-Received: from detlef.gmx.de ([93.209.91.26]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LzKmP-1cCAkF1bpB-014UNB; Sun, 19 Mar 2017 20:23:54 +0100 In-Reply-To: <87d1ddecx2.fsf@luca> (Andreas Politz's message of "Sun, 19 Mar 2017 12:14:33 +0100") X-Provags-ID: V03:K0:bjWQYWIEe4GswqPLLTQoi6ws4m+RU7CF+wzKhXLQiITCdCT5u11 O2SP696R8BwgTcyFRVgSNp35ZxXb5ZtUYy1bqRtIPL6NaagBkEpYRIJuR/Y6OYzkzLWFPUK 8ihKkzq+QhA+4bkBsju1vONTzmVPBHOof7oQrYQNKafRjVPSK401G3urqOfiTA6CTogSjcq x07H2JzBagrbXqMW7W20g== X-UI-Out-Filterresults: notjunk:1;V01:K0:sGzpVuCxkKw=:lRd9lXr/YYrh2TaJC1Wq79 3CutA29L1FCT4HHeRO0Z3M3xV6shCatS7rUdIsY3FtjtZGJ6lRJ2S/nGzEJ4Yn/XNBTbsT4Ex 65zKkFpFwVjEDIB7R6kGWtEXECxbvjQRTwSyT16GtDFqeGadu8ePsd4Pjy9AYHQPo5hN7Iqh6 8lWItHHORus770XzqqGsNclV/VX0CDeoPOvn09iQMivyVMoMbr7b7ondcGLEUas5lnXk5S+z0 kPYKsFcbUcalEIustsXhn1lzPV8zrkjCYrNpSDSMB9OA7RoQ1Kp5DlEaabjRFzTAsaQ+BhN61 fDsUJ/uOA721o9o2DjAPF2B5ZYdrL7tjdz6UVqazo2qJpzlGyZ1ulXGB9oNiFF4E8cc5uU4Sh VWrmOavH6gpI1O0ObfQZIq6krg6E15kEitsHeTgrSCsqG1kOuJfVpwOoa9Oapk1QxCgkO+Szq +aoDnDLH4PjdkYRt2o89N979Ui61JyAfco1hY8fubnbFRjeei/u++R9HaDJc7bBlzRrVm8a5A 1FD485m6kZTxBCzuBcut/nKgsBxvKzqXdK/OeTfn5V5QPGWaMkSZKB58amqC684iAqKZ3AdZL Feq7Kg6P+hwO+miMJjHQVfcsNNu1TDf7jmujHFNoYc+RG3XKVxX7q1YQUEb90Q5mt+nczSgfS Qd4b1VWHsgGgq/5rb85Va1uJH+6t6zl9PPZUfdqenPcrzQ055l9ArVWJ2d/jQ9e/bXd+ris8L 6BV98rp8JyelvpTqKeqyzqVEKS1dg0re5F+xwny8Y0mriY9IVK2LhfjHjuVCBnV9WpUjSmI1 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:130730 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. >> We've discussed this years ago, maybe you find it in the archives. There >> are problems when you watch only the file. This doesn't work for example >> when you want to watch a file which does not exist yet. Or which >> disappears, and reappears. >> >> The agreement was to watch the upper directory. This works for all >> backends except kqueue. > > Sorry, for not being clear: I was exclusively talking about > file-name-handler here. Passing the intended filename is more general > then passing the directory only. Think of some program foonotify, which > is similarly limited like kqueue. Granted, this scenario probably won't > come up very soon. We have only two different programs for the remote case, gvfs-monitor-dir and inotifywait. Coincidentally, I'm also the Tramp maintainer, so I know what I am saying :-) > -ap Best regards, Michael.