Fork me on GitHub
#cider
<
2016-04-05
>
isaac09:04:58

Is cider remove the history file? I lose my history when I restart cider.

maio15:04:41

@isaac: if you want history you should probably set cider-repl-history-file

bozhidar15:04:54

I was just typing this as well simple_smile

bozhidar15:04:04

yeah, history is not saved to a file by default

maio15:04:04

(I have no experience with that, just discovered it :D)

bozhidar15:04:02

@richiardiandrea is this the same problem you were discussing with @benedek on github?

benedek15:04:01

I think the second one is

benedek15:04:14

no idea what’s going on with the first one

maio15:04:27

I'm having trouble with CLJX stuff. When I cider-jack-in and I try to load some cljx file I get No reader function for tag +clj. Any idea what I'm missing?

maio15:04:15

It works OK if I run headless repl manually in my terminal and connect to it with cider-connect

bozhidar15:04:13

cljx or cljc?

bozhidar15:04:26

cljx doesn’t use reader tags

benedek16:04:17

cljx works with a leiningen plugin, right?

benedek16:04:52

if you have the cljx plugin defined in your ~/.lein/profiles.clj you might end up not injecting it when cider-jack-in

benedek16:04:35

hm.. pls ignore previous. but guessing there should be something wrong with that lein plugin which does the magic for cljx

maio16:04:39

@bozhidar: cljx

roberto16:04:07

btw, is there a way to search through the repl history? Something similar to Ctrl-r in the command line?

maio16:04:34

@roberto: try Alt-r

benedek16:04:55

where do you have the cljx plugin defined @maio?

maio16:04:32

@benedek: in my project.clj (`:plugins [[com.keminglabs/cljx "0.6.0"]]`)

benedek16:04:45

it is not in any profile or anything?

maio16:04:49

at top level (right below :license and stuff)

benedek16:04:43

weird… what if you set cider-inject-dependencies-at-jack-in to nil and set up cider-nrepl in your profiles.clj (the old way)

benedek16:04:59

and cider-jack-in again

benedek16:04:22

what is your lein version btw?

richiardiandrea16:04:53

@bozhidar: I think they are both related with boot support for Clojure 1.6.0

richiardiandrea16:04:14

which is not supported by cider/`clj-refactor`

maio16:04:09

@benedek: lein 2.6.1, will try your suggestion

maio16:04:34

hm same error

maio16:04:31

BTW I'm using cider-load-buffer (C-c C-k)

maio16:04:38

I'll try that on some empty/new project. Maybe that's just problem with my current project.

mtnygard16:04:12

Has anyone seen complaints about cider taking a long time to load? In my environment, (require ‘cider) takes more than 30 seconds.

bozhidar17:04:14

can’t imagine what might cause something like this

bozhidar17:04:45

for me its load time is barely noticeable

bozhidar17:04:00

as most functions are autoloaded you don’t really need to require it

bozhidar17:04:04

unless you have some extensions

mtnygard17:04:05

That is how it used to be for me. I don’t recall exactly when it got worse.

bozhidar17:04:24

guess you can use the built-in Emacs profiler

bozhidar17:04:30

to see what exactly is taking so long

bozhidar17:04:45

can’t think of any recent change that might cause something like this

mtnygard17:04:23

I didn’t know about the builtin profiler. I’ll go run that and report back.

mtnygard17:04:58

Looking at the profiler report now. It’s not all that informative. I see require -> load-with-code-conversion -> eval-buffer -> eval-buffer -> require.

mtnygard17:04:16

It doesn’t show any locals, so I don’t know which require’s are taking the time.

mtnygard17:04:22

Got any tips?

pre22:04:29

Is there a way to kill a a cider eval blocked by a core.async operation?

rmuslimov22:04:05

I believe C-c C-b may help

pre22:04:31

That doesn’t help.

pre22:04:11

My bad, that does help. I had a run multiple breaks, apparently. Thanks.