AlexBaranosky / gui-diff

Tools for side-by-side diffing of Clojure data structures and clojure.test failures
46 stars 8 forks source link

support for linux using meld or xterm and diff. use random tmp files in platform specific tmp dir #1

Closed tutysara closed 12 years ago

tutysara commented 12 years ago

added support for linux using meld, falls back on xterm and diff if meld is not installed use random tmp file names and platform specific tmp dir

AlexBaranosky commented 12 years ago

Very nice. Looks great. I'm going to convert to a multimethod though so we can maybe get support for Windows in there :)

AlexBaranosky commented 12 years ago

Hmmmm... (System/getProperty "os.name") => "Linux" on a Mac...

AlexBaranosky commented 12 years ago

So weird.... When I run it in lein repl, "os.name" is Mac OS X, but form Emacs repl, it is "Linux"

tutysara commented 12 years ago

remembering that old joke ppl bring when talking about emacs.

tutysara commented 12 years ago

do you have anything in your settings that sets "os.name" ?

AlexBaranosky commented 12 years ago

Figured it out. My Emacs was running in Vagrant. Vagrant is actually running Linux. Doh.