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

Recent posts on blogs I like:

Animal Welfare and Capabilitarianism

All ethics is a special case of animal welfare science

via Thing of Things December 18, 2024

Developing the middle ground on polarized topics

Avoiding false dichotomies The post Developing the middle ground on polarized topics appeared first on Otherwise.

via Otherwise November 25, 2024

How to eat vegan on Icon of the Seas

Royal Caribbean has a new giant cruise ship, Icon of the Seas, which has a large selection of food options.

via Home November 21, 2024

more     (via openring)