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: Wed, 03 Oct 2012 08:46:39 -0400 Message-ID: References: <2181827.T3JxG88qQt@descartes> <83lifoa7hr.fsf@gnu.org> <87obkkcu92.fsf@wanadoo.es> <83ipas9pmz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349268420 2644 80.91.229.3 (3 Oct 2012 12:47:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Oct 2012 12:47:00 +0000 (UTC) Cc: ofv@wanadoo.es, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 03 14:47:05 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 1TJOLu-0004nu-7q for ged-emacs-devel@m.gmane.org; Wed, 03 Oct 2012 14:47:02 +0200 Original-Received: from localhost ([::1]:48557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJOLo-0008PH-Ny for ged-emacs-devel@m.gmane.org; Wed, 03 Oct 2012 08:46:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJOLg-0008PC-EZ for emacs-devel@gnu.org; Wed, 03 Oct 2012 08:46:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJOLa-0004Gu-QY for emacs-devel@gnu.org; Wed, 03 Oct 2012 08:46:48 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:58567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJOLZ-0004Gd-HK; Wed, 03 Oct 2012 08:46:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxLQG/2dsb2JhbABEtBGBCIIWAQVWIxALNBIUGA0kiCG6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="200545152" 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; 03 Oct 2012 08:46:40 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1FCEA594D5; Wed, 3 Oct 2012 08:46:39 -0400 (EDT) In-Reply-To: <83ipas9pmz.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 03 Oct 2012 05:54:28 +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:153998 Archived-At: >> >> Btw, what are Emacs use cases for using this kind of feature? >> > Apart from those mentioned on the original message (dired or magit's (or >> > vc-dir) status view) I'll like to mention auto-revert-mode. >> Yes, for my own use auto-revert-mode is the main one. > AFAICS, all these use cases don't need support for every possible > notification inotify lets you define. How about a simpler interface? The patch he suggests is "as simple as it gets" because it just exposes the C-level API. And yes, we'll want a simpler interface on top. Both so as to make it easier to use but also so it can work with other mechanisms than inotify. Stefan