From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Remove all existing file notification watches from Emacs Date: Sat, 16 Oct 2021 12:34:37 -0400 Message-ID: References: <87zgr9igqe.fsf@gmx.de> <87r1clhzaq.fsf@gmx.de> <87mtn9hwy5.fsf@gmx.de> <87ee8lhrra.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13470"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 16 18:35:44 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mbmet-0003Hx-R5 for ged-emacs-devel@m.gmane-mx.org; Sat, 16 Oct 2021 18:35:44 +0200 Original-Received: from localhost ([::1]:43916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbmer-0002A9-TA for ged-emacs-devel@m.gmane-mx.org; Sat, 16 Oct 2021 12:35:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbmdy-0001UF-PE for emacs-devel@gnu.org; Sat, 16 Oct 2021 12:34:46 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:16710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbmdv-0005i9-Qp for emacs-devel@gnu.org; Sat, 16 Oct 2021 12:34:45 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F0EE380628; Sat, 16 Oct 2021 12:34:39 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id ADDB8802B7; Sat, 16 Oct 2021 12:34:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1634402078; bh=4CrxHbFoV2ip27AJ2N04IRr4jXPgH7H3ffWZ+rLeW6U=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=MUwFjEpo7FMStNZKlRTVOUdw5L8gOcQt1F0o8NJ78H0L8P8yglBppL8ui3GJH+pue UKgRHQjlAx7PU7TV0uoEplSpNWJbpjB9UW528OWFBE9wuHGEC4icukT9TFfsmLrhLo dIBaAKEnxWrr6Lwank5VWx+Z1S1OHnPtG81ENKUodn8SRsZkEauKrf9RIs+hTl/UYk /n/uVn1FiRbFH8sBLBvj5hNBudeAeAUaOvvWt+I3Aowo9vYa3j9gqkZYFdGlpgMma6 CqnTX1GiMRw2mueMmJj4ZbmM4FC64jQTqCHY/gLzMV7iM3XYWZbb3fKfU1Q17KS/aG /NpoovJuttkmA== Original-Received: from ceviche (unknown [45.72.241.23]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7A082120314; Sat, 16 Oct 2021 12:34:38 -0400 (EDT) In-Reply-To: <87ee8lhrra.fsf@gmx.de> (Michael Albinus's message of "Sat, 16 Oct 2021 18:13:45 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:277186 Archived-At: > Oops, I meant > > diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi > index e3dcd6c778..5323f5f9a1 100644 > --- a/doc/lispref/os.texi > +++ b/doc/lispref/os.texi > @@ -3232,6 +3232,10 @@ File Notifications > > @deffn Command file-notify-rm-all-watches > Removes all existing file notification watches from Emacs. > + > +Use this command with caution, because it could have unexpected side > +effects on packages relying on file watches. It is intended mainly > +for debugging purposes, or when Emacs has been stalled. > @end deffn > > @defun file-notify-valid-p descriptor Sounds fine to me, yes. Stefan