Re: Question about lein swank and emacs

2010-10-26 Thread Drew Raines
Mark Engelberg wrote: > So what steps do you need to go through so that M-x lein-swank > works? (When I type that, nothing happens). Oh. I forgot that's not part of lein proper. Phil posted some code earlier this year that binds a process started by `lein swank` to a *lein-swank* buffer.

Re: Question about lein swank and emacs

2010-10-26 Thread Mark Engelberg
So what steps do you need to go through so that M-x lein-swank works? (When I type that, nothing happens). On Tue, Oct 26, 2010 at 1:17 PM, Drew Raines wrote: > It's subjective.  I like M-x lein-swank because it retains control of > the swank process as an inferior-lisp, which lets you do things

Re: Question about lein swank and emacs

2010-10-26 Thread Drew Raines
Mark Engelberg wrote: > I'm confused. Is there a better way to get a REPL going in Emacs > other than "lein swank" from a command line combined with M-x > slime-connect in Emacs? It's subjective. I like M-x lein-swank because it retains control of the swank process as an inferior-lisp, which le

Re: Question about lein swank and emacs

2010-10-26 Thread Mark Engelberg
I'm confused. Is there a better way to get a REPL going in Emacs other than "lein swank" from a command line combined with M-x slime-connect in Emacs? On Tue, Oct 26, 2010 at 10:28 AM, Drew Raines wrote: > For some reason I missed the original slime-connect mention.  In that > case, David's righ

Re: Question about lein swank and emacs

2010-10-26 Thread Drew Raines
For some reason I missed the original slime-connect mention. In that case, David's right that there isn't any way apart from TERMing the lein swank process. When I start swank that way I do it within an Emacs shell so that I only have to switch buffers to restart. -Drew On Tue, Oct 26, 2010 a

Re: Question about lein swank and emacs

2010-10-26 Thread Drew Raines
David Jagoe wrote: > On 26 October 2010 04:36, Mark Engelberg wrote: >> When I do restart-inferior-lisp, it says, "no inferior lisp process". > > Yeah, that'll only work if you originally started swank from emacs > as the inferior lisp process. If you're doing 'lein swank' on the > command line i

Re: Question about lein swank and emacs

2010-10-25 Thread David Jagoe
On 26 October 2010 04:36, Mark Engelberg wrote: > When I do restart-inferior-lisp, it says, "no inferior lisp process". Yeah, that'll only work if you originally started swank from emacs as the inferior lisp process. If you're doing 'lein swank' on the command line it won't work - looks like elei

Re: Question about lein swank and emacs

2010-10-25 Thread Mark Engelberg
When I do restart-inferior-lisp, it says, "no inferior lisp process". On Mon, Oct 25, 2010 at 1:31 PM, Drew Raines wrote: > Mark Engelberg wrote: > >> When you start a swank server with lein swank, and then connect to >> it via slime-connect in emacs, is there any way from within emacs >> to rest

Re: Question about lein swank and emacs

2010-10-25 Thread Drew Raines
Mark Engelberg wrote: > When you start a swank server with lein swank, and then connect to > it via slime-connect in emacs, is there any way from within emacs > to restart the swank server and/or delete all definitions to start > from a clean slate? In the *slime-repl ...* buffer enter: , rest

Re: Question about lein swank and emacs

2010-10-25 Thread rb
Check out this Emacs package: http://github.com/remvee/elein The command you need is called `elein-reswank' there. cheers, rb On Oct 25, 7:13 am, Mark Engelberg wrote: > When you start a swank server with lein swank, and then connect to it > via slime-connect in emacs, is there any way from wi

Question about lein swank and emacs

2010-10-24 Thread Mark Engelberg
When you start a swank server with lein swank, and then connect to it via slime-connect in emacs, is there any way from within emacs to restart the swank server and/or delete all definitions to start from a clean slate? -- You received this message because you are subscribed to the Google Groups