Live coding with Clojure and Emacs

2014-02-04 Thread Daniel Szmulewicz
A blog post meant to demonstrate the symbiosis between powerful interactive programming environments such as Clojure and Emacs. http://danielsz.github.io/2014/01/20/Live-coding-with-Clojure-and-Emacs/ -- You received this message because you are subscribed to the Google Groups "Clojure&q

Re: Re: clojure and emacs

2011-09-06 Thread mmwaikar
I too used to do lein swank from the cmd prompt and then used to load emacs and then used to M-x slime-connect. However I've come to know three modes in emacs - multi-term, shell and eshell mode (which is like a command prompt in emacs), so you can do M-x multi-term, M-x shell or M-x eshell. E

Re: clojure and emacs

2011-09-06 Thread myriam abramson
Yes, keeping track of all those versions is tricky. At the moment, the Lein method in emacs seems simple enough. We'll see. On Sat, Sep 3, 2011 at 10:06 PM, Li Zhixiong wrote: > Basically, the problem I get is due to version conflict between > swank-clojure and slime, I download the same version

Re: Re: clojure and emacs

2011-09-06 Thread labwork07
Thanks, that's a good idea and best of all, it's working for me! I didn't know the Mx cd command to change default directory. On Sep 3, 2011 9:40pm, Benny Tsai wrote: Sorry, what I meant to say in the last line is: And as long as you start emacs somewhere in your lein project directory (o

Re: clojure and emacs

2011-09-04 Thread Li Zhixiong
Basically, the problem I get is due to version conflict between swank-clojure and slime, I download the same version as swank-clojure, that is, 20100404, then it works. On Sun, Sep 4, 2011 at 8:19 AM, myriam abramson wrote: > > Thanks. I am getting some slime errors unfortunately. I'll have to t

Re: clojure and emacs

2011-09-03 Thread Benny Tsai
Sorry, what I meant to say in the last line is: And as long as you start emacs somewhere in your lein project directory (or "M-x cd" to it), you'll automatically be dropped into the main namespace (if you have one defined via :main in project.clj), and the other project namespaces will be avail

Re: clojure and emacs

2011-09-03 Thread Benny Tsai
You can set "lein repl" as your inferior lisp program via: M-x describe-variable inferior-lisp-program And as long as you start emacs somewhere in your lein project directory (or "M-x cd" to it), you'll have all the libraries loaded in your REPL buffer. On Thursday, September 1, 2011 11:03:13 A

Re: clojure and emacs

2011-09-03 Thread myriam abramson
Thanks. I am getting some slime errors unfortunately. I'll have to track that down. On Thu, Sep 1, 2011 at 1:36 PM, Paul Nakata wrote: > On Thursday, September 1, 2011 10:03:13 AM UTC-7, melipone wrote: >> >> I do like "lein repl" on the command line. How can I have that in emacs? >> Basically,

Re: clojure and emacs

2011-09-01 Thread Paul Nakata
On Thursday, September 1, 2011 10:03:13 AM UTC-7, melipone wrote: > > I do like "lein repl" on the command line. How can I have that in emacs? > Basically, if I have a project in Lein, how can I do a (require > 'projectname) and have all the libraries loaded in emacs? > I'm just using M-x inferi

clojure and emacs

2011-09-01 Thread labwork07
I do like "lein repl" on the command line. How can I have that in emacs? Basically, if I have a project in Lein, how can I do a (require 'projectname) and have all the libraries loaded in emacs? I'm just using Mx inferior-lisp at this point. I find swank-clojure too complex for right now. Mayb

Re: clojure and emacs. again.

2010-04-06 Thread jney
my bad. I didn't find swank-clojure on ELPA and tried to install it manually. now it works. thanks. On Apr 3, 6:20 am, Phil Hagelberg wrote: > On Fri, Apr 2, 2010 at 12:19 PM, jney wrote: > >  I'm a newbie in clojure and inemacstoo. I got this message error > > while launching Slime : > > > Debu

Re: clojure and emacs. again.

2010-04-02 Thread Phil Hagelberg
On Fri, Apr 2, 2010 at 12:19 PM, jney wrote: >  I'm a newbie in clojure and in emacs too. I got this message error > while launching Slime : > > Debugger entered--Lisp error: (file-error "Searching for program" "No > such file or directory" "lisp") Slime is configured to use Common Lisp rather th

clojure and emacs. again.

2010-04-02 Thread jney
Hello, I'm a newbie in clojure and in emacs too. I got this message error while launching Slime : Debugger entered--Lisp error: (file-error "Searching for program" "No such file or directory" "lisp") start-process("inferior-lisp" # "lisp") apply(start-process "inferior-lisp" # "lisp" nil)