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, 16 Oct 2014 13:13:35 -0700 (PDT) Message-ID: <4dae848f-0fa5-4aad-a2f6-64dabaa738ea@googlegroups.com> References: <52d9ecfe-e978-4974-b1ae-2df1f5ed7ac0@googlegroups.com> <190140f5-75fd-41b6-bc0c-67b5ca8cf52f@googlegroups.com> <95fee263-abed-4ccc-8e1c-f63f227c7517@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1413490530 5037 80.91.229.3 (16 Oct 2014 20:15:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2014 20:15:30 +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 16 22:15: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 1XerSA-000769-U5 for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Oct 2014 22:15:19 +0200 Original-Received: from localhost ([::1]:52482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XerS9-0000pU-TU for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Oct 2014 16:15:17 -0400 X-Received: by 10.66.219.104 with SMTP id pn8mr2292375pac.25.1413490416101; Thu, 16 Oct 2014 13:13:36 -0700 (PDT) X-Received: by 10.140.109.132 with SMTP id l4mr36322qgf.24.1413490415839; Thu, 16 Oct 2014 13:13:35 -0700 (PDT) Original-Path: usenet.stanford.edu!uq10no12055560igb.0!news-out.google.com!u5ni5qab.1!nntp.google.com!dc16no3353534qab.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.144; posting-account=7GGFGQoAAAC7yVghPS8Fa6fDWLas6lu- Original-NNTP-Posting-Host: 137.205.238.144 User-Agent: G2/1.0 Injection-Date: Thu, 16 Oct 2014 20:13:35 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:208190 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:100466 Archived-At: Thanks! These are the results I get M-: (visited-file-modtime) (21568 8785 0 0) M-: (file-attributes something.tex) (nil 1 501 20 (21568 8805 0 0) (21568 8811 0 0) (21568 8811 0 0) ... ) I guess this means that it's Emacs' file-writing mechanism that is broken? Or OSX itself? (seems less likely...) Ali On Thursday, 9 October 2014 19:57:42 UTC+1, Barry Margolin wrote: ... > > > > > I have searched the archives, where I found this advice to someone suffering > > > 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 the > > > time stamp for that file returned by file-attributes." > > > > > > I have tried running these functions with M-x but I get [No Match]. Any > > > ideas? > > > > These are Lisp functions, not interactive commands. Run them with M-: > > > > M-: (visited-file-modtime) > > M-: (file-attributes buffer-file-name) > > > > -- > ...