From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] autorevert.el -- revert fix for Windows platform Date: Thu, 22 Mar 2007 17:49:21 +0000 Message-ID: <4602C1A1.50300@gnu.org> References: <7it9frhi.fsf@cante.net> <87slbx9vcf.fsf@stupidchicken.com> <4602A730.8030408@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174585790 6587 80.91.229.12 (22 Mar 2007 17:49:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2007 17:49:50 +0000 (UTC) Cc: Chong Yidong , Jari Aalto , emacs-devel@gnu.org To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 22 18:49:39 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 1HURPt-00015y-Ir for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 18:49:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HURRh-0000Sx-OC for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 12:51:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HURRe-0000Si-GW for emacs-devel@gnu.org; Thu, 22 Mar 2007 13:51:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HURRb-0000SS-6r for emacs-devel@gnu.org; Thu, 22 Mar 2007 13:51:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HURRb-0000SP-0n for emacs-devel@gnu.org; Thu, 22 Mar 2007 12:51:23 -0500 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HURPm-0002qP-0R for emacs-devel@gnu.org; Thu, 22 Mar 2007 13:49:30 -0400 Original-Received: from [127.0.0.1] (host81-149-25-51.in-addr.btopenworld.com [81.149.25.51]) by outmail1.freedom2surf.net (Postfix) with ESMTP id 7743851A08; Thu, 22 Mar 2007 17:49:26 +0000 (GMT) User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <4602A730.8030408@gmail.com> X-detected-kernel: Linux 2.4-2.6 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:68313 Archived-At: Lennart Borgman (gmail) wrote: > I did a test on latest CVS Emacs on w32: > > - opened a file in Emacs. > - (verify-visited-file-modetime (current-buffer)) => t > - did "touch file" (outside of Emacs) > > Now I got > > - (verify-visited-file-modetime (current-buffer)) => nil Looking at the code, this will probably fail on network drives that are accessed by UNC paths. The stat information is populated with dummy data in that case. I'm sure there is a reason for this, but maybe it will be possible to at least get the modification timestamp right.