Re: Jesus, how the heck to do anything?

2011-03-26 Thread Preecha P
I think you should take a look at clojure box again. You could split the windows and have both code/repl open at the same times. After you feel comfortable with that, try leiningen and build some project. On Mar 23, 2:50 pm, ultranewb wrote: > Short version:  How do I just open an editor, type i

Re: ANN: Emacs auto-complete plugin for slime users

2010-10-25 Thread Preecha P
gt; and adding slime-repl-mode to the list. Once I added this, auto- > complete gets automatically enabled on my repl buffers as well. Give > it a try! > > On Oct 17, 10:00 am, Preecha P wrote: > > > Same here. It seems like auto-complete-mode doesn't fire up > > correct

Re: ANN: Emacs auto-complete plugin for slime users

2010-10-17 Thread Preecha P
Same here. It seems like auto-complete-mode doesn't fire up correctly. I tried to hook it using (add-hook 'slime-repl-mode-hook (lambda () (auto-complete-mode t) but it doesn't seems to do anything. I have to open the mode manually. On Oct 16, 11:27 am, Jarl Haggerty wrote: > Should autocomplete

Re: Does emacs suppress output from thread ?

2010-05-18 Thread Preecha P
o *out* (a variable that refers to > > System.out by default). If you use emacs / slime this variable will be > > set differently. You should find your threads output in the swank- > > REPL, if you can find it somewhere. > > > Regards, alux > > > On 18 Mai

Does emacs suppress output from thread ?

2010-05-17 Thread Preecha P
I tried to play around with thread with these lines of code. It should print the value of variable but it doesn't.. In emacs. user> (def x 5) #'user/x user> x 5 user> (import [java.lang Thread]) java.lang.Thread user> (.start (Thread. (fn [] (print x nil or with agent user> (def foo (agent 0

Re: Error when tried to compile with C-c C-k in emacs.

2010-04-09 Thread Preecha P
Thanks for the answer. It's pretty clear for me now. Little off topic here, I just installed everything using elpa, where does clojure.jar go ? and how to add some classpath to it ? I assume that it could be add by specifying folder swank-clojure-classpath, but this variable only appear after I ca

Error when tried to compile with C-c C-k in emacs.

2010-04-08 Thread Preecha P
Hi, I setup my emacs/swank-clojure/clojure without using elpa. I could run slime/swank-clojure and evaluate an expression just fine, but when I try to compile with C-c C-k, it give me this error. Wrong number of args passed to: basic$eval--2073$compile-file-for- emacs [Thrown class jav

Re: Problem with installation of swank-clojure without elpa...

2010-04-06 Thread Preecha P
.emacs files use ELPA, > which loads the advice for them. > Without ELPA it's necessary to load the advice using `ad-activate' > after (require 'swank-clojure) > > On Apr 6, 2:23 am, Preecha P wrote: > > > Tried that, not working. It gave me "Wrong type a

Re: Problem with installation of swank-clojure without elpa...

2010-04-05 Thread Preecha P
Tried that, not working. It gave me "Wrong type argument: stringp, 126" error in mini buffer. I don't think that's the problem, most '.emacs" I saw on internet doesn't use that. On Apr 5, 9:43 pm, ubolonton wrote: > Maybe you forgot this > > (ad-activate 'slime-read-interactive-args) -- You r

Problem with installation of swank-clojure without elpa...

2010-04-05 Thread Preecha P
Hi, I have some problem with swank-clojure installation. Since I already had SLIME/SBCL setup on my box so I followed some guide (http:// tentclube.blogspot.com/2010/01/manual-installation-not-using-elpa- of.html). The problem is the "clojure" didn't appear in "slime-lisp- implementations" variab