Re: Interactive heuristic

2009-09-06 Thread kyle smith
Are you calling System/exit when you close a window? Why not just do (.setDefaultCloseOperation jframe JFrame/DISPOSE_ON_CLOSE) ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group

Re: Interactive heuristic

2009-09-06 Thread Phil Hagelberg
Meikel Brandmeyer writes: > Maybe I'm misunderstanding something, but why do you need to know, how > the code was started, when you want it to always behave the same? In > which way needs SLIME special treatment? I'm working with sketches for the Processing environment. Each sketch starts its o

Re: Interactive heuristic

2009-09-06 Thread Daniel
On Mon, Sep 7, 2009 at 3:10 AM, Phil Hagelberg wrote: > > Stuart Sierra writes: > >> The problem is, I think, that everyone will have a slightly different >> definition of "interactive environment."  If I run >>     java ... clojure.main path/to/file.clj >> does that count?  What about >>     jav

Re: Interactive heuristic

2009-09-06 Thread Meikel Brandmeyer
Hi, Am 06.09.2009 um 22:10 schrieb Phil Hagelberg: That's not really helpful for my purposes; I want by code to behave the same way whether started from slime, an IDE, or the REPL; to do that I'd have to either maintain my own list of heuristics for each possible environment or get some sor

Re: Interactive heuristic

2009-09-06 Thread Phil Hagelberg
Stuart Sierra writes: > The problem is, I think, that everyone will have a slightly different > definition of "interactive environment." If I run > java ... clojure.main path/to/file.clj > does that count? What about > java ... my.compiled.namespace > ? Or what about a REPL thread ins

Re: Interactive heuristic

2009-09-03 Thread Stuart Sierra
The problem is, I think, that everyone will have a slightly different definition of "interactive environment." If I run java ... clojure.main path/to/file.clj does that count? What about java ... my.compiled.namespace ? Or what about a REPL thread inside another application? Or a Cloju