Re: Emacs setup - quick navigation to files and definitions

2011-06-15 Thread Kelvin Ward
In my experience ECB and Speedbar (both come with CEDET) is the only option. I think that speedbar may be available without cedet, but it seems less functional. ECB can keep the speedbar window fixed regardless of closing/opening other emacs windows. It's not a nice as IDEs I'd say, but certainly d

Re: read-line in emacs slime on windows problem

2009-10-07 Thread Kelvin Ward
it. > > I'm using latest clojure, slime, swank-clojure (pulled daily), and > Cygwin Emacs 23 on XP. > > On 22 Jul., 22:45, Kelvin Ward wrote: > > > I've been using EmacsW32 withSLIME. Whenever I call (read-line) in > > theREPLit never completes reading the inp

Re: How can a clojure script recognise it is running as a script?

2009-09-18 Thread Kelvin Ward
Thanks for the help guys, I'll look at compilation. On Sep 18, 4:45 pm, Stuart Sierra wrote: > On Sep 18, 6:46 am, Kelvin Ward wrote: > > > java -cp clojure.jar clojure.main foo.clj > > > I'm wondering if the code in foo.clj has anyway to know it is being >

How can a clojure script recognise it is running as a script?

2009-09-18 Thread Kelvin Ward
java -cp clojure.jar clojure.main foo.clj I'm wondering if the code in foo.clj has anyway to know it is being executed as a script. In python there's the idiom: def main(): ... if __name__ == "__main__": main() I can then import the file at the repl and execute main() only if want. I can a

read-line in emacs slime on windows problem

2009-07-22 Thread Kelvin Ward
I've been using EmacsW32 with SLIME. Whenever I call (read-line) in the REPL it never completes reading the input. This problem does not happen when using the command line to launch the clojure REPL. I've tried combinations of clojure1.0.0.jar the 1.1 alpha snapshot, the latest clojure-contrib.ja