::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact

Emacs Auto-Revert Mode

October 1st, 2012
tech, emacs  [html]
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

Recent posts on blogs I like:

Costs are Rising, US Highway Edition

There’s a preliminary paper circulating at Brookings, looking at American infrastructure construction costs. Authors Leah Brooks and Zachary Liscow have tabulated the real costs of the American Interstate program over time, from the 1950s to the 1990s, an…

via Pedestrian Observations July 16, 2019

Nice things

Last night a friend of a friend invited us swimming at a private pond in a Boston exurb. Part of me felt suspicious of the place. Something about the feeling of “this is something rich people do” and the knowledge that the adults chatting in deck chairs w…

via The whole sky July 15, 2019

Deconstruct files

This is a psuedo-transcript for a talk given at Deconstruct 2019. In order to make this accessible for people on slow connections as well as people using screen readers, the slides have been replaced by in-line text (the talk has ~120 slides; at an averag…

via Dan Luu July 12, 2019

more     (via openring)

More Posts:


  ::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact