From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH update2] Support for filesystem watching (inotify) Date: Sun, 05 Jun 2011 19:58:07 +0300 Message-ID: <83pqmscj1c.fsf@gnu.org> References: <201106040034.15598.ruediger@c-plusplus.de> <201106051149.39037.ruediger@c-plusplus.de> <201106051814.34301.ruediger@c-plusplus.de> Reply-To: Eli Zaretskii 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 1307293166 13987 80.91.229.12 (5 Jun 2011 16:59:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2011 16:59:26 +0000 (UTC) Cc: emacs-devel@gnu.org, john@yates-sheets.org To: =?iso-8859-15?Q?R=FCdiger?= Sonderfeld Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 05 18:59:22 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 1QTGfZ-0007km-FI for ged-emacs-devel@m.gmane.org; Sun, 05 Jun 2011 18:59:21 +0200 Original-Received: from localhost ([::1]:41262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTGfY-0007Jl-E8 for ged-emacs-devel@m.gmane.org; Sun, 05 Jun 2011 12:59:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTGeY-0007C2-Sj for emacs-devel@gnu.org; Sun, 05 Jun 2011 12:58:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTGeS-0005ba-Au for emacs-devel@gnu.org; Sun, 05 Jun 2011 12:58:18 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:39258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTGeR-0005bP-UL for emacs-devel@gnu.org; Sun, 05 Jun 2011 12:58:12 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LMB00G00TRPUH00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sun, 05 Jun 2011 19:58:10 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.223.140]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LMB00GGUTSVM830@a-mtaout20.012.net.il>; Sun, 05 Jun 2011 19:58:08 +0300 (IDT) In-reply-to: <201106051814.34301.ruediger@c-plusplus.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 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:140202 Archived-At: > From: R=FCdiger Sonderfeld > Date: Sun, 5 Jun 2011 18:14:33 +0200 > Cc: emacs-devel@gnu.org >=20 > On Sunday 05 June 2011 17:59:03 John Yates wrote: > > Is there a good reason not to provide access to the full function= ality of > > the inotify API? >=20 > Yes, the reason is portability. I want the same API to be available= on Linux,=20 > *BSD, OS X and Windows. inotify is the most advanced API and theref= ore I can=20 > not support every inotify feature if I want to stay compatible. Being compatible does not mean providing only the least common denominator. We have already several features that provide different levels of support depending on the underlying facilities. One exampl= e is process-attributes (which is the main primitive on which Proced is based). All you need is provide a superset of all the supported attributes, and document which ones are supported on which platform.