From: Ken Goldman <kgoldman@us.ibm.com>
To: help-gnu-emacs@gnu.org
Subject: Re: global-auto-revert-mode and file time stamps
Date: Thu, 23 May 2013 17:35:48 -0400 [thread overview]
Message-ID: <knm23e$ku9$1@ger.gmane.org> (raw)
In-Reply-To: <519BB4E6.8090801@taydin.org>
On 5/21/2013 1:54 PM, Timur Aydin wrote:
>
> What doesn't work is, if only the timestamp of the file changes (touch
> filename), then emacs doesn't autorevert it, and instead tells me that
> it changed and asks whether I want to really edit it.
when I 'touch' on Windows or Linux, it does what you expect, not what
you're observing. It autoreverts the file.
I have this in .emacs:
(autoload 'auto-revert-mode "autorevert" nil t)
(autoload 'turn-on-auto-revert-mode "autorevert" nil nil)
(autoload 'global-auto-revert-mode "autorevert" nil t)
(global-auto-revert-mode 1)
(setq auto-revert-interval 2)
(global-set-key "\C-cr" 'revert-buffer)
next prev parent reply other threads:[~2013-05-23 21:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-21 13:36 global-auto-revert-mode and file time stamps Timur Aydin
2013-05-21 17:26 ` Peter Dyballa
2013-05-21 17:54 ` Timur Aydin
2013-05-23 21:35 ` Ken Goldman [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-05-21 13:40 Timur Aydin
2013-05-21 18:17 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='knm23e$ku9$1@ger.gmane.org' \
--to=kgoldman@us.ibm.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.