From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] elisp manual patch: add to file notification documentation Date: Tue, 13 Dec 2022 10:52:27 -0800 Message-ID: References: <87bko8knq2.fsf@rabkins.net> <87k02vu32l.fsf@gmx.de> <871qp3i4wu.fsf@rabkins.net> <87y1rbrwel.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16645"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Michael Albinus , Yoni Rabkin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 13 19:53:01 2022 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 1p5AOi-0004Bx-S1 for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Dec 2022 19:53:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5AOJ-0002BQ-Bl; Tue, 13 Dec 2022 13:52:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5AOF-00029y-7i for emacs-devel@gnu.org; Tue, 13 Dec 2022 13:52:32 -0500 Original-Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5AOC-0001Q1-Tj for emacs-devel@gnu.org; Tue, 13 Dec 2022 13:52:30 -0500 Original-Received: by mail-oi1-x22f.google.com with SMTP id c129so717133oia.0 for ; Tue, 13 Dec 2022 10:52:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=NhDiypANYWM6GIFxwVaydykcKSp5PNEDkrSMzTTXDyU=; b=RiaGy5sOT4Y2FBcsTN3eqQYiZ7zvxW3p0eX7iBA7i8nCPJzB1+8TzWkd2q10sVaJV/ w69clfJsyhve5pfNobdTSvKnC61f1BEdcifsKnKfuvmVkm7p7yFrMmX+01eLVP90e4YM 2suOcB9zsYx2cWyl8ExMCtJzVhkbLNNvMO9rVVwc+qZmRApz9lBPqzj5NKNykm9trbdQ huTs4EzcXkMK8vUkMd/rgc4zQin7vho14G8XHWBd6cT2a/WiobR0UuzDiGPT0KLHDZWw +CSkLV9JsrBW5jMRJ1JHkX8UvdsI+at13DaD3OKAKf+lqCOb5uX1Bf6CUVV99XaEBFxZ 1xPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NhDiypANYWM6GIFxwVaydykcKSp5PNEDkrSMzTTXDyU=; b=AhybIWSwzJA+7rCANcdtXaYMMot0dW/7c8mPcPDFMKGhcW7Cnl2KINBLchtpsNkDLq sCFuS3OPW+IFIbs8jF+vBBJiZv8Qs6Pl0kou8RpNBJGXpiN+mkwF1O24jRukCdduciMR przDPQmjHLfzc6kQg5ieWOckVx0LGWX817ZwIDDaODFheP195v3SC9ma6mJYvwd6kl72 bLmuU10dWK6A7CiiK+nSsNo431bpZ+PoS1EZB3KcIKmoNxnM7eXUZVfQhDL2HxGNYANE u38n0yNbzSFEdcQhsvXE5dmD0hiB66WlfpiWBuSulfIuMZ0hc7ETCzjjbyRyxLzGwFix p4Ig== X-Gm-Message-State: ANoB5pkBezoIW7BNRhShyPVPb6ht9ctiIsRq9kczysq/YdG9le9KRA/P wXBGVDAL5LPI54yW/wYYL4reGIGW0IzzmcR+YMo= X-Google-Smtp-Source: AA0mqf6zNvmIEp7VThEpw4SQ0VudO0XDib9v0OHKVazO0uXjApq1hqU+ILV9Jh2o4KgxCIMlTDyWrBRGO2d2mkHIleM= X-Received: by 2002:a05:6808:493:b0:35e:ac60:2452 with SMTP id z19-20020a056808049300b0035eac602452mr148474oid.92.1670957547655; Tue, 13 Dec 2022 10:52:27 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 13 Dec 2022 10:52:27 -0800 In-Reply-To: <87y1rbrwel.fsf@gmx.de> X-Hashcash: 1:20:221213:michael.albinus@gmx.de::eq5Emq5qRZo5Hprf:4jHy Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=stefankangas@gmail.com; helo=mail-oi1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301346 Archived-At: Michael Albinus writes: > It's not that simple. Emacs might be compiled with file notification, > but it isn't possible for remote files. Emacs might be compiled without > file notification, but it is still possible for remote files. > > And even if it is possible for local or remote files, it might not work > on NFS mounted file systems. > > The value of file-notify--library is a vague approximation for being > able to use file notifications. That's the reason for being an internal > constant only. > > Calling file-notify-add-watch gives you more precise results. Would it make sense to add something like the above to the docstring of `file-notify--library'?