From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: file watch feature missing on darwin Date: Mon, 30 Dec 2013 15:44:38 +0100 Message-ID: References: <87sitahfjc.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388414695 13264 80.91.229.3 (30 Dec 2013 14:44:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Dec 2013 14:44:55 +0000 (UTC) Cc: Leo Liu , emacs-devel To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 30 15:45:00 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vxe5U-0005oP-Cj for ged-emacs-devel@m.gmane.org; Mon, 30 Dec 2013 15:45:00 +0100 Original-Received: from localhost ([::1]:58498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxe5T-0003wm-Rj for ged-emacs-devel@m.gmane.org; Mon, 30 Dec 2013 09:44:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxe5M-0003wd-5w for emacs-devel@gnu.org; Mon, 30 Dec 2013 09:44:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vxe5G-0005GO-B2 for emacs-devel@gnu.org; Mon, 30 Dec 2013 09:44:52 -0500 Original-Received: from mailfe01.swip.net ([212.247.154.1]:37957 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxe5G-0005Fy-4W for emacs-devel@gnu.org; Mon, 30 Dec 2013 09:44:46 -0500 X-T2-Spam-Status: No, hits=0.0 required=5.0 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 468138348; Mon, 30 Dec 2013 15:44:41 +0100 In-Reply-To: <87sitahfjc.fsf@gmx.de> X-Mailer: Apple Mail (2.1827) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:166993 Archived-At: Hello. 30 dec 2013 kl. 10:08 skrev Michael Albinus : > Leo Liu writes: >=20 >> Hi there, >=20 > Hi Leo, >=20 >> Any reason this feature is not implemented for darwin? Thanks. >=20 > The native file monitoring library for BSD-like systems is kqueue. = Support > to Emacs is not added due to a lack of a volunteer who implements > it. Feel free to do the job :-) I would be happy to add a kqueue > interface into filenotify.el. >=20 > According to the Changelogs, kqueue has been added as native library = to > GIO a year a go. If you have linked Emacs to a recent (*) glib on your > Darwin system, file monitoring shall be available for you. It would not work if linking in Glib to a NS build due to differences in = event loops. Jan D.