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: Thu, 23 Mar 2017 17:22:22 +0200 Message-ID: <83k27g587l.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> <87bmsuixuj.fsf@detlef> <87efxqmzyp.fsf@luca> <877f3h4fjd.fsf@detlef> <87shm5ky0q.fsf@luca> <87lgrx2l89.fsf@detlef> <83shm55bbj.fsf@gnu.org> <87lgrwsauw.fsf@detlef> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1490282602 26495 195.159.176.226 (23 Mar 2017 15:23:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Mar 2017 15:23:22 +0000 (UTC) Cc: 26126@debbugs.gnu.org, politza@hochschule-trier.de To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 23 16:23: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 1cr4Zw-0005Vw-BT for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Mar 2017 16:23:08 +0100 Original-Received: from localhost ([::1]:56977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cr4a0-0002k3-FV for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Mar 2017 11:23:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cr4Zu-0002jw-9X for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2017 11:23:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cr4Zq-0007tj-1k for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2017 11:23:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42961) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cr4Zp-0007td-V5 for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2017 11:23:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cr4Zp-0000GA-MJ for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2017 11:23: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: Thu, 23 Mar 2017 15:23: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.1490282554951 (code B ref 26126); Thu, 23 Mar 2017 15:23:01 +0000 Original-Received: (at 26126) by debbugs.gnu.org; 23 Mar 2017 15:22:34 +0000 Original-Received: from localhost ([127.0.0.1]:41160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cr4ZN-0000FH-PR for submit@debbugs.gnu.org; Thu, 23 Mar 2017 11:22:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cr4ZM-0000F4-OZ for 26126@debbugs.gnu.org; Thu, 23 Mar 2017 11:22:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cr4ZD-0007cR-GQ for 26126@debbugs.gnu.org; Thu, 23 Mar 2017 11:22:27 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cr4ZD-0007cM-DX; Thu, 23 Mar 2017 11:22:23 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2286 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cr4ZC-00053a-ET; Thu, 23 Mar 2017 11:22:22 -0400 In-reply-to: <87lgrwsauw.fsf@detlef> (message from Michael Albinus on Thu, 23 Mar 2017 08:36:39 +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:130845 Archived-At: > From: Michael Albinus > Cc: politza@hochschule-trier.de, 26126@debbugs.gnu.org > Date: Thu, 23 Mar 2017 08:36:39 +0100 > > > IMO, Lisp programs should always go through filenotify.el, never via > > backend-specific APIs. > > Then we shall emphasize this in the manual. Like this? > > --8<---------------cut here---------------start------------->8--- > diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi > index 9b6752c..09f7c18 100644 > --- a/doc/lispref/os.texi > +++ b/doc/lispref/os.texi > @@ -2707,7 +2707,8 @@ File Notifications > > Since all these libraries emit different events on notified file > changes, there is the Emacs library @code{filenotify} which provides a > -unique interface. > +unified interface. It is highly recommended to use this library > +instead of the native ones. I'd say that even more definitively: Lisp programs that want to receive file notifications should always use this library in preference to the native ones.