From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nix Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Added inotify support. Date: Fri, 05 Oct 2012 17:55:34 +0100 Message-ID: <87lifkvoxl.fsf@spindle.srvr.nix> References: <2181827.T3JxG88qQt@descartes> <83lifoa7hr.fsf@gnu.org> <87obkkcu92.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349456150 12757 80.91.229.3 (5 Oct 2012 16:55:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2012 16:55:50 +0000 (UTC) Cc: =?utf-8?Q?=C3=93scar?= Fuentes , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 05 18:55:55 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 1TKBBq-0002E8-9w for ged-emacs-devel@m.gmane.org; Fri, 05 Oct 2012 18:55:54 +0200 Original-Received: from localhost ([::1]:38057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKBBk-0002X2-L3 for ged-emacs-devel@m.gmane.org; Fri, 05 Oct 2012 12:55:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKBBh-0002Wi-B3 for emacs-devel@gnu.org; Fri, 05 Oct 2012 12:55:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKBBe-0001nd-Uw for emacs-devel@gnu.org; Fri, 05 Oct 2012 12:55:45 -0400 Original-Received: from icebox.esperi.org.uk ([81.187.191.129]:56724 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKBBe-0001k3-Lv for emacs-devel@gnu.org; Fri, 05 Oct 2012 12:55:42 -0400 Original-Received: from spindle.srvr.nix (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.5/8.14.5) with ESMTP id q95GtYTs026034; Fri, 5 Oct 2012 17:55:34 +0100 Emacs: Lovecraft was an optimist. In-Reply-To: (Stefan Monnier's message of "Tue, 02 Oct 2012 22:10:41 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-DCC-dcc1-Metrics: spindle 1182; Body=3 Fuz1=3 Fuz2=3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 81.187.191.129 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:154088 Archived-At: On 3 Oct 2012, Stefan Monnier spake thusly: >>> 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. Of course you can't rely on inotify rather than polling, because inotify simply silently omits all changes that come from other hosts when an fs is mounted or exported over the network. inotify and friends are only spying on local VFS traffic, which in my experience makes them less than useful for most applications. -- NULL && (void)