Fork me on GitHub
#cider
<
2018-01-20
>
macrobartfast01:01:32

when trying to use cider-20180118.1416 in emacs 24.5.1 I'm getting a 'Symbol's value as variable is void: help-mode-map' error at the prompt.

qqq03:01:21

Two cider questions: 1. is there a wa to tell cider to HIDE "Java" b ydefault for the stackframes 2. When I click on line numbers / file name, I don't wnat it to repalce the "stack frame window", I want it to open in a pre-existing window

dpsutton04:01:06

Yes to the first. At the top of the stack frame are buttons. Click the java one

dpsutton04:01:29

I think you can hit j. Not sure exactly which key. I know p will finger to just project frames

qqq04:01:12

@dpsutton: I meant doing it via init.el so the button is "always auto pressed"

bozhidar08:01:31

> when trying to use cider-20180118.1416 in emacs 24.5.1 I’m getting a ‘Symbol’s value as variable is void: help-mode-map’ error at the prompt.

bozhidar08:01:00

That’s pretty odd. help-mode is a built-in and this should work just fine.

bozhidar08:01:20

Is this just some warning you get when you install the package?

bozhidar08:01:21

> 2. When I click on line numbers / file name, I don’t wnat it to repalce the “stack frame window”, I want it to open in a pre-existing window

bozhidar08:01:45

I don’t think we’ve made this configurable.

qqq08:01:21

@bozhidar: can you please explain what the solutioh to https://github.com/clojure-emacs/cider/issues/2170 is ?

qqq08:01:25

the 's' key does nothing for me

bozhidar08:01:54

Just tested this and it works fine for me. You simply have to go to some line in the browser and press it s. It does the same thing s does in the doc buffers.

qqq10:01:52

@bozhidar: can you tell me what C-h k s returns for you ?

bozhidar10:01:53

s runs the command cider-browse-ns-find-at-point (found in
cider-browse-ns-mode-map), which is an interactive compiled Lisp
function in
'~/projects/emacs.d/elpa/cider-20171216.707/cider-browse-ns.el'.

It is bound to s.

(cider-browse-ns-find-at-point)

Find the definition of the thing at point.

qqq10:01:05

oh wow, this works; nice; thanks!

bozhidar10:01:29

It was bound to something else for you?

qqq10:01:26

yeah, hh-s/body (hydra s -key) ; mostly likely due to evil/lispyville (which I overwrote) having higher priority than cider

qqq13:01:52

the context here is: sending stuff to clojure repl, getting response back, and how to display it: the handler I want: dispalys it in buffer, does NOT insert it, vanishes when I type what I found from digging into the source: (cider-eval-print-handler) unfortunately, when I use that handler, it appears to INSERT INTO BUFFER (modifying the buffer), I don't want that

qqq13:01:07

what is the handler I should be using?

dpsutton15:01:11

@qqq (setq cider-stacktrace-filters '(java)). options are clj, java, repl, tooling and dup in that list

donmullen22:01:54

Have been working on development environment and updated basic dev tools, including emacs packages. Now getting the following on cider-jack-in :

Starting nREPL server via /usr/local/bin/boot -i "(require 'cider.tasks)" -d org.clojure/tools.nrepl\:0.2.13 -d cider/cider-nrepl\:0.17.0-SNAPSHOT cider.tasks/add-middleware -m cider.nrepl/cider-middleware cider repl -s -H :: wait...
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: Classpath conflict: org.clojure/clojure version 1.9.0 already loaded, NOT loading version 1.2.0

donmullen22:01:19

Using boot - not quite sure where the conflict is.

donmullen23:01:01

Seems 17-SNAPSHOT was the problem - rolled back to v16 and pinned cider to melpa-stable.