Cosmin Stejerean <cstejer...@gmail.com> writes: Hi Cosmin,
>> I'd like that slime loads ~/.clojure/user.clj when starting the >> clojure REPL. Therefore I added that file to >> `swank-clojure-init-files'. This variable is used in >> `swank-clojure-cmd' to build the java invocation command line. >> >> But that didn't work. So I wanted to debug `swank-clojure-cmd' to >> see what's wrong, but it seems that whole function is never called >> when I do `M-x slime'. >> >> I use the current HEAD versions of both swank-clojure and slime from >> their respective version control systems. > > As a workaround you can try adding ~/.clojure to the classpath, > Clojure will automatically load user.clj if found on the classpath. Yes, I've thought that, too. But incidentially swank-clojure seems to add only jar files in `swank-clojure-extra-classpaths' to the classpath. By default that are all jars in ~/.clojure + all jars in `swank-clojure-extra-classpaths'. When adding ~/.clojure/ to `swank-clojure-extra-classpaths' and starting SLIME, htop shows that this directory is not in the -cp java option. Sending a SIGINT kills the clojure process and doesn't interrupt the current Thread only... Bye, Tassilo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---