Emacs Auto-Revert Mode

October 1st, 2012
emacs, tech
When a file changes on disk outside of my text editor it's nearly always because I:
  • modified it in another editor, or
  • used git to switch branches.
In both of these cases I would like my editor to notice the change and start showing the new version unless I have unsaved changes. I can make emacs always do this by putting:
   (global-auto-revert-mode 1)
in my ~/.emacs. I've not found a situation where this makes emacs do something other than what I would want it to do.

Comment via: google plus, facebook, r/emacs, substack

Recent posts on blogs I like:

AI incompetence often comes from misalignment

Sometimes I see people say “I’m not worried about AI risk because AIs are really bad at things.” I think this is a misunderstanding.

via Thing of Things April 27, 2026

You should try contra dancing

a story of middle school Ben • a not-very-illuminating description of the mechanics • flow, joy, and community • the antidote to the rest of life • how to try contra

via benkuhn.net April 24, 2026

On AI writing in 2026

I use AI to write a little bit: I ask it for high level feedback on blog post drafts, make mechanical edits, and sometimes use it to brainstorm options for wording at a paragraph level. It’s unusual that I accept its wording or changes without modificatio…

via Home April 16, 2026

more     (via openring)