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?

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: Timothy

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-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

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

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]] :dependencies

Re: A Working nrepl-ritz Setup?

2012-12-08 Thread Hugo Duncan
Charles Comstock dgti...@gmail.com 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

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 gives me

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 then

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 terj...@gmail.com wrote: Did you update your ~/.lein/profiles?

Re: A Working nrepl-ritz Setup?

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

Re: A Working nrepl-ritz Setup?

2012-12-05 Thread Hugo Duncan
Timothy Washington twash...@gmail.com 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

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/nreplhttps://github.com/pallet/ritz/tree/develop/nrepl page, you'll want to change the instruction text from *A)* to *B)*. *A)* Add this to your ~/.lein/profiles file

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/nreplhttps://github.com/pallet/ritz/tree/develop/nrepl 3) I open a lein project and run `*M-x nrepl-ritz-jack-in*` **) The