all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: agjf.tucker@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: something.tex changed on disk; really edit the buffer?
Date: Thu, 16 Oct 2014 13:13:35 -0700 (PDT)	[thread overview]
Message-ID: <4dae848f-0fa5-4aad-a2f6-64dabaa738ea@googlegroups.com> (raw)
In-Reply-To: <barmar-256EED.14574209102014@88-209-239-213.giganet.hu>

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)
> 
> 
> 
> -- 
> 
...



  reply	other threads:[~2014-10-16 20:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-06 15:01 something.tex changed on disk; really edit the buffer? agjf.tucker
2014-10-06 17:03 ` Alexander Baier
2014-10-07  7:40 ` sokobania.01
2014-10-07 14:51   ` agjf.tucker
2014-10-09 16:48     ` agjf.tucker
2014-10-09 18:57       ` Barry Margolin
2014-10-16 20:13         ` agjf.tucker [this message]
2014-10-16 21:37           ` Barry Margolin
2014-10-17 14:20             ` agjf.tucker
2014-10-25  7:29             ` H. Dieter Wilhelm
2014-10-09 17:45 ` H. Dieter Wilhelm
2014-10-16 20:42   ` H. Dieter Wilhelm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4dae848f-0fa5-4aad-a2f6-64dabaa738ea@googlegroups.com \
    --to=agjf.tucker@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.