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 19:49:29 +0100 Message-ID: <87poh92ll2.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> <87fui54gh9.fsf@detlef> <87wpbhkyfx.fsf@luca> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490208631 25802 195.159.176.226 (22 Mar 2017 18:50:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Mar 2017 18:50:31 +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 19:50:26 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 1cqlKn-00052Q-OK for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Mar 2017 19:50:13 +0100 Original-Received: from localhost ([::1]:52864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqlKt-0003ir-Pm for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Mar 2017 14:50:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqlKi-0003dw-9R for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2017 14:50:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqlKd-0004ro-DC for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2017 14:50:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cqlKd-0004rV-AU for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2017 14:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cqlKc-00006I-1Z for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2017 14:50:02 -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 18:50: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.1490208584358 (code B ref 26126); Wed, 22 Mar 2017 18:50:01 +0000 Original-Received: (at 26126) by debbugs.gnu.org; 22 Mar 2017 18:49:44 +0000 Original-Received: from localhost ([127.0.0.1]:39739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqlKJ-00005i-No for submit@debbugs.gnu.org; Wed, 22 Mar 2017 14:49:43 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:50417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqlKH-00005T-Re for 26126@debbugs.gnu.org; Wed, 22 Mar 2017 14:49:42 -0400 Original-Received: from detlef.gmx.de ([93.209.67.208]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MYfJW-1cczgS2af4-00VTFC; Wed, 22 Mar 2017 19:49:34 +0100 In-Reply-To: <87wpbhkyfx.fsf@luca> (Andreas Politz's message of "Wed, 22 Mar 2017 18:34:26 +0100") X-Provags-ID: V03:K0:sx0Up4WOx2UXHVh4xJt2vkNPHSlQpA6l8WsJPQhRwm1N0fpTfNI IFk7eE7NnHLD71uy5dY5L2u53jlhgF3JP5PwOC1qvUve5zvsSGIxvEoA4MwNwpGdFJ7YqTB 9eDjyN9avxs99a366L30mzCYHysp5PZSooLEhbkJt0Q/E7w02OakoaGJWCpJOB028XJLKpu myb5f+iaeT7HUYTayfabw== X-UI-Out-Filterresults: notjunk:1;V01:K0:aRSvaJaJzZU=:h6CqHst4AJB872zGdnOvkq znknDmEn7Ydzav24b3Eb8FOOK8Td5NkthUhIO3XQzhUt9Nt0Vv9yD9v+CWFso2h8wmRc4xgKL dQmOpM8a23C4VNP+cS9g5VEH6wLJLZL83NnGQps1HRUXvhgjuhaUARar2MquCOI92poKLu9wP r9LEVJvET3YmjbzIu/IOFu73z18C0VLrOvackveNIwFdxj9Fhp0dWr3LXMv+3UxJAtB3LR7dM luxm5TxYjyKcfGktttzDuMccUPFMchVb/Hjq4QS6BafuvGrymezjtSSPNX192UgjtNcn6u+NW ar5djf95f09mb9dQZ+bhleoWP8BvMAuVTje5EJjJMug3FjwxEQnRhcz6oLyeJeeWcD09/hChv TWXkJKTDB/AYSwl6mwFEeJ7yjt6r3ac8ReMqRA8hoDKyDcimMISsHGon24L6atAY0SoQYwX0V +oBgR2CydbnBTc5jiqZOfhoCnD3zQ9W0RHzIKBHR8f/AtDw1KjL77np4+y5jVLLYCK97HrpeA WImOmZG865Mwsvt2tZjgZ21RrSpSj9ismQPL4Qy+YUz4uA15pixsJeCgq/LMaIi/mEQ8Rm3Ad ckJ94Yu/v3wlIwgbGmfSG49ojO6U9gWVTSbdFbuH8q4hkP/dJ/vkTmneocHpyYJXWQxrX1f3/ al37GcCXpj+Sa8AVcANXVI/35q0MGPDkyBuswQa4yGBw5vELy8RjAQbfQ9E1RhDS+txuCB1dN MG1OPz9ZYfUS9JKPGC+i7qXoYm8Rvkq0np5DSWKERtYaq0fNodxOj4RrEXATacHmEMbdoqQA 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:130819 Archived-At: Andreas Politz writes: Hi Andreas, >> A similar approach like fswatch is the already integrated gfilenotify >> library. Honestly, this is the most problematic backend. > > In terms of "unintegratedness", i.e. does behave differently depending > on the back-end used ? (I know from the tests that it may use polling > every 5 secs.) Yes, this was also a problem. Sometimes, the promised polling on mounted filesystems didn't work reliably. There were also bugs which have restricted use of gfilenotify. And there are also reservations by people, who do not want to use glib / gio infrastructure. Due to the existence of inotify and kqueue monitors in Emacs, the only major use of gfilenotify seems to be in Cygwin. > -ap Best regards, Michael.