From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yoni Rabkin Newsgroups: gmane.emacs.devel Subject: [PATCH] elisp manual patch: add to file notification documentation Date: Mon, 12 Dec 2022 22:05:09 -0500 Message-ID: <87bko8knq2.fsf@rabkins.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27306"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 13 04:06:10 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 1p4vcP-0006ow-Er for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Dec 2022 04:06:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4vbf-0001lS-0k; Mon, 12 Dec 2022 22:05:24 -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 1p4vba-0001l4-FZ for emacs-devel@gnu.org; Mon, 12 Dec 2022 22:05:18 -0500 Original-Received: from smtprelay0013.hostedemail.com ([216.40.44.13] helo=relay.hostedemail.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4vbY-0003sC-UN for emacs-devel@gnu.org; Mon, 12 Dec 2022 22:05:18 -0500 Original-Received: from omf07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id D3F4C160455 for ; Tue, 13 Dec 2022 03:05:11 +0000 (UTC) Original-Received: from [HIDDEN] (Authenticated sender: yoni@rabkins.net) by omf07.hostedemail.com (Postfix) with ESMTPA id 9CE9B20027 for ; Tue, 13 Dec 2022 03:05:10 +0000 (UTC) X-Ethics: Use GNU X-Rspamd-Queue-Id: 9CE9B20027 X-Rspamd-Server: rspamout01 X-Stat-Signature: 3389hysocc1bprtgqodqetihrpwirjgi X-Session-Marker: 796F6E69407261626B696E732E6E6574 X-Session-ID: U2FsdGVkX1/PfeYpykI7vHi3DXA/LCiGltD5/tKT+nM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rabkins.net; h=from:to:subject:date:message-id:mime-version:content-type; s=dkim1; bh=yLFwCcxK7Bxu6fTPXrON2eWa1XBKSxP746fuEHQgNEk=; b=J1qQS32kDwitIxI6IFW0P3HtzzrYG09gHoVGsJvuq95AiN8W/z9XmIrf4TLfttPBNxPmB2CPT5zBAFEF2aKyLtwWNox8IVhJi7ohAelUMO98CkZMsaWRgV+hb8tXC/BxZVNpX6Oibt0YfQnPUgGNlZujGNpHpeBLXdtS0AHdesk= X-HE-Tag: 1670900710-411884 X-HE-Meta: U2FsdGVkX18nI4DvqrU+2fIfrmQ4zL3NCBObZFZgafDQBDsnm8dBcRMfgFVQuiJ6JkVmMoJkQIKANUzy1H5rtQ== Received-SPF: pass client-ip=216.40.44.13; envelope-from=yoni@rabkins.net; helo=relay.hostedemail.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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:301294 Archived-At: --=-=-= Content-Type: text/plain The following elisp manual documentation patch explains to the user how to check if their emacs was compiled with file notification support. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=patch-elisp-manual-add-file-notification-documentation.patch diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 3e16ac0..2546074 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi @@ -3146,6 +3146,10 @@ respective library like @file{inotify}, @file{kqueue}, @file{gfilenotify}, or @file{w32notify} statically. These libraries enable watching of filesystems on the local machine. +The variable @var{file-notify--library} is non-nil when Emacs has been +compiled with file notification support, and value is the name of the +low-level file notification package to be used for local file systems. + It is also possible to watch filesystems on remote machines, @pxref{Remote Files,, Remote Files, emacs, The GNU Emacs Manual}. This does not depend on one of the libraries linked to Emacs. --=-=-=--