Fork me on GitHub
#cider
<
2015-07-10
>
bozhidar04:07:30

everything AST related is current part of refactor-nrepl, but in due time (hopefully soon) at least some of the AST related functionality will be “promoted” to cider-nrepl

bozhidar04:07:49

so, it will depend on tools.analyzer eventually

bozhidar04:07:44

I was afraid to add this is a dependency initially, as we had no mechanism for dependency isolation

bozhidar04:07:55

and tools.analyzer is used by a lot of tools

bozhidar05:07:13

although I think most of them should isolate its usage

juhoteperi08:07:10

Threading functionality is currently implemented in clj-refactor.el, right? Is there any plans to move those to refactor-nrepl? Would be useful for Vim

benedek09:07:32

hi @juhoteperi, well no plans to do that as you don’t really need an AST to do the threading refactorings

benedek09:07:12

we basically use paredit there to navigate/move the s-exps around

benedek09:07:46

i think @rundis possibly reimplemented these in clojure/cljs for light table tho...

benedek09:07:49

not 100% sure

juhoteperi09:07:12

Yeah I saw those, the threading code is quite light table specific.

benedek09:07:49

i see your point tho

juhoteperi09:07:29

And I would prefer if users wouldn't need to add a third nrepl middleware.

benedek09:07:41

one problem is the lack of ‘paredit’ in clojure. although rundis did quite a bit of work to create one

benedek09:07:55

and there is the reader of course 😉

benedek09:07:17

let me move this conversation to gitter

benedek09:07:29

see what the other refactor guys think...

juhoteperi09:07:31

rewrite-clj looks to work quite nice for threading stuff

benedek09:07:44

fair point that is

pbostrom19:07:15

seems like the behavior of M-. changed in 0.9, Used to be Jump to the definition of a symbol. If invoked with a prefix argument, or no symbol is found at point, prompt for a symbol. but now it seems the behavior is reversed: default is prompt, no prompt when invoked with prefix

pbostrom19:07:11

I guess I preferred not being prompted by default

gtrak19:07:04

(setq cider-prompt-for-symbol nil)

gtrak19:07:03

when I get a prompt, I just cancel, i don't think consistency with elisp is a good thing here, it really breaks flow

nullptr19:07:11

i switched that setting too

enn19:07:31

Agreed … but I’m glad there is an easy switch to get the old behavior.

jcsims20:07:07

ah thanks gtrak and pbostrom that was bothering me, but not enough yet to track down the change in behavior