From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#13149: 24.3.50; Emacs thinks file was changed outside Emacs, but it was not Date: Tue, 15 Jan 2013 02:22:18 +0400 Message-ID: <50F4851A.8020607@yandex.ru> References: <6CDE13E3BCAA4AFAAB8BCE105C6ABF12@us.oracle.com> <874njs19zb.fsf@yandex.ru> <50F3935A.2090003@yandex.ru> <50F41CE7.60306@gmail.com> <83mwwbr93q.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1358202824 17821 80.91.229.3 (14 Jan 2013 22:33:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2013 22:33:44 +0000 (UTC) Cc: 13149@debbugs.gnu.org, eggert@cs.ucla.edu To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 14 23:34:01 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TusbQ-0000f2-Tp for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Jan 2013 23:34:01 +0100 Original-Received: from localhost ([::1]:60996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TusbA-0004Zu-M0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Jan 2013 17:33:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tusb5-0004Z3-Av for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2013 17:33:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tusb2-0003ed-P7 for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2013 17:33:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tusb2-0003eZ-M5 for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2013 17:33:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TusbS-0007Mw-Gi for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2013 17:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Jan 2013 22:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13149 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo Original-Received: via spool by 13149-submit@debbugs.gnu.org id=B13149.135820278628250 (code B ref 13149); Mon, 14 Jan 2013 22:34:02 +0000 Original-Received: (at 13149) by debbugs.gnu.org; 14 Jan 2013 22:33:06 +0000 Original-Received: from localhost ([127.0.0.1]:60404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TusaX-0007Lb-Lz for submit@debbugs.gnu.org; Mon, 14 Jan 2013 17:33:06 -0500 Original-Received: from mail-ea0-f169.google.com ([209.85.215.169]:42283) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TusaU-0007LS-Vh for 13149@debbugs.gnu.org; Mon, 14 Jan 2013 17:33:04 -0500 Original-Received: by mail-ea0-f169.google.com with SMTP id d13so700494eaa.14 for <13149@debbugs.gnu.org>; Mon, 14 Jan 2013 14:32:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=T+uxSj3c9ul2cZnEdnXuLTkVcGX9Wgw6ctTQ88+QvsQ=; b=H2bnzL/ZquqgEd2ivex8t63ore60lx1tnRVnZmS20kIZNv3KGRZkmV2GZOl87peqyz ArP9LLz8w5IJe7Qh/2pxCQ+xSkR7itJSu6gT1kV28iEdoX328AKfQtk3gfPIpzi/A+ye PovpFeCBWgqDVDmglLKtfA6aHmEQgIuytIt+EABONXYEtCagXS3y7N3Q01CGkl3KP4YE 5oO7oBFVl+sST+zK1Bp5w+wtC2bI0PH8sBPBcOSH6yUkTzMvEnLc5hJB2T9FBHnCKz6k TOOttJMp/4y88KpQLZVqzPWkZ/PIt2AFcgqljDili+D4rRYglZscrAUWca/e/Qrg4vFV x/HA== X-Received: by 10.14.213.134 with SMTP id a6mr234800387eep.45.1358202755677; Mon, 14 Jan 2013 14:32:35 -0800 (PST) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id f6sm23185634eeo.7.2013.01.14.14.32.33 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Jan 2013 14:32:34 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <83mwwbr93q.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:69777 Archived-At: On 14.01.2013 21:02, Eli Zaretskii wrote: >> Date: Mon, 14 Jan 2013 18:57:43 +0400 >> From: Dmitry Gutov >> Cc: 13149@debbugs.gnu.org >> >> Bisect points to revision 110875 >> (eggert@cs.ucla.edu-20121113013514-5dej3lndyeb2dwq3): >> Fix a race with verify-visited-file-modtime. >> >> Since at least 1991 Emacs has ignored an mtime difference of no >> more than one second, but my guess is that this was to work around >> file system bugs that were fixed long ago. Since the race is >> causing problems now, let's remove that code. >> * fileio.c (Fverify_visited_file_modtime): Do not accept a file >> whose time stamp is off by no more than a second. Insist that the >> file time stamps match exactly. > > Therefore, I doubt that the same problem was the root cause of the > problem on Drew's laptop. It hard for me to say, but the symptoms are similar, and the timing matches. I think this commit is the likely culprit, although the fix may have to be slightly different in Drew's case. Or would be, if we could reproduce it. >> Paul, any suggestions? > > I'm not Paul, but can't you synchronize the clocks of the two > machines? To the nanosecond? I'm not sure if I can. But if what you're implying is right, I think rewinding the clock on the host machine would also help. It doesn't.