Re: A Working nrepl-ritz Setup?

2013-02-23 Thread bruce li
Hello, I managed to get nrepl-ritz going, but I'm experiencing the following annoying things: 1. When I switched on M-x nrepl-ritz-break-on-exception, I'm unable to disable it. When I called the command with a prefix(by default M--), it is still in action. Is there a way to disable it? Otherwise

Re: A Working nrepl-ritz Setup?

2013-01-19 Thread fb
On Windows, I had to put the profiles.clj in the Windows home directory C:\Users\%user name%\AppData\Roaming, where also .emacs.d reesides (see also https://github.com/pallet/ritz/issues/28#issuecomment-12460118). -fb Am Mittwoch, 5. Dezember 2012 18:24:20 UTC+1 schrieb Hugo Duncan: > > Timoth

Re: A Working nrepl-ritz Setup?

2012-12-10 Thread Charles Comstock
Perhaps this discussion should move to the nrepl-el mailing list or the like, but I just discovered a bit more trying to figure this out. I noted that the .lein/profiles.clj documentation had been updated in the ritz/nrepl documentation. Namely that :hooks is scoped to the :user block and not a

Re: A Working nrepl-ritz Setup?

2012-12-10 Thread Charles Comstock
No, that wasn't the problem, early on when I tried to use nrepl and ritz I experimented with clojure 1.5, but as far as I know all of these issues I encountered after switching back to 1.4. In response to someone elses question, I also was definitely using fresh copies of nrepl, presuming all t

Re: A Working nrepl-ritz Setup?

2012-12-10 Thread Chas Emerick
On Dec 8, 2012, at 6:37 PM, Charles Comstock wrote: > I still encounter some sort of issue where it appears that the documentation > querying functions, find-doc, and doc and the like are not being properly > brought into the repl namespace, which breaks ctrl-d d until I manually bring > that

Re: A Working nrepl-ritz Setup?

2012-12-08 Thread Timothy Washington
> Both these issues are probably caused by nrepl-ritz.el not being > loaded. Does a manual M-: (require 'nrepl-ritz) fix these? Not for me. If I don't explicitly include "*[clojure-complete "0.2.2"]*"... ... then doing `*M-: (require 'nrepl-ritz)*` before an `*M-x nrepl-ritz-jack-in*`, still giv

Re: A Working nrepl-ritz Setup?

2012-12-08 Thread Timothy Washington
Oh nice. An explicit inclusion of "*[clojure-complete "0.2.2"]*" gets rid of the complete core stacktrace. I believe that "*complete/core__init.class*" bug ( ultimately just means that auto-completion and other facilities aren't available ) comes from how "*nrepl-ritz-jack-in*" sets up a lein repl

Re: A Working nrepl-ritz Setup?

2012-12-08 Thread Hugo Duncan
Charles Comstock writes: > Note that unlike the docs listed at ritz/nrepl, I also needed to add an > explicit dependency for clojure-complete 0.2.2. I also needed to use the > MELPA version of nrepl, nrepl-ritz. I still encounter some sort of issue > where it appears that the documentation qu

Re: A Working nrepl-ritz Setup?

2012-12-08 Thread Charles Comstock
I actually just encountered this error, and then intended to post how I fixed it as a reported issue and then forgot. So this is my current lein profile.clj {:user {:plugins [[lein-vanity "0.1.0"] [jonase/eastwood "0.0.2"] [lein-ritz "0.6.0"]] :depende

Re: A Working nrepl-ritz Setup?

2012-12-05 Thread Timothy Washington
Ahh yes, `*lein ritz-nrepl*` wasn't working. I got it working by changing the file name to profiles.clj . So Hugo, in the ritz/nrepl page, you'll want to change the instruction text from *A)* to *B)*. *A)* Add this to your ~/.lein/profiles file (r

Re: A Working nrepl-ritz Setup?

2012-12-05 Thread Hugo Duncan
Timothy Washington writes: > Yes, I updated "*~/.emacs.d/init.el*" and "*~/.lein/profiles*", as outlined > on that page. But somehow nrepl server thinks *'ritz-nrepl' is not a task*. Does running `lein ritz-nrepl` from a shell within your project directory work? Hugo -- You received this mess

Re: A Working nrepl-ritz Setup?

2012-12-05 Thread Hugo Duncan
Timothy Washington writes: > > 1) I start from an empty "*~/.emacs.d/*" > 2) I then populate init.el from the example in > ritz/nrepl > > 3) I open a lein project and run `*M-x nrepl-ritz-jack-in*` > > **) The error I get back is: > > "*error in

Re: A Working nrepl-ritz Setup?

2012-12-05 Thread Timothy Washington
Yes, I updated "*~/.emacs.d/init.el*" and "*~/.lein/profiles*", as outlined on that page. But somehow nrepl server thinks *'ritz-nrepl' is not a task*. Tim On Wed, Dec 5, 2012 at 7:59 AM, terjesb wrote: > Did you update your ~/.lein/profiles? > > https://github.com/pallet/ritz/tree/develop/n

Re: A Working nrepl-ritz Setup?

2012-12-05 Thread terjesb
Did you update your ~/.lein/profiles? https://github.com/pallet/ritz/tree/develop/nrepl kl. 06:49:49 UTC+1 onsdag 5. desember 2012 skrev frye følgende: > > Hey all, > > > I like the promise of nrepl-ritz. But I can't get a working setup. > > > 1) I start from an empty "*~/.emacs.d/*" > 2) I th

A Working nrepl-ritz Setup?

2012-12-04 Thread Timothy Washington
Hey all, I like the promise of nrepl-ritz. But I can't get a working setup. 1) I start from an empty "*~/.emacs.d/*" 2) I then populate init.el from the example in ritz/nrepl 3) I open a lein project and run `*M-x nrepl-ritz-jack-in*` **) The