From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephan Lukits Newsgroups: gmane.emacs.bugs Subject: Re: changed on disk; really edit the buffer? Date: Tue, 13 Nov 2007 10:15:55 +0100 Organization: FernUni Hagen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1194945303 7335 80.91.229.12 (13 Nov 2007 09:15:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2007 09:15:03 +0000 (UTC) To: gnu-emacs-bug@moderators.isc.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 13 10:14:59 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IrrrE-0001fZ-9d for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Nov 2007 10:14:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Irrr2-00045v-1f for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Nov 2007 04:14:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Irrqw-00045m-A1 for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2007 04:14:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Irrqv-00045Z-Cd for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2007 04:14:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Irrqv-00045W-9Q for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2007 04:14:37 -0500 Original-Received: from pinatubo-2.switch.ch ([130.59.1.10] helo=pinatubo.switch.ch) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Irrqu-0005Rq-H5 for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2007 04:14:36 -0500 Original-Received: from [132.176.114.188] (helo=cl-mailhost.FernUni-Hagen.de) by pinatubo.switch.ch with esmtp (Exim 4.63) (envelope-from ) id 1Irrqt-00089F-8u for gnu-emacs-bug@moderators.isc.org; Tue, 13 Nov 2007 10:14:35 +0100 Original-Received: from tamarack.fernuni-hagen.de ([132.176.114.82]) by cl-mailhost.FernUni-Hagen.de with esmtp (Exim 4.24) id 1Irrqs-0004rj-QQ for gnu-emacs-bug@moderators.isc.org; Tue, 13 Nov 2007 10:14:34 +0100 Original-Received: from tamarack.fernuni-hagen.de (localhost [127.0.0.1]) by tamarack.fernuni-hagen.de (8.12.10+Sun/8.12.5) with ESMTP id lAD9EYmr027127 for ; Tue, 13 Nov 2007 10:14:34 +0100 (CET) Original-Received: (from news@localhost) by tamarack.fernuni-hagen.de (8.12.10+Sun/8.12.5/Submit) id lAD9EX5X027126 for gnu-emacs-bug@moderators.isc.org; Tue, 13 Nov 2007 10:14:33 +0100 (CET) Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 43 Original-NNTP-Posting-Host: stz-eschw-67.fernuni-hagen.de Original-X-Trace: tamarack.fernuni-hagen.de 1194945273 27124 132.176.141.67 (13 Nov 2007 09:14:33 GMT) Original-X-Complaints-To: newsadmin@fernuni-hagen.de Original-NNTP-Posting-Date: Tue, 13 Nov 2007 09:14:33 +0000 (UTC) User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: X-prewhitelist: your reply will pass through without greylisting X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16961 Archived-At: Eli Zaretskii schrieb: >> From: Stephan Lukits >> Date: Mon, 12 Nov 2007 16:39:29 +0100 >> Cc: >> >> (file-attributes "~/.emacs"): >> (nil 1 5 5 (18232 28429) (18232 28429) (18206 2636) 3080 "-rw-rw-rw-" >> nil -16252 (6714 . 34723)) >> >> (visited-file-modtime): >> (18232 28366) > > That's 63 seconds of difference, if I'm right. Is there some process > that touches files on that filesystem? I don't think so. But you know it's Windows, thus you never know. To make sure I started a reference text editor which is also supposed to complain if the visited file changes on disk. Since I can work with that editor without any problem (except it's not Emacs) I guess it's a problem with Emacs. Btw as soon I start Emacs and visit the same file as the other editor and Emacs does auto-saving the other editor complains about "file changed on disk" too. > (What filesystem is that, > btw?) NTFS > Do you see a difference in what "ls -l" says about such files > when you first visit the file, and then after Emacs complains and you > type `y'? It changes time even before Emacs complains. It changes time exactly at that moment when emacs does auto-saving. before auto-saving: $ ls -o auto-save-test.tex -rwx------+ 1 pc-betreuung 48 Nov 13 09:59 auto-save-test.tex after auto-saving: $ ls -o auto-save-test.tex -rwx------+ 1 pc-betreuung 48 Nov 13 10:00 auto-save-test.tex