From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: File watch support in autorevert.el Date: Thu, 17 Jan 2013 10:38:58 +0100 Message-ID: <87sj6087yl.fsf@gmx.de> References: <878v819kok.fsf@gmx.de> <83fw28uj9c.fsf@gnu.org> <8338y7vkyx.fsf@gnu.org> <87libzn4qt.fsf@gmx.de> <87pq1b2vdf.fsf@gmx.de> <838v7ytzbv.fsf@gnu.org> <87zk0esexv.fsf@gmx.de> <83mwwesajm.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1358415555 1041 80.91.229.3 (17 Jan 2013 09:39:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 09:39:15 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 17 10:39:30 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 1TvlwX-0001UW-Ra for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2013 10:39:29 +0100 Original-Received: from localhost ([::1]:37442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvlwH-00062d-7z for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2013 04:39:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvlwC-00062J-Kt for emacs-devel@gnu.org; Thu, 17 Jan 2013 04:39:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvlwB-0001qW-LX for emacs-devel@gnu.org; Thu, 17 Jan 2013 04:39:08 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:64393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvlwB-0001qJ-C1 for emacs-devel@gnu.org; Thu, 17 Jan 2013 04:39:07 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.2]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0Mg2Ch-1TYLOh26sv-00NPWl for ; Thu, 17 Jan 2013 10:39:06 +0100 Original-Received: (qmail invoked by alias); 17 Jan 2013 09:39:05 -0000 Original-Received: from p57BB9718.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.151.24] by mail.gmx.net (mp002) with SMTP; 17 Jan 2013 10:39:05 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX194ZChCrIR4ZDdgJv2bCH6JTBjFdqMClGQWnidfbQ zGVhahebJHuS4J In-Reply-To: <83mwwesajm.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 12 Jan 2013 17:09:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.20 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:156438 Archived-At: Eli Zaretskii writes: Hi Eli, > Tracing what happens when I type "M-x revert-buffer RET yes RET", I > see that the watch is removed (as result of kill-buffer-hook) and then > a new watch is started. Is this intended? Should be fixed in revno#111542. When I enter my next free time slot, I'll try to change the implementation watching directories only also for the inotify case. And I do not know, what happens with w32notify in the current implementation, if you start auto-reverting of 2 files located in the same directory. Does it work, or are there errors? Best regards, Michael.