• 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:

    Fireside Friday: January 1, 2021

    Happy New Year! Good riddance 2020! Fireside this week. Next week, we’ll be finishing up our look at the Dothraki of A Song of Ice and Fire and Game of Thrones by looking at how they are shown to fight and comparing that to the fighting patterns of actual…

    via A Collection of Unmitigated Pedantry January 1, 2021

    Streets Before Trust

    There’s an emerging mentality among left-wing urban planners in the US called “trust before streets.” It’s a terrible idea that should disappear, a culmination of about 50 or 60 years of learned helplessness in the American public sector. Too many people …

    via Pedestrian Observations January 1, 2021

    Systems design explains the world: volume 1

    "Systems design" is a branch of study that tries to find universal architectural patterns that are valid across disciplines. You might think that's not a possibility. Back in university, students used to tease the Systems Design Engineers, ca…

    via apenwarr December 29, 2020

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact