On Sep 29, 1:08 pm, Phil Hagelberg <[email protected]> wrote: > On Tue, Sep 28, 2010 at 4:17 AM, Alex <[email protected]> wrote: > > $ lein swank > > user=> Connection opened on local port 4005 > > #<ServerSocket ServerSocket[addr=localhost/ > > 127.0.0.1,port=0,localport=4005]> > > > First question: why no visible output? > > Running "lein swank" just launches a swank server. It doesn't run any > of your project's code. Once you connect via slime, you can use C-c > C-k to compile a given namespace. But generally it's poor form to have > side-effects in the top-level; you should wrap your code in a defn and > run that function at the repl. > Understood. I need to read more on this because I'm not clear then on how to launch a simple "print X to stdout, sleep, then loop" app, while being able to communicate with it from emacs, and seeing consequent changes in the app's output.
Aquamacs: I hear you. I came to the same conclusions last night and am now running emacs 23. Thanks again Alex -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
