When the (version controlled) file is updated, emacs doesn’t show the status instantly. With TextMate, if something changes with the file that I’m editing, it notifies me right away.
- Is there any way to make the notification instant?
- M-x load-file is the only way to check if something is changed?
ADDED
(custom-set-variables
'(auto-revert-interval 1))
(global-auto-revert-mode 1)
It sets 1 seconds for revert interval, and it seems to work pretty well.
You should look into “auto-revert-mode”. As the name implies, it’ll automatically revert buffers if the underlying file has changed.
Note that you still won’t get instant notifications; instead, Emacs will in effect “poll” the files every so often (configurable via “auto-revert-interval”; I think I use five seconds for most stuff, and one second for log files that I’m carefully monitoring).
I have it turned on for everything, like this: