From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Added inotify support. Date: Sun, 07 Oct 2012 10:38:42 -0400 Message-ID: References: <2181827.T3JxG88qQt@descartes> <83lifoa7hr.fsf@gnu.org> <87obkkcu92.fsf@wanadoo.es> <87lifkvoxl.fsf@spindle.srvr.nix> <87ehlbtv0r.fsf@spindle.srvr.nix> <87626ntowb.fsf@spindle.srvr.nix> <87txu7s31q.fsf@spindle.srvr.nix> <87haq6ell2.fsf@uwakimon.sk.tsukuba.ac.jp> <87lifi1hmm.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349620733 10081 80.91.229.3 (7 Oct 2012 14:38:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2012 14:38:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 07 16:38:53 2012 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 1TKs0L-0000gV-9T for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 16:38:53 +0200 Original-Received: from localhost ([::1]:54323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKs0E-0001eB-UF for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 10:38:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKs0C-0001dF-Oi for emacs-devel@gnu.org; Sun, 07 Oct 2012 10:38:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKs0B-0000D5-TR for emacs-devel@gnu.org; Sun, 07 Oct 2012 10:38:44 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:25337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKs0B-0000D1-PD for emacs-devel@gnu.org; Sun, 07 Oct 2012 10:38:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxLQG/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="200827765" Original-Received: from 69-196-180-6.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Oct 2012 10:38:43 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id BF1E8594D1; Sun, 7 Oct 2012 10:38:42 -0400 (EDT) In-Reply-To: <87lifi1hmm.fsf@wanadoo.es> (=?iso-8859-1?Q?=22=D3scar?= Fuentes"'s message of "Sun, 07 Oct 2012 16:28:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:154189 Archived-At: > Eli and I discussed the high level Lisp API for filesystem > notifications. I think it is compatible with polling, in the sense that > it can transparently fall back to polling, once the issue mentioned on > the previous paragraph is addressed. AFAIK inotify does not provide the needed info, so for now the choice should be based on a global variable. Stefan