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

    What should we do about network-effect monopolies?

    Many large companies today are software monopolies that give their product away for free to get monopoly status, then do horrible things. Can we do anything about this?

    via benkuhn.net July 5, 2020

    More on the Deutschlandtakt

    The Deutschlandtakt plans are out now. They cover investment through 2040, but even beforehand, there’s a plan for something like a national integrated timetable by 2030, with trains connecting the major cities every 30 minutes rather than hourly. But the…

    via Pedestrian Observations July 1, 2020

    How do cars fare in crash tests they're not specifically optimized for?

    Any time you have a benchmark that gets taken seriously, some people will start gaming the benchmark. Some famous examples in computing are the CPU benchmark specfp and video game benchmarks. With specfp, Sun managed to increase its score on 179.art (a su…

    via Posts on Dan Luu June 30, 2020

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact