From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: agjf.tucker@gmail.com Newsgroups: gmane.emacs.help Subject: Re: something.tex changed on disk; really edit the buffer? Date: Thu, 9 Oct 2014 09:48:45 -0700 (PDT) Message-ID: <95fee263-abed-4ccc-8e1c-f63f227c7517@googlegroups.com> References: <52d9ecfe-e978-4974-b1ae-2df1f5ed7ac0@googlegroups.com> <190140f5-75fd-41b6-bc0c-67b5ca8cf52f@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1412873431 29982 80.91.229.3 (9 Oct 2014 16:50:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2014 16:50:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 18:50:23 2014 Return-path: Envelope-to: geh-help-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 1XcGuv-0003GE-Fo for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2014 18:50:17 +0200 Original-Received: from localhost ([::1]:43985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcGuu-0004T2-Mg for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2014 12:50:16 -0400 X-Received: by 10.236.15.167 with SMTP id f27mr12672864yhf.37.1412873326187; Thu, 09 Oct 2014 09:48:46 -0700 (PDT) X-Received: by 10.140.94.10 with SMTP id f10mr151478qge.11.1412873325801; Thu, 09 Oct 2014 09:48:45 -0700 (PDT) Original-Path: usenet.stanford.edu!dc16no1642656qab.1!news-out.google.com!bc9ni25400igb.0!nntp.google.com!dc16no1642651qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=137.205.238.145; posting-account=7GGFGQoAAAC7yVghPS8Fa6fDWLas6lu- Original-NNTP-Posting-Host: 137.205.238.145 User-Agent: G2/1.0 Injection-Date: Thu, 09 Oct 2014 16:48:45 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:208076 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100352 Archived-At: I have searched the archives, where I found this advice to someone sufferin= g a similar problem: "To find out what's going on, invoke the function visited-file-modtime from= the buffer of the offending file, and compare the result it returns with t= he time stamp for that file returned by file-attributes." I have tried running these functions with M-x but I get [No Match]. Any id= eas? On Tuesday, 7 October 2014 15:51:56 UTC+1, agjf....@gmail.com wrote: > Yes, to clarify, this is on my local disk. Noone else has access. >=20 >=20 >=20 > I looked up auto-revert-mode, thanks for the suggestion Alexander, howeve= r from the description it's not at all the desired behaviour... >=20 >=20 >=20 > On Tuesday, 7 October 2014 08:40:19 UTC+1, sokoba...@gmail.com wrote: >=20 > > Le lundi 6 octobre 2014 17:01:22 UTC+2, agjf....@gmail.com a =E9crit=A0= : >=20 > >=20 >=20 > > > Hi! >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > > I am using Aquamacs with AUCTeX and Skim to edit and view LaTeX docum= ents. It used to work just fine but when I upgraded to version 3.0a (based= on Emacs 24), I started to get these sorts of messages. >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > > Specifically, I will have run LaTeX using the button at the top. The= n I will try to start editing again. >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > > At the bottom of the frame I will get my first message, "Something.te= x changed on disk; really edit the buffer? (y,n,r or C-h)" I press "y" to = keep editing. >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > > Then when I go to run LaTeX again, a dialog box pops up saying, "some= thing.tex has changed since visited or saved. Save anyway?" I click on th= e "Yes" button to run LaTeX. >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > > Immediately I will get at the bottom of the frame, "something.tex cha= nged on disk; really edit the buffer? (y,n,r or C-h)". I press "y". >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > > And then it's fine again for a little while! >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > > There is a thread about this already on the Aquamacs group: https://g= roups.google.com/forum/#!topic/aquamacs-devel/yX-kkfJTNlU. >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > > There was some suggestion that it might be related to use of a file h= osting service like Dropbox, and it's true I used to have Dropbox installed= . But I uninstalled it some time ago (because I thought that might resolve= this problem). >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > > David Reitter (author of Aquamacs) says it is not a problem of his ma= king and that I might have better luck asking here. >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > >=20 >=20 > >=20 >=20 > > > Thanks, Alistair. >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > I happened to see some strange behavior (I can't remember if it's the s= ame) when the file was hosted on a server with a clock out of sync (the fil= e was considered newer than the current time on the machine running emacs). >=20 > >=20 >=20 > > But, if you use only one macintosh with a local hard drive, this can no= t be the correct explanation.