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

Emacs Auto-Revert Mode

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

Circumferential Lines and Express Service

In a number of large cities with both radial and circumferential urban rail service, there is a curious observation: there is express service on the radial lines, but not the circumferential ones. These cities include New York, Paris, and Berlin, and to s…

via Pedestrian Observations September 15, 2019

Reframing the evolutionary benefit of sex

From the perspective of an organism trying to propagate its genes, sex is like a trade: I’ll put half of your DNA in my offspring if you put half of my DNA in yours. I still pass one copy of my genes onto the next generation per unit of investment in chil…

via The sideways view September 14, 2019

Bear store

A preschool game that’s been particularly popular and versatile with my kids. Materials: Pennies Collection of counting bears or any other small objects One person is the storekeeper and sets out the bears in any way they want. The other people are custom…

via The whole sky September 9, 2019

more     (via openring)

More Posts:


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