Fork me on GitHub
#cider
<
2015-12-10
>
malabarba07:12:05

@ccann Actually. I think the issue is that you bound the TAB key globally. IIRC, the recommended configuration is to bind it in company-mode-map. That would have avoided your problem (with no additional configuration), because minor-mode maps take precedence over major-mode maps.

malabarba07:12:19

@bbatsov that's a bug in the readme

bozhidar07:12:08

guess we should fix it then simple_smile

martintrojer09:12:16

The debugger in cider 0.10.0 great! Thx!

naomarik10:12:19

@malabarba: not sure how github does notifications on closed issues, I added some comments here: https://github.com/clojure-emacs/cider/issues/1218 would you get an update?

robert-stuttaford10:12:59

@bozhidar: are you aware of anyone making a highlight mode for Clojure or CIDER modes (like hi-lock-mode) that knows how to highlight all the uses of a required ns alias?

bozhidar10:12:07

hmm, why would you do this?

bozhidar10:12:19

don’t you typically want to highlight usages of a var/local?

robert-stuttaford10:12:20

e.g. i point at string in [clojure.string :as string], and emacs highlights all the string/blah in the file

bozhidar10:12:36

something like this definitely doesn’t exist

robert-stuttaford10:12:39

it’s helpful when assessing how nses are coupled together

bozhidar10:12:49

and if it existed it should be in cider ideally

robert-stuttaford10:12:50

right now i have to search for alias/

bozhidar10:12:10

as it can’t work without a running repl anyways

bozhidar10:12:24

you can file a ticket for an enhancement

bozhidar10:12:28

it’s not a bad idea

robert-stuttaford10:12:30

cool, i’ll do so

bozhidar10:12:42

but for me highlighting vars and locals will be even more important

robert-stuttaford10:12:06

yeah. i use hi-lock-mode for that already, works great

bozhidar12:12:46

it doesn’t really work great

bozhidar12:12:54

as it can’t tell apart a var from a local

bozhidar12:12:03

and it cannot handle namespaces

bozhidar12:12:29

I’ve never used something hi-lock-mode because the highlights are primitive and not particularly accurate

bozhidar12:12:42

and I hate partial solutions to problems

naomarik12:12:24

@bozhidar: any idea why projectile-find-file is allowing target/js/app.js to be searched when the whole folder is in gitignore and all the other files in that directory are being ignored?

naomarik12:12:49

tried invalidating cache, making new .git repo, adding to .projectile, restarting emacs etc

naomarik12:12:04

most the files are ignored but a few are leaking through

bozhidar12:12:24

if you’re using caching

bozhidar12:12:36

.gitignore is not factored at all

bozhidar12:12:45

only .projectile

naomarik12:12:46

how would i check this?

naomarik12:12:47

sorry i found it 😉

bozhidar12:12:48

check the value of projectile-enable-caching

bozhidar12:12:04

I’m guessing you’re a windows user

bozhidar12:12:14

generally it’s not needed on unix systems

naomarik12:12:17

so a .projectile file in my project directory -/target should work? i'm on OSX

bozhidar12:12:21

unless you work with huge projects

naomarik12:12:12

yeah still leaking through ;/

naomarik12:12:25

there are many more files it's ignoring just a few aren't

bozhidar12:12:47

you have to reset the cache

bozhidar12:12:52

after changing the config

bozhidar12:12:55

but as I said

bozhidar12:12:01

you probably don’t need caching at all

bozhidar12:12:05

so you can just disable it

naomarik12:12:33

with projectile-invalidate-cache? have been, ill disable caching and see if that works

naomarik12:12:15

must be something spacemacs is doing

naomarik12:12:56

was a caching issue, got it sorted 😉

phil13:12:35

@bozhidar: Did you mention diffs in test output is coming/here?

bozhidar13:12:37

which test output - in the minibuffer or the dedicated buffer?

bozhidar13:12:55

there are small differences in the minibuffer output

phil13:12:56

cider-test-report

bozhidar13:12:10

it shows the ns of the tests

bozhidar13:12:13

as for the report

bozhidar13:12:34

I was us to change to it to support running several test ns-s

bozhidar13:12:40

but this is just a plan right now

phil13:12:36

I'm talking about somehow displaying the difference between actual/expected test output.

phil13:12:49

cider-test-ediff doesn't really work.

bozhidar13:12:02

ah, now I get it

bozhidar13:12:19

I definitely didn’t mention something about this

bozhidar13:12:39

if you have any ideas about improvements - file a ticket

phil13:12:45

In that case, I might do something to support the diffing somehow.

phil13:12:26

perhaps detect if pjstadig/humane-test-output is doing it's thing at the time.

phil13:12:41

(having that on at the moment trips cider up)

phil13:12:56

Does that sound like a sensible approach?

bozhidar13:12:46

never used it

bozhidar13:12:52

so I have no idea what it actually does

phil13:12:03

I'm being told to favour Flare now.

bozhidar13:12:05

but I’m guessing it monkey patches clojure.test

bozhidar13:12:13

which is causing some problems for cider

phil13:12:15

It probably does.

phil13:12:59

I'll investigate more.

phil14:12:11

And send patches if I manage to get something sensible happening.

bozhidar14:12:48

sounds great

j0ni15:12:59

hey @bozhidar is 0.11.0-SNAPSHOT pushed to clojars yet?

malabarba15:12:07

@j0ni: https://clojars.org/cider/cider-nrepl See "Recent versions" to the right 😉

j0ni15:12:33

aye @malabarba thanks, just figured out I have a network issue here