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: File watch support in autorevert.el Date: Thu, 10 Jan 2013 12:11:56 -0500 Message-ID: References: <878v819kok.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357837924 20672 80.91.229.3 (10 Jan 2013 17:12:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2013 17:12:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 10 18:12:21 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 1TtLfw-00046b-Ew for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2013 18:12:20 +0100 Original-Received: from localhost ([::1]:51283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtLfg-00056n-BG for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2013 12:12:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtLfd-00056W-5R for emacs-devel@gnu.org; Thu, 10 Jan 2013 12:12:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtLfb-0003NZ-KX for emacs-devel@gnu.org; Thu, 10 Jan 2013 12:12:01 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:45785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtLfb-0003NG-Gf for emacs-devel@gnu.org; Thu, 10 Jan 2013 12:11:59 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkGAG6Zu0+4rw8T/2dsb2JhbABEgXuyFoEIghUBAQQBViMFCws0EhQYDSSIHAW6CZBEA4hCmnGBWIMH X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="212236553" Original-Received: from 184-175-15-19.dsl.teksavvy.com (HELO pastel.home) ([184.175.15.19]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 10 Jan 2013 12:11:57 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 19A5059230; Thu, 10 Jan 2013 12:11:57 -0500 (EST) In-Reply-To: <878v819kok.fsf@gmx.de> (Michael Albinus's message of "Thu, 10 Jan 2013 15:28:27 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.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:156188 Archived-At: > 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. Stefan