Fork me on GitHub
#cider
<
2019-07-18
>
theeternalpulse01:07:08

in cider with evil, what mode would I set the default evil state to emacs so I can use the debug commands (continue, next, etc) without having to press backslash. I tried this (evil-set-initial-state 'cider--debug-mode 'emacs) but it doesn't work.

theeternalpulse01:07:05

when the mode is active I see this show up with C-h m

Enabled minor modes: Aggressive-Indent Async-Bytecomp-Package
Auto-Composition Auto-Compression Auto-Encryption Blink-Cursor *Cider
Cider--Debug* ...

theeternalpulse01:07:04

this seemed to work, (add-hook 'cider--debug-mode-hook #'evil-emacs-state)

theeternalpulse01:07:28

I guess the first one doesn't work well with minor modes

lepistane17:07:12

Hi guys i just recently started playing with deps.edn and clj cli i have a question how do i do a cider-jack-in-cljs to deps + figwheel main template ? there are some indications in it's readme how to do it but u need to change your emacs config which i would rather not do (i use this emacs for a lot of different projects i don't want my config to be project specific) is there a way to jackin ? I tried cider connect but connection just hangs and nothing happens (it could be that i didn't configure template in order to do that) any indication where to go from here would be greatly appreciated

dpsutton18:07:15

Where are you getting the belief you need to change your config? @lepistane

dpsutton18:07:10

Cider jack in cljs should just work. Important that you have figwheel main on the path so often this means using an alias

dpsutton18:07:29

look into dir-locals which allows you to set variables to values but scoped to directories

lepistane18:07:32

so basically if i jack in cljs it should just work without any problem?

dpsutton18:07:38

yes? if its configured such that you can run it from the command line cider should kinda just crank it up just fine

carkh18:07:52

@lepistane you woudln't be under windows would you ?

dpsutton18:07:58

don't use a profile that includes command line args. lets CIDER start up the way it likes

lepistane18:07:08

no no it's ubuntu

dpsutton18:07:11

common issues: is figwheel main in your "main" deps.edn or extra-deps under an alias?

lepistane18:07:43

it's under alias

dpsutton18:07:54

are you including that alias when you jack in?

lepistane18:07:10

no i just tried to jack-in. I moved figwheel dep to 'main' deps when i tried i get "are you sure you want to run cider jack in wihtout clojure project"

dpsutton18:07:27

are you in a project?

lepistane18:07:43

yes in root folder i have deps.edn open

carkh18:07:47

cider version issue maybe ?

lepistane18:07:55

omg let me check

lepistane18:07:00

0.17 al right....... i am far far behind

carkh18:07:09

quite a bit =)

lepistane18:07:35

sorry for the hustle thank you very much i am really not sure how this didn't cross my mind

dpsutton19:07:00

@lepistane did this solve your woes?

practicalli-johnny20:07:16

@lepistane this article describes how I jack-in in to a Clojure CLI tools created ClojureScript project from Spacemacs (just use the normal clojure-jack-in keybindings if using Emacs) http://jr0cket.co.uk/2019/07/CIDER-jack-in-to-Clojure-CLI-projects-from-Spacemacs.html