From: Timur Aydin <ta@taydin.org>
To: emacs-devel@gnu.org
Subject: global-auto-revert-mode and file time stamps
Date: Tue, 21 May 2013 16:40:44 +0300 [thread overview]
Message-ID: <519B795C.9030105@taydin.org> (raw)
Hi, I have sent this message to help-gnu-emacs, but I thought maybe
development list is better, because I am using a development version.
Here it goes:
When a file's timestamp has been changed, but the contents are still the
same, what should be the behavior of emacs be? With the emacs that I am
using (development version):
GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.6.3)
of 2013-05-01 on bonsai
It thinks the file is changed. Here is what I do:
- Open a file, edit it and then save.
- use the "touch" command to update the time stamp of this file.
- Wait way more than the auto revert interval (which is set to 5 seconds
in my case).
- Try to make a change to the buffer corresponding to this file.
At this point, emacs says that the file has changed and asks whether I
really want to edit it. I was expecting emacs to auto revert this buffer
and allow me to edit it without further questions. So my question is, am
I looking at a bug, or a feature?
--
Timur Aydin
next reply other threads:[~2013-05-21 13:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-21 13:40 Timur Aydin [this message]
2013-05-21 18:17 ` global-auto-revert-mode and file time stamps Michael Albinus
2013-05-22 14:50 ` Michael Albinus
2013-05-22 18:50 ` Timur Aydin
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=519B795C.9030105@taydin.org \
--to=ta@taydin.org \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).