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: Mon, 14 Jan 2013 09:10:50 +0400 Message-ID: <50F3935A.2090003@yandex.ru> References: <6CDE13E3BCAA4AFAAB8BCE105C6ABF12@us.oracle.com> <874njs19zb.fsf@yandex.ru> 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 1358140622 24811 80.91.229.3 (14 Jan 2013 05:17:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2013 05:17:02 +0000 (UTC) To: 13149@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 14 06:17:19 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 1TucQ6-0001QY-Qh for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Jan 2013 06:17:15 +0100 Original-Received: from localhost ([::1]:50282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TucPp-0001oR-Vf for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Jan 2013 00:16:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TucPg-0001ns-O8 for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2013 00:16:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TucPY-0004d9-E9 for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2013 00:16:48 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TucPY-0004d5-A8 for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2013 00:16:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TucPt-0001sp-PB for bug-gnu-emacs@gnu.org; Mon, 14 Jan 2013 00:17:01 -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 05:17:01 +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.13581405817120 (code B ref 13149); Mon, 14 Jan 2013 05:17:01 +0000 Original-Received: (at 13149) by debbugs.gnu.org; 14 Jan 2013 05:16:21 +0000 Original-Received: from localhost ([127.0.0.1]:59022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TucPE-0001qk-B3 for submit@debbugs.gnu.org; Mon, 14 Jan 2013 00:16:21 -0500 Original-Received: from mail-we0-f172.google.com ([74.125.82.172]:34668) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TucPB-0001qK-Ul for 13149@debbugs.gnu.org; Mon, 14 Jan 2013 00:16:18 -0500 Original-Received: by mail-we0-f172.google.com with SMTP id r3so1825514wey.31 for <13149@debbugs.gnu.org>; Sun, 13 Jan 2013 21:15:50 -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=odPYdXm9z2fVY53i1wtzXgBl4/KesqA0KBGttY3pQbI=; b=vahNiGIt0NIMEkYS73ZowQBz3Ro3P+Dw7UKR0IDkhoWhz5fjPO45K1aRagc15jMAl7 IijR/AjT2tZBRqac7+PC3fGyynUQDneyc/q0KOup/seYoNtZ0HppDc8LVCxH1lzphTDH QBbF8P/9qD9d3zEM1ILn/MUDULxZCjSGjO7vj6umThRcSYS/Ad6z9aNkElkc+Z0pK5r8 DwN0cCziaWQq3tDYEDknIMOmR7OmAjNco5MxMSbLJo+9yl4bm1F4MSEkxTxpaDvCdGx9 yY/df6Nxsj3KhBKGKOPKr9YEV0UCgGaxKiaZt2wjJgwIRvWjrZS9yeQD6m+fggPcG/aj oxwA== X-Received: by 10.180.88.40 with SMTP id bd8mr10072526wib.33.1358140550040; Sun, 13 Jan 2013 21:15:50 -0800 (PST) Original-Received: from [192.168.1.5] ([178.252.98.87]) by mx.google.com with ESMTPS id bz12sm12189759wib.5.2013.01.13.21.15.47 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 13 Jan 2013 21:15:48 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: 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:69752 Archived-At: On 12.12.2012 2:54, Drew Adams wrote: >>> Anyway, hoping this helps in some way... >> >> I've been seeing the same kind of prompts lately when editing files in >> Emacs in Ubuntu inside a virtual machine. >> >> IIRC all those files were were mounted from the host machine >> (MS Windows 7) using the vboxsf file system type. > > Good to know that someone else is seeing something similar. > > In my case, I'm using Windows XP and am not using vboxsf or anything else > special - just an ordinary laptop. So, I can now reproduce it 100% in the conditions I mentioned above. And it's mighty annoying. 0. Open a file. 1. Make some changes. Emacs complies. 2. Press C-x C-s, saved successfully. 3. Try to make a single modification. Emacs instantly prompts "... changed on disk; really edit the buffer?". Answer yes -> goto 4, answer no -> goto 3. Answer "revert", buffer reverts, goto -> 1. 4. Make modifications, try to save: "... has changed since visited or save. Save anyway?" Answer yes -> goto 2. If auto-revert-mode is enabled, and you wait the required interval of time after 2. without making modifications, the buffer is "reverted", also goto -> 1. All this on the latest trunk. A build from the latest emacs-24 doesn't exhibit the problem. Same with not-exactly-latest builds from these branches I had a few hours ago, with the possible exception of auto-revert-mode, IIRC it was less reliably helpful. Not sure. Any tips for debugging this? I'm doing bzr bisect, but it will take a while. --Dmitry