From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] autorevert.el -- revert fix for Windows platform Date: 23 Mar 2007 19:31:41 +0200 Organization: Private Message-ID: <3b3vsw76.fsf@cante.net> References: <7it9frhi.fsf@cante.net> <87slbx9vcf.fsf@stupidchicken.com> <4602A730.8030408@gmail.com> <4602C1A1.50300@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174671446 15540 80.91.229.12 (23 Mar 2007 17:37:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Mar 2007 17:37:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 23 18:37:17 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HUnhF-0001iO-OT for ged-emacs-devel@m.gmane.org; Fri, 23 Mar 2007 18:37:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUnjA-0007eb-S3 for ged-emacs-devel@m.gmane.org; Fri, 23 Mar 2007 12:39:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUnj8-0007d7-5a for emacs-devel@gnu.org; Fri, 23 Mar 2007 13:38:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUnj6-0007Zp-56 for emacs-devel@gnu.org; Fri, 23 Mar 2007 13:38:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUnj6-0007Zh-0W for emacs-devel@gnu.org; Fri, 23 Mar 2007 12:38:56 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HUnh9-0005mS-Ta for emacs-devel@gnu.org; Fri, 23 Mar 2007 13:36:56 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HUnfy-0005fN-S3 for emacs-devel@gnu.org; Fri, 23 Mar 2007 18:35:45 +0100 Original-Received: from a81-197-175-198.elisa-laajakaista.fi ([81.197.175.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Mar 2007 18:35:42 +0100 Original-Received: from jari.aalto by a81-197-175-198.elisa-laajakaista.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Mar 2007 18:35:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: a81-197-175-198.elisa-laajakaista.fi User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68423 Archived-At: Eli Zaretskii writes: > > Looking at the code, this will probably fail on network drives > > that are accessed by UNC paths. > > Jari, can you confirm that this problem happens for you only with > UNC style file names? This happens in local PC disk. No UNC involved. > If not, please provide a self-contained test case that we could try to > see what is going wrong. Have some process that keeps a file open while the data is being written to it. The file is never closed (only if process terminated). This is happens e.g with firewalls(*) that do not close the file in between log writes. Jari (*) In Windows: 1. Download Jetico Personal Firewall 2.x, install, configure, start http://www.jetico.com/ (Free) 2. Open Emacs, M-x global-auto-revert-mode 3. Load Jetico's firewall log C-x C-f path/to/jpfsrv.log Watch the file grow on disk (Windows Eplorer), but no revert happens in Emacs buffer.