From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: File watch support in autorevert.el Date: Thu, 10 Jan 2013 18:14:26 +0100 Message-ID: References: <878v819kok.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1357838126 22876 80.91.229.3 (10 Jan 2013 17:15:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2013 17:15:26 +0000 (UTC) Cc: Michael Albinus , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 10 18:15:43 2013 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 1TtLjA-0007GF-3Y for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2013 18:15:40 +0100 Original-Received: from localhost ([::1]:53088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtLit-0006MV-WD for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2013 12:15:23 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtLip-0006LC-W2 for emacs-devel@gnu.org; Thu, 10 Jan 2013 12:15:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtLio-0004mn-Jz for emacs-devel@gnu.org; Thu, 10 Jan 2013 12:15:19 -0500 Original-Received: from mail-yh0-f46.google.com ([209.85.213.46]:38730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtLio-0004RV-F0 for emacs-devel@gnu.org; Thu, 10 Jan 2013 12:15:18 -0500 Original-Received: by mail-yh0-f46.google.com with SMTP id i21so141401yha.19 for ; Thu, 10 Jan 2013 09:14:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=sTqAipj8WyACjYt4qWxZtlY7hwT93RbyVMnOPt/9eAk=; b=El/7XOHcKcmiBod8Ti8DXePz40FdAtqYzKoBDkyNr+1KnTxaMrJzkdxeKeBNhuQarc cadoYcIJNynenV1DjiTC61Z7ZtDOdbbNoHIBCsyUfYbWLAq4uhjcYxZjXT6xbGLzvwEm SzsNsi8AR5DMZDy5KFN7igwyZXuvrvHLWQHGCTmQaxIPaeZqnMG/lEgdCIPzKQq7dd9s p4Un0VDe2qT/EYVB+nhJYPDTO9LucnHJk1+wJPaV4gPfytach6Mc+pXsq13tc7QetSy1 wDTEeaJoN+82gVt58hmYoYXm5XUqHyuMKAJksXtVddRBdTBKyCEwi/NiYNAACuBv0h61 4rqA== Original-Received: by 10.236.54.138 with SMTP id i10mr81904883yhc.23.1357838096836; Thu, 10 Jan 2013 09:14:56 -0800 (PST) Original-Received: by 10.147.130.31 with HTTP; Thu, 10 Jan 2013 09:14:26 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.213.46 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:156189 Archived-At: On Thu, Jan 10, 2013 at 6:11 PM, Stefan Monnier wrote: >> As a proof of concept, I have installed a patch in autorevert.el >> implementing file watches. This shall work for `auto-revert-mode' and >> `global-auto-revert-mode' for buffers visiting files. >> `auto-revert-tail-mode' is not supported (yet). > > Thanks, that sounds like a very good start. But please make it > optional, for those users who want to use auto-revert-mode on files > accessed over NFS and other protocols where inotify doesn't work. Nice. One of the first thing I suggested long ago while trying to get file watching into Emacs ;-)