|
From: | Ken Goldman |
Subject: | Re: global-auto-revert-mode and file time stamps |
Date: | Thu, 23 May 2013 17:35:48 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
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)
[Prev in Thread] | Current Thread | [Next in Thread] |