From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] autorevert.el -- revert fix for Windows platform Date: Thu, 22 Mar 2007 11:00:32 -0400 Message-ID: <87slbx9vcf.fsf@stupidchicken.com> References: <7it9frhi.fsf@cante.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174576439 30207 80.91.229.12 (22 Mar 2007 15:13:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2007 15:13:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jari Aalto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 22 16:13:47 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 1HUOyi-0003Ap-7o for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 16:13:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUP0V-0007n3-Kn for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 10:15:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUP0S-0007mq-HG for emacs-devel@gnu.org; Thu, 22 Mar 2007 11:15:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUP0R-0007mX-Er for emacs-devel@gnu.org; Thu, 22 Mar 2007 10:15:11 -0500 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HUOyc-0002Vw-LO for emacs-devel@gnu.org; Thu, 22 Mar 2007 11:13:18 -0400 Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l2MFDBUm007634; Thu, 22 Mar 2007 10:13:15 -0500 (EST) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by grand-central-station.mit.edu (8.13.6/8.9.2) with ESMTP id l2MF0Xwh021429; Thu, 22 Mar 2007 11:00:33 -0400 (EDT) Original-Received: from localhost ([18.19.7.211]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l2MF0WjZ013955; Thu, 22 Mar 2007 11:00:32 -0400 (EDT) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1HUOmG-00033T-00; Thu, 22 Mar 2007 11:00:32 -0400 In-Reply-To: <7it9frhi.fsf@cante.net> (Jari Aalto's message of "22 Mar 2007 13\:27\:21 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.599 X-detected-kernel: Solaris 9.1 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:68297 Archived-At: Jari Aalto writes: > For some reason the `verify-visited-file-modtime' test in > auto-revert-buffers is not enough to notice a file change under > Windows / native Emacs 21.3. Here is patch to compare the bufer size > against files size on disk. It cures the revert problem. That's not foolproof, since changes need not alter the file size. Could you try to find out why verify-visited-file-modtime doesn't work on Windows? You said that the problem exists on Emacs 21---does it still exist under Emacs 22?