Re: cider-repl show java and clojure version nil

2015-02-03 Thread Bozhidar Batsov
You're using a very old version of nREPL, which is likely coming from an older version of lein. Try using the latest the latest leiningen. On 3 February 2015 at 16:29, SK Kim wrote: > Hello all, > > This is what cider-repl shows right after cider-jack-in. > > ; CIDER 0.9.0alpha (package: 2015013

Re: ANN: vim-cljfmt: a vim plugin for cljfmt, the Clojure formatting tool

2015-02-04 Thread Bozhidar Batsov
Nice! I think it'd be a good idea to wrap cljfmt in a nREPL middleware that we can use from both CIDER and fireplace (and possibly other editors). I might look into adding this to cider-nrepl. On 4 February 2015 at 19:07, W. David Jarvis wrote: > Today I'm open sourcing vim-cljfmt ( > https://g

Re: [ANN] Dunaj project, an alternative core API for Clojure

2015-03-06 Thread Bozhidar Batsov
You might want to add some commenting capabilities to those articles. They'll be more valuable in the context of discussions IMO. On 6 March 2015 at 18:49, Jozef Wagner wrote: > Experiment #1 > > *Deconstructing Core API* > > While Clojure provides its functionalities in multiple namespaces (e.g

Debugging in CIDER

2015-03-28 Thread Bozhidar Batsov
Hey everyone, Just wanted to let you know that the most requested feature for CIDER (a debugger, in case you're wondering) has just landed in the master branch ( https://github.com/clojure-emacs/cider/pull/1019#issuecomment-87240470). The new CIDER debugger is inspired by edebug (Emacs's own debu

Re: clojure, not the go to for data science

2015-03-29 Thread Bozhidar Batsov
And CIDER isn't, right? I find this pretty insulting... On 29 March 2015 at 13:47, Colin Yates wrote: > Cursive Clojure, LightTable and CounterClockwise are all good Clojure IDEs. > > On 29 March 2015 at 09:54, Sayth Renshaw wrote: > > Hi > > > > I last learned clojure in 1.2. Just curious why

Re: clojure, not the go to for data science

2015-03-29 Thread Bozhidar Batsov
Just picking on the wording, that's all. Anti-Emacs stuff really gets to me. Forget I ever said anything. On 29 March 2015 at 17:17, Colin Yates wrote: > I assumed his reference to emacs covered CIDER - don't be so sensitive :). > > On 29 March 2015 at 15:14, Bozhidar Bat

Re: How do I upgrade nREPL?

2015-03-30 Thread Bozhidar Batsov
Yeah, other have noticed this as well https://github.com/clojure-emacs/cider/issues/961 Not sure if this is a Lein bug or a feature. On 30 March 2015 at 10:09, Shannon Severance wrote: > Through some additional experimentation, I have found when I start > Leiningen repl within a Leiningen proje

Re: State of the Art in Clojure Debugging

2015-03-30 Thread Bozhidar Batsov
This is a newish REPL debugger that's editor agnostic - https://github.com/razum2um/clj-debugger (and accidentally it's powering CIDER's own debugger). I'm pretty sure Cursive has the most sophisticated debugger right now, so the question is whether you dislike Intellij IDEA as much as Emacs. :-)

Re: anybody here who use emacs to edit closure? is emacs lisp a good starting point to learn closure?

2015-04-03 Thread Bozhidar Batsov
You can definitely start using Emacs without having to learn Emacs Lisp. Unless you're planning to write some custom extensions or customize your setup wildly you can go a very long way with just cursory knowledge of Emacs Lisp. At any rate - knowing any Lisp dialect makes it relatively easy to pic

Re: anybody here who use emacs to edit closure? is emacs lisp a good starting point to learn closure?

2015-04-04 Thread Bozhidar Batsov
Ops, I meant to say CCW, not CCC. :-) On 4 April 2015 at 10:43, Laurent PETIT wrote: > Please also note that Counterclockwise, the Eclipse plugin for Clojure, > also comes with all all-inclusive zip archive which makes you as easy to > start creating a new project as "Download / Unzip / Start":

Re: Lein repl and Cider repl

2015-04-05 Thread Bozhidar Batsov
Maybe reply interns `clojure.repl/doc` in every namespace. I can tell you for a fact that in CIDER the `clojure.repl` functions are interned only in the "user" namespace. We can always change this, but it doesn't make a lot of sense. CIDER users normally never use functions like "doc" as they have

Re: Lein repl and Cider repl

2015-04-05 Thread Bozhidar Batsov
would be "find-doc"? > > And in general, what would be the best way to add some extra > customization to how the Cider repl works? > > 2015-04-05 9:46 GMT+01:00 Bozhidar Batsov : > > Maybe reply interns `clojure.repl/doc` in every namespace. I can tell you > >

Re: [ANN] Clojure Applied: From Practice to Practitioner

2015-04-09 Thread Bozhidar Batsov
IMO "Clojure Programming" is the best intro book (although it's a bit outdated). "Clojure for the Brave and the True" is great as well, but it's not yet completely finished (ETA June). On 9 April 2015 at 18:57, Derek Koziol wrote: > What do you recommend as "fine introductory books" to get mysel

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-11 Thread Bozhidar Batsov
Btw, CIDER 0.9-snapshot was just updated and now works with the latest ClojureScript release. On 11 April 2015 at 18:15, David Nolen wrote: > Yep, the clojure.main option is the one you want. > > David > > On Sat, Apr 11, 2015 at 10:45 AM, Georgi Danov > wrote: > >> I did read it very carefully

Re: [ANN] edn.el

2015-04-15 Thread Bozhidar Batsov
Using EDN instead of bencode with nREPL & CIDER comes to mind. Leveraging the socketed REPL in Clojure 1.7 from Emacs would be another idea. On 14 April 2015 at 00:25, Blake Miller wrote: > Cool! May I ask what your motivation was for this? > > > On Saturday, April 11, 2015 at 3:09:28 AM UTC-7,

Re: [ANN, GSoC] A Common Clojure Source Metadata Model

2015-05-06 Thread Bozhidar Batsov
I think the real problem is the lack of conventions for adding metadata to docstrings. I sorely miss `some-func/var' and SOME-PARAM from Emacs Lisp. It's always clear where you refer to other functions/variables and to parameters. This makes it way easier to read (and parse) a docstring. On 6 May

Re: ClojureCLR and nrepl ?

2015-05-07 Thread Bozhidar Batsov
Btw, even if there were working nREPL for CLR you'll still have issues with fireplace as both of its modes (using embedded tooling code & using nREPL middleware) rely on JVM libs. Same goes for CIDER, of course. Outside of basic evaluation pretty much nothing will work. On 7 May 2015 at 05:33, dmi

Re: CLJ-703 - 10x compilation time decrease after applying one-line patch, no downsides.

2015-05-08 Thread Bozhidar Batsov
I'll just say one more time that the team should really consider doing bug-fix releases in the future. This problem sounds serious enough to be handled as quickly as possible. Clojure 1.6 was released over one year ago, so I'm guessing 1.8 is more than a year away from now. Waiting for major releas

Re: [new] GNU emacs settings for clojure ?

2015-06-15 Thread Bozhidar Batsov
The "official" example config might be useful as well https://github.com/clojure-emacs/example-config On 15 June 2015 at 12:32, Josh Kamau wrote: > You could also try emacs-live if you are an emacs beginner. > https://github.com/overtone/emacs-live > > On Mon, Jun 15, 2015 at 9:32 AM, Jason Lew

[ANN] CIDER 0.9

2015-06-16 Thread Bozhidar Batsov
Hey everyone, CIDER 0.9 is finally out! You can read more about the release here http://batsov.com/articles/2015/06/16/cider-0-dot-9/ Enjoy (responsibly)! :-) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloju

Re: [ANN] CIDER 0.9

2015-06-16 Thread Bozhidar Batsov
all previous *.elc files > and restarting emacs solves the problem. > > Congratulations! > > Yours, > Avicenna > > > On Tuesday, 16 June 2015 21:33:48 UTC+7, Bozhidar Batsov wrote: >> >> Hey everyone, >> >> CIDER 0.9 is finally out! You can read more

Re: [ANN] CIDER 0.9

2015-06-17 Thread Bozhidar Batsov
Go do something useful with your IDE (or whatever) for a change and stop trolling on this thread... On 17 June 2015 at 16:56, Fluid Dynamics wrote: > On Wednesday, June 17, 2015 at 9:06:58 AM UTC-4, Leon Grapenthin wrote: >> >> Nevermind, I found the solution. (require 'cl) manually before compi

Re: [ANN] CIDER 0.9

2015-06-17 Thread Bozhidar Batsov
>> M-n, I get >> >> Symbol's function definition is void: assert >> >> When I run (require 'cl) it changes to Invalid function: assert >> >> Am I the only one with this problem? Because I found no reports of it. >> >> On Tuesday, Jun

Re: [ANN] CIDER 0.9

2015-06-17 Thread Bozhidar Batsov
e: > leiningen use org.clojure/tools.nrepl 0.2.6 cider-nrepl throw warning > > > On Tuesday, June 16, 2015 at 10:33:48 PM UTC+8, Bozhidar Batsov wrote: >> >> Hey everyone, >> >> CIDER 0.9 is finally out! You can read more about the release here >> http://

Re: [ANN] CIDER 0.9

2015-06-17 Thread Bozhidar Batsov
Yeah, I'm aware of those problems, but as you already know they have to fixed in leiningen. At least these days leiningen has an alternative ( https://github.com/boot-clj/boot). On 18 June 2015 at 07:51, Alexis wrote: > > Bozhidar Batsov writes: > > nREPL 0.2.6 is pretty

Re: [ANN] CIDER 0.9

2015-06-18 Thread Bozhidar Batsov
Happy to hear this! :-) On 18 June 2015 at 14:36, Stefan Kamphausen wrote: > Dear CIDER Devs, > > > On Tuesday, June 16, 2015 at 4:33:48 PM UTC+2, Bozhidar Batsov wrote: >> >> >> CIDER 0.9 is finally out! You can read more about the release here >> http://ba

Re: [ANN] CIDER 0.9

2015-06-18 Thread Bozhidar Batsov
; > Connecting to multiple repls on different projects works fine. > > Thanks, > BG > > On Thu, Jun 18, 2015 at 5:26 PM, Bozhidar Batsov > wrote: > > Happy to hear this! :-) > > > > On 18 June 2015 at 14:36, Stefan Kamphausen wrote: > >> > >&g

Re: [ANN] CIDER 0.9

2015-06-18 Thread Bozhidar Batsov
Baishampayan Ghose wrote: >>> >>> By the way, I just tried connecting to two different repls from the >>> same project (the regular one + one started by fighweel) and it made >>> my Emacs hang :-\ >>> >>> Connecting to multiple repls on different

Re: ANN: org.clojure/tools.namespace "0.2.11"

2015-06-20 Thread Bozhidar Batsov
Btw, what's the point of maintaining compatibility with 1.3? According to the last state of Clojure survey pretty much no one uses 1.3 and 1.4 and the upgrade path to 1.5 is not exactly hard... On 20 June 2015 at 16:32, Magnar Sveen wrote: > Thanks! Have been waiting for this. Working with .cljc

Re: ANN: org.clojure/tools.namespace "0.2.11"

2015-06-21 Thread Bozhidar Batsov
Often compatibility comes at the cost of functionality and maintainability, so in the end of the day someone has to pay the piper. Why would anyone be using Emacs 23? It's easy to upgrade it pretty much everywhere and I doubt anyone is doing much programming on their RHEL 5/6 production servers. O

Re: CIDER + boot - how to make CIDER use installed version of cider-nrepl?

2015-06-21 Thread Bozhidar Batsov
Did you go through this https://github.com/boot-clj/boot/wiki/Cider-REPL ? On 21 June 2015 at 11:20, Alexis wrote: > > Hi all, > > Since the last leiningen release insists on using nREPL 0.2.6, i thought > i'd have a go at using boot with CIDER instead. > > From what i can tell, boot has a simil

Re: Cider form-init buffer

2015-06-23 Thread Bozhidar Batsov
When exactly does this appear? It's just a file used by Clojure for code evaluated in a REPL, but shouldn't appear in CIDER at all (except in stacktraces). On 23 June 2015 at 18:56, dtouch3d completely wrote: > Is there a way to disable the /tmp/form-init*.clj buffer from showing when > there is

Re: Cider form-init buffer

2015-06-23 Thread Bozhidar Batsov
ears when I try to evaluate code that has syntactic errors. > > On Tuesday, June 23, 2015 at 7:42:10 PM UTC+3, Bozhidar Batsov wrote: >> >> When exactly does this appear? It's just a file used by Clojure for code >> evaluated in a REPL, but shouldn't appear in CIDER at all

[ANN] CIDER 0.9.1

2015-06-24 Thread Bozhidar Batsov
Hi everyone, CIDER 0.9.1 (codename “EuroCIDER”) is out! The release notes are here https://github.com/clojure-emacs/cider/releases/tag/v0.9.1 This release fixes pretty much all serious issues that were discovered shortly after 0.9.0 went live and (as you probably have guessed by now) is dedicated

Re: cider-error go to line

2015-07-02 Thread Bozhidar Batsov
This is a problem on nREPL, not CIDER. See http://dev.clojure.org/jira/browse/NREPL-59 for details. There aren't any real solutions to this, other than fixing nREPL, but we're considering some workarounds (e.g. trying to find the definition using a regular expression and using the relative positio

Re: #{:rant} Questions about contribution policy and clojure compiler source.

2015-07-18 Thread Bozhidar Batsov
On 18 July 2015 at 14:13, Andrey Antukh wrote: > Hi! > > I have some, maybe controversial, questions... > > A little bit of context: > https://twitter.com/aphyr/status/621806683908542464 > > Why this is like a normal approach for managing third party contributions > to clojure core? This kind of

Re: #{:rant} Questions about contribution policy and clojure compiler source.

2015-07-18 Thread Bozhidar Batsov
Btw, here's a bit more colour on the inclusion of tuples, Zack's own thoughts on the subject https://gist.github.com/ztellman/9ded0b77281f48942b68 On Saturday, July 18, 2015 at 2:14:02 PM UTC+3, Andrey Antukh wrote: > > Hi! > > I have some, maybe controversial, questions... > > A little bit of

Re: #{:rant} Questions about contribution policy and clojure compiler source.

2015-07-18 Thread Bozhidar Batsov
On 18 July 2015 at 18:44, Luc Prefontaine wrote: > Sure, indentation is what gets the code running on metal :)) > That remark is wrong on so many levels... In the words of the legendary SICP authors - "Programs must be written for people to read, and only incidentally for machines to execute."

Re: #{:rant} Questions about contribution policy and clojure compiler source.

2015-07-18 Thread Bozhidar Batsov
On 18 July 2015 at 18:48, Colin Yates wrote: > +1 (although I maybe wouldn’t be so mocking in my tone ;-). Since when did > software design by committee work; anyone remember J2EE? (and yes, that > does deserve my mocking tone). > Why do people always say that a committee is the only alternative

Re: #{:rant} Questions about contribution policy and clojure compiler source.

2015-07-18 Thread Bozhidar Batsov
On 18 July 2015 at 20:18, Luc Prefontaine wrote: > Aaah ! The pull request looms again :) > > A bug tracking system is essentialy to coordinate efforts, pull request > are not a mechanism to track fixes/improvements and discuss about > them. That may work for a very small team. The # of clojure c

Re: #{:rant} Questions about contribution policy and clojure compiler source.

2015-07-18 Thread Bozhidar Batsov
rd to throw a stone at the > current lifecycle. > > That may look to you as an ultra-conservative approach. Let's put it this > way, > I would use Linux and Clojure to control a nuclear plant anytime. > > I am quite certain sure I would not use Rails or Ruby for this purpose

Re: [:ann :book] ClojureScript Unraveled

2015-07-19 Thread Bozhidar Batsov
That's a really exciting project, as a lot of people are looking to get started with ClojureScript and are finding it kind of hard because of the lack of such resources. My advise would be to put a bit heavier focus on the differences between Clojure & ClojureScript and add some section about sett

Re: #{:rant} Questions about contribution policy and clojure compiler source.

2015-07-20 Thread Bozhidar Batsov
True that. While I'd prefer a more common indentation style to be adopted, I'd definitely settle just for Rich's style being applied consistently everywhere. Trying to account for indentation inconsistencies when working on a patch is not fun at all. So yeah - the real problems about the formatting

Re: [:ann :book] ClojureScript Unraveled

2015-07-21 Thread Bozhidar Batsov
Sounds like a plan to me. :-) On 21 July 2015 at 18:16, Alejandro Gómez wrote: > Thanks to everybody for the kind words and suggestions! > > A few comments to Bozhidar's suggestions below: > > On Mon, Jul 20, 2015, at 07:07, Bozhidar Batsov wrote: > > That's a re

Re: Tool authors: ClojureScript support in tools.namespace?

2015-07-25 Thread Bozhidar Batsov
Stuart mentioned that equivalent tools already exist for cljs, but I'm not sure what he refers to. CIDER makes use of `c.t.n.repl/refresh` (its lower-level blocks to be precise) and it'd be great if we could provide the same functionality for cljs. On 25 July 2015 at 17:37, Dylan Butman wrote: >

Re: Tool authors: ClojureScript support in tools.namespace?

2015-07-29 Thread Bozhidar Batsov
Sounds like a plan to me. :-) On 28 July 2015 at 20:35, Stuart Sierra wrote: > Thanks for the responses everyone. > > So far, my general plan is starting to look like this: > > c.t.n.*dependency* and c.t.n.*track* are platform agnostic. > > c.t.n.*file* and c.t.n.*parse* can be extended to suppo

Re: ANN: Namespace browser for Emacs users

2014-08-01 Thread Bozhidar Batsov
Nicely done! As you might know I'm cider's maintainer and I actually had a namespace browser on the roadmap. :-) I'd like to invite you to transfer the project to the official clojure-emacs github organisation (to increase the package's visibility and to make easier for the cider team to help yo

Re: A few String functions we could implement in Clojure?

2014-08-01 Thread Bozhidar Batsov
I recently raised a similar point regarding `starts-with?` and `ends-with?` (link - http://dev.clojure.org/jira/browse/CLJ-1449) and it seems that Clojure's team acknowledges that this is valid reasoning. I think you should open a ticket as well as the case you present is pretty much the same.

Re: [ANN] Grimoire 0.3.0

2014-08-01 Thread Bozhidar Batsov
On Saturday, August 2, 2014, Reid McKenzie wrote: > For those of you who didn't notice the ten minutes of 500 pages as I > upgraded, I'm delighted to announce the Grimoire's 3rd release! > > This version would not have been possible without Robert Stuttaford, who > was a huge help in porting Grim

Re: [ANN] Grimoire 0.3.0

2014-08-02 Thread Bozhidar Batsov
On August 2, 2014 at 8:52:48, Bozhidar Batsov (bozhi...@batsov.com) wrote: On Saturday, August 2, 2014, Reid McKenzie wrote: For those of you who didn't notice the ten minutes of 500 pages as I upgraded, I'm delighted to announce the Grimoire's 3rd release! This version woul

Re: ANN: Namespace browser for Emacs users

2014-08-04 Thread Bozhidar Batsov
On August 5, 2014 at 0:29:33, John Andrews (john.m.andr...@gmail.com) wrote: Hi Bozhidar, I think adding it to main Cider sounds like a great idea! I'll work up a pull request in the next few days. Thanks, John Looking forward to it! :-) On Fri, Aug 1, 2014 at 6:09 AM, Bozhidar B

[ANN] CIDER 0.7 is out!

2014-08-05 Thread Bozhidar Batsov
Hi everyone, CIDER 0.7.0 is finally out! I wrote a short blog post about it, as the release is quite massive and important: http://batsov.com/articles/2014/08/05/cider-0-dot-7/ Enjoy! --  Cheers, Bozhidar -- You received this message because you are subscribed to the Google Groups "Clojure"

Re: CIDER vs Org Mode: "Symbol's definition is void: nrepl-send-string-sync" (workaround)

2014-08-11 Thread Bozhidar Batsov
On August 10, 2014 at 11:51:07 PM, Matching Socks (phill.w...@gmail.com) wrote: Using Org Mode's org-babel-execute-src-block, I ran into "Symbol's definition is void: nrepl-send-string-sync" after installing a recent update of the cider package from Melpa. This was recently renamed - have a look

Re: CIDER vs Org Mode: "Symbol's definition is void: nrepl-send-string-sync" (workaround)

2014-08-12 Thread Bozhidar Batsov
Indeed. I’ve overlooked this particular function; this is corrected upstream now. --  Bozhidar On August 12, 2014 at 11:53:42, Bastien (bastiengue...@gmail.com) wrote: Bozhidar Batsov writes: > This was recently renamed - have a look at CIDER's changelog. > Interestingly we ha

Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Bozhidar Batsov
vim-fireplace uses cider-nrepl (when available, otherwise it will fallback to evaling inlined code) as well, so the Emacs rules should apply for it. — Cheers,  Bozhidar On September 1, 2014 at 2:12:53 PM, Jony Hudson (jonyepsi...@gmail.com) wrote: Ohh, and there are some new docs on how to use G

Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Bozhidar Batsov
On September 1, 2014 at 2:11:40 PM, Jony Hudson (jonyepsi...@gmail.com) wrote: Hi all,  there's a new version of Gorilla REPL out :-) The headline feature is that the autocomplete UI now shows the docs for the function you're typing/lets you browse the docs. It's really handy! Autocomplete itsel

Re: {ANN} defun: A beautiful macro to define clojure functions with pattern match.

2014-09-14 Thread Bozhidar Batsov
Cool idea! I really wish something similar was available out-of-the-box - perhaps it makes sense to include such a macro in core.match itself as some point? — Cheers,  Bozhidar On September 14, 2014 at 9:47:21 AM, dennis zhuang (killme2...@gmail.com) wrote: Hi , i am pleased to introduce defu

Re: [ANN] Clojure Videos (with options for Linux users)

2014-09-22 Thread Bozhidar Batsov
I was thinking the same thing. Lack of paypal support is the only reason I haven’t subscribed yet… Not sure if it’s something supported by pivotshare, though. — Cheers,  Bozhidar On September 22, 2014 at 5:52:05 PM, Mateusz Fiołka (mateusz.fio...@gmail.com) wrote: Paypal payment option would

Re: [ANN] Monroe 0.1.0 - nrepl client for Emacs

2014-09-26 Thread Bozhidar Batsov
Btw, you’re using CIDER’s old bencode parser, which was flawed (big requests break it due to deep recursive calls). We recently reworked it and the new version is much more robust. — Cheers,  Bozhidar On September 25, 2014 at 4:32:12 PM, Sanel Zukan (san...@gmail.com) wrote: Thanks for reply w

Re: [ANN] Monroe 0.1.0 - nrepl client for Emacs

2014-10-03 Thread Bozhidar Batsov
On October 3, 2014 at 3:06:08 PM, Daniel Szmulewicz (daniel.szmulew...@gmail.com) wrote: Hi Sanel and thanks for Monroe.  I think the use case is clear: lightweight alternative to Cider.  So the question is what is the use case pertaining to nrepl.el, which is also lightweight. This question is

Re: [ANN] Monroe 0.1.0 - nrepl client for Emacs

2014-10-03 Thread Bozhidar Batsov
so I thought they were separate things. So in fact, nrepl.el is just an old incarnation of Cider? Ob-clojure.el needs a fixing, I believe. Oops, I meant nrepl.el:  https://github.com/technomancy/nrepl.el/blob/master/nrepl.el On Friday, October 3, 2014 3:34:26 PM UTC+3, Bozhidar Batsov wrote: On Oc

Re: book for a beginner with some exercises

2014-10-21 Thread Bozhidar Batsov
http://programmingpraxis.com/ is another source of great programming exercises (with solutions available in many languages). —  Cheers, Bozhidar On October 18, 2014 at 23:57:00, Eric Normand (ericwnorm...@gmail.com) wrote: Hi there, If you're looking for books, I don't know of any. But my Intr

Re: Print broken in Cider 0.7.0 - Ring - Compojure

2014-10-29 Thread Bozhidar Batsov
I recall that a similar problem was caused by a buggy nREPL version.  See https://github.com/clojure-emacs/cider/issues/785 — Cheers,  Bozhidar On October 29, 2014 at 2:41:02 PM, Steve Shogren (steve.a.shog...@gmail.com) wrote: I cannot seem to see the results of "println", "print", or "clojur

Re: Print broken in Cider 0.7.0 - Ring - Compojure

2014-10-29 Thread Bozhidar Batsov
is the version I am using. Still nothing. On Wednesday, October 29, 2014 10:15:34 AM UTC-4, Bozhidar Batsov wrote: I recall that a similar problem was caused by a buggy nREPL version.  See https://github.com/clojure-emacs/cider/issues/785 — Cheers,  Bozhidar On October 29, 2014 at 2:41:02 PM

[ANN] Introducing inf-clojure - a better basic Clojure REPL for Emacs

2014-12-04 Thread Bozhidar Batsov
At Clojure/conj I had the chance to shake Rich Hickey’s hand and exchange a few words with him. When I asked him whether he currently uses CIDER or Cursive for Clojure development he replied that he preferred a simpler solution - clojure-mode & inferior-lisp-mode. I was a bit surprised because c

Re: [ANN] Introducing inf-clojure - a better basic Clojure REPL for Emacs

2014-12-04 Thread Bozhidar Batsov
That’s odd. `clojure-source-modes` is a defcustom with value '(clojure-mode) by default. Tried this locally and it seems to work. —  Cheers, Bozhidar On December 4, 2014 at 23:24:04, Bastien (bastiengue...@gmail.com) wrote: Hi Bozhidar, Bozhidar Batsov writes: > inf-clojure is a

Re: [ANN] Introducing inf-clojure - a better basic Clojure REPL for Emacs

2014-12-04 Thread Bozhidar Batsov
middleware).  —  Cheers, Bozhidar On December 5, 2014 at 03:43:03, John Louis Del Rosario (joh...@gmail.com) wrote: How does this differ to monroe https://github.com/sanel/monroe? On Friday, December 5, 2014 1:39:32 AM UTC+8, Bozhidar Batsov wrote: At Clojure/conj I had the chance to shake Rich

Re: For review: Clojure Namespace Isolation

2014-12-07 Thread Bozhidar Batsov
I think you should post this to clojure-...@googlegroups.com —  Cheers, Bozhidar On December 7, 2014 at 07:32:38, Ralph Ritoch (rrit...@gmail.com) wrote: Hello,    I have created a way to create namespace isolation within clojure. The code is available on github @ https://github.com/rritoch/cl

CIDER 0.8.2 released!

2014-12-21 Thread Bozhidar Batsov
Ladies and gentlemen, I’m happy to inform you that CIDER 0.8.2 is out! It’s a bugfix-only release (which means you totally want to use it). Have a look at the release notes (https://github.com/clojure-emacs/cider/releases/tag/v0.8.2) for all the gory details. This will be the final release in t

Re: Clojure Style Guide

2014-12-21 Thread Bozhidar Batsov
The only catch is that you should do this only for “relatively unique” names, as clojure-mode is not namespace aware. Otherwise you might get funky indentation in odd places. — Cheers,  Bozhidar On December 21, 2014 at 3:23:17 AM, Reid McKenzie (rmckenzi...@gmail.com) wrote: Protip: you already

Re: CIDER 0.8.2 released!

2014-12-21 Thread Bozhidar Batsov
there in the next few hours. Thanks!  L 2014-12-21 11:54 GMT+01:00 Bozhidar Batsov : Ladies and gentlemen, I’m happy to inform you that CIDER 0.8.2 is out! It’s a bugfix-only release (which means you totally want to use it). Have a look at the release notes (https://github.com/clojure-emacs

Re: Clojure Style Guide

2014-12-21 Thread Bozhidar Batsov
On December 20, 2014 at 11:14:14 AM, Colin Fleming (colin.mailingl...@gmail.com) wrote: Hi everyone, There's been a bit of discussion recently on a couple of clojure-mode tickets that I thought were worth discussing here. The tickets are #265 and #266, and they later led to PR #96 on Bozhidar B

Re: Clojure Style Guide

2014-12-21 Thread Bozhidar Batsov
Yeah, shared (or at least as shared as possible) defaults would be awesome. I feel that the style guide might provide us with some insight about what those shared defaults should be. — Cheers,  Bozhidar On December 20, 2014 at 11:51:33 AM, Laurent PETIT (laurent.pe...@gmail.com) wrote: I agree

Re: Clojure Style Guide

2014-12-21 Thread Bozhidar Batsov
On December 20, 2014 at 4:30:41 PM, Timothy Baldridge (tbaldri...@gmail.com) wrote: I recently browsed parts of that guide and was surprised how many bits I disagreed with. Especially around the "one space in these rare cases" bits. Not that that is a bad thing it's just my personal opinion that

Re: Clojure Style Guide

2014-12-21 Thread Bozhidar Batsov
You can use `.dir-locals.el` to alter the clojure-mode indentation settings on a per-project basis. — Cheers,  Bozhidar On December 20, 2014 at 8:47:10 PM, Andy L (core.as...@gmail.com) wrote: Hi, I realized recently that cohesive pretty formatting LISP programs is a very difficult problem to

Re: Clojure Style Guide

2014-12-21 Thread Bozhidar Batsov
On December 21, 2014 at 1:12:10 AM, Leon Grapenthin (grapenthinl...@gmail.com) wrote: Thanks for bringing this up here and linking to the issue I raised on GH. I wanted to start a discussion here as well but have not yet found time.  My concerns and worries are less about the style-guide in gene

[ANN] CIDER 0.13 (California) is out!

2016-07-25 Thread Bozhidar Batsov
Hey everyone, In the middle of the summer (for my part of the world, at least) we've got a hot new CIDER release for you. It's named after my beloved Republic of California, where its development began. Here are the highlights for the release: ### New Features * Add an option `nrepl-prompt-to-ki

Re: CIDER: function definition is void: nrepl-current-connection-buffer

2016-09-29 Thread Bozhidar Batsov
A long time ago this function was renamed to cider-current-connection. On 30 September 2016 at 00:56, wrote: > How do I inspect and resolve the following? (Thanks in advance for any > help) > > I did M-x cider-jack-in-clojurescript with CIDER from MELPA stable as > well as MELPA and got the same

Re: CIDER: function definition is void: nrepl-current-connection-buffer

2016-09-29 Thread Bozhidar Batsov
Ah, noticed your problem - ac-nrepl is a legacy package that hasn't been updated in ages. There's ac-cider now. On 30 September 2016 at 09:37, Bozhidar Batsov wrote: > A long time ago this function was renamed to cider-current-connection. > > On 30 September 2016 at 00:56, w

Re: Hacktoberfest labeled issues

2016-10-04 Thread Bozhidar Batsov
CIDER is participating in this - https://github.com/clojure-emacs/cider/issues?q=is%3Aissue+is%3Aopen+label%3AHacktoberfest On 4 October 2016 at 11:28, Karim SENHAJI wrote: > Hi all, > > Hacktoberfest is currently > running in Github (contribute to OSS a

Re: [ANN] Re-launching Expectations!

2016-10-08 Thread Bozhidar Batsov
Great news! Looking forward to adding the support for the clojure.test protocol. CIDER's users will really appreciate it! On 6 October 2016 at 21:36, Colin Yates wrote: > Thanks Sean. > > On 6 October 2016 at 19:03, Sean Corfield wrote: > >> is there a 'benefits over clojure.test' blog anywher

[ANN] CIDER 0.14 (Berlin) released

2016-10-14 Thread Bozhidar Batsov
Hey everyone, Yesterday I released CIDER 0.14 (Berlin). It's a rather small CIDER update, mostly focusing on bug fixes. Thanks to everyone who contributed to this release! The release notes are here https://github.com/clojure-emacs/cider/releases/tag/v0.14.0 Enjoy! P.S. Once again I'd like to s

Re: error in nrepl

2017-06-26 Thread Bozhidar Batsov
Newer versions of CIDER are much easier to setup than the older ones (e.g. they auto-inject their dependencies, so you don't have to fiddle with profiles.clj). You should try the latest stable or dev release. That said you can also check Monroe (https://github.com/sanel/monroe) which is a fork of a

Re: Migrating nREPL out of Clojure Contrib

2017-07-19 Thread Bozhidar Batsov
Contrib projects do not accept pull requests. They accept only patches submitted via JIRA. On Wed, Jul 19, 2017 at 09:11 Didier wrote: > I'm not too familiar with the way contribs are managed, isn't tools.nrepl > repo in github? Wouldn't the only step to contribute be to sign the CA and > send a

[ANN] CIDER 0.15 (London)

2017-07-20 Thread Bozhidar Batsov
Hey everyone, Just in the time for EuroClojure 2017, we've released a major update to CIDER - the popular Clojure interactive development environment, built on top of Emacs and nREPL. The big news is that CIDER 0.15 ships with a lot of features related to clojure.spec and that the debugger is now

Re: Migrating nREPL out of Clojure Contrib

2017-07-20 Thread Bozhidar Batsov
On 20 July 2017 at 08:14, Sean Corfield wrote: > At the risk of being unpopular… 😊 > > > > I think there are quite a few people who _*say*_ that it’s an obstacle to > their contributing to Clojure or to a Contrib library but in reality they > wouldn’t actually contribute anyway, so it becomes an

Re: Migrating nREPL out of Clojure Contrib

2017-07-20 Thread Bozhidar Batsov
On 18 July 2017 at 15:48, Chas Emerick wrote: > Hi all, > > I've been approached many, many times over the years (and more frequently > since the development and inclusion of socket-repl) about the potential of > moving nREPL[1] out of clojure contrib…either back to its original > location[2], or

Re: Migrating nREPL out of Clojure Contrib

2017-08-02 Thread Bozhidar Batsov
So, what's the next step here? On 23 July 2017 at 02:16, Colin Fleming wrote: > Are you saying the contrib process is deliberatly made to be difficult for >> the community to contribute to it? > > > No, not at all, just that it's deliberately designed to be exactly the way > it is, so dedicating

Re: [ANN] Clojure 1.9.0-alpha18

2017-08-29 Thread Bozhidar Batsov
Just for the sake of completeness with regards to the issue in CIDER - it has been addressed in master and I'll issue a bugfix release soon. On 24 August 2017 at 05:20, Alex Miller wrote: > Correct, this was just something Rich ran into while doing the pluggable > resolver work. The intent has a

Re: Cider - emacs lisp errors reported

2017-12-10 Thread Bozhidar Batsov
It might have been changed upstream. Not sure what's your Emacs version. A while ago we backported this macro in whatever its current form was for compatibility with older Emacsen. File a ticket on GitHub and we'll investigate. On 10 December 2017 at 13:44, Peter Hull wrote: > I noticed this w

[ANN] CIDER 0.16 (Riga)

2017-12-28 Thread Bozhidar Batsov
Hey everyone, Here's one (a bit overdue) Christmas present for all of you - a major update to CIDER, the popular Clojure interactive development environment, built on top of Emacs and nREPL. The big news is that CIDER 0.16 starts much faster when you use `cider-jack-in` (due to deferred loading o

Re: Russ olsen's Clojure Book

2018-01-13 Thread Bozhidar Batsov
Nice! Looking forward to reading it! I'm a big fan of your Ruby work! On 12 January 2018 at 23:29, wrote: > So it's been 6 years, 6 months and 19 days but the book is on it's way. > It's called Getting Clojure, published by the Pragmatic Press: > > https://twitter.com/russolsen/status/929096359

Re: numeric-tower versus clojure 1.9

2018-01-19 Thread Bozhidar Batsov
I also got a CIDER ticket about pretty much the same problem https://github.com/clojure-emacs/cider/issues/2169 I guess there's some problem with Clojure 1.9 and the tower, but I'm not sure about its exact extent. On 18 January 2018 at 02:41, Alex Miller wrote: > I can't reproduce that locally.

Re: [ANN] clojure tools 1.9.0.315, tools.deps.alpha 0.5.342

2018-01-24 Thread Bozhidar Batsov
How would you suggest running an nREPL server with clj? I want to use the new functionality to just inject nREPL and some middleware as deps and start a REPL server that CIDER could connect to. Basically I want to use it do something like: lein update-in :dependencies conj \[org.clojure/tools.nrep

Re: [ANN] clojure tools 1.9.0.315, tools.deps.alpha 0.5.342

2018-01-24 Thread Bozhidar Batsov
s is a way to create a > main args alias so that may come in handy if it is possible to do it > without a script and embed it in the shared aliases. > > > On Jan 24, 2018, at 6:20 AM, Bozhidar Batsov wrote: > > How would you suggest running an nREPL server with clj? I want to

Re: [ANN] clojure tools 1.9.0.315, tools.deps.alpha 0.5.342

2018-01-24 Thread Bozhidar Batsov
nd could declare > tools.nrepl and cider-nrepl as deps itself. Then you would have basically > one thing you can add and run. > > On Wed, Jan 24, 2018 at 8:12 AM, Bozhidar Batsov > wrote: > >> Yeah, I was thinking exactly of this - passing some deps as command-line >>

Re: 2018 State of Clojure Community Survey is now open!

2018-01-27 Thread Bozhidar Batsov
What do you mean under "namespace" improvements? (that was one of the areas we could pick the importance of improvements for) I assumed this means making the `ns` macro simpler, as I know many people can't use it without consulting its documentation, but I was curious if it actually meant something

Re: 2018 State of Clojure Community Survey is now open!

2018-01-27 Thread Bozhidar Batsov
18 at 13:47, Alex Miller wrote: > On Sat, Jan 27, 2018 at 2:38 AM, Bozhidar Batsov > wrote: > >> What do you mean under "namespace" improvements? (that was one of the >> areas we could pick the importance of improvements for) I assumed this >> means making the

Re: [ANN] clojure tools 1.9.0.315, tools.deps.alpha 0.5.342

2018-01-27 Thread Bozhidar Batsov
uote cider-nrepl.main)) (cider-nrepl.main/init ["cider.nrepl/cider-middleware"])' As orchard is a dep of cider-nrepl I find it pretty odd. All non-snapshot deps seem to be processed normally. On 24 January 2018 at 19:39, Alex Miller wrote: > Let me know if you find any bugs! :) &

Re: [ANN] clojure tools 1.9.0.315, tools.deps.alpha 0.5.342

2018-01-27 Thread Bozhidar Batsov
t 20:07, Alex Miller wrote: > Can you describe what “not works” looks like? Exception? Wrong dep? > > On Jan 27, 2018, at 11:04 AM, Bozhidar Batsov wrote: > > Well, I might have found one - seems transitive snapshot deps are not > handled properly (at least in the version of tools

  1   2   >