From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-15?q?R=FCdiger_Sonderfeld?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH update2] Support for filesystem watching (inotify) Date: Sun, 5 Jun 2011 18:14:33 +0200 Message-ID: <201106051814.34301.ruediger@c-plusplus.de> References: <201106040034.15598.ruediger@c-plusplus.de> <201106051149.39037.ruediger@c-plusplus.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1307292469 10547 80.91.229.12 (5 Jun 2011 16:47:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2011 16:47:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: John Yates Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 05 18:47:45 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QTGUL-000431-Ar for ged-emacs-devel@m.gmane.org; Sun, 05 Jun 2011 18:47:45 +0200 Original-Received: from localhost ([::1]:47428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTGUK-0005hH-Ay for ged-emacs-devel@m.gmane.org; Sun, 05 Jun 2011 12:47:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTFyJ-0003tR-Ur for emacs-devel@gnu.org; Sun, 05 Jun 2011 12:14:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTFyI-00059J-Cc for emacs-devel@gnu.org; Sun, 05 Jun 2011 12:14:39 -0400 Original-Received: from pseudoterminal.org ([213.239.220.147]:48261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTFyH-00058s-Vf for emacs-devel@gnu.org; Sun, 05 Jun 2011 12:14:38 -0400 Original-Received: from liny.localnet (93-82-8-45.adsl.highway.telekom.at [93.82.8.45]) by pseudoterminal.org (Postfix) with ESMTPSA id DD4C78BCD63; Sun, 5 Jun 2011 18:14:35 +0200 (CEST) User-Agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; ) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 213.239.220.147 X-Mailman-Approved-At: Sun, 05 Jun 2011 12:47:32 -0400 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:140201 Archived-At: Hi, On Sunday 05 June 2011 17:59:03 John Yates wrote: > Is there a good reason not to provide access to the full functionality of > the inotify API? Yes, the reason is portability. I want the same API to be available on Linu= x,=20 *BSD, OS X and Windows. inotify is the most advanced API and therefore I ca= n=20 not support every inotify feature if I want to stay compatible. Porting to kqueue (*BSD, OS X) will be especially troublesome because they= =20 don't seem to tell you which file actually changed if you watch a directory. Regards, R=FCdiger =20