Fork me on GitHub
#cider
<
2018-02-25
>
qqq09:02:39

1. I run cider-eval 2. I get an exception. 3. To get on the corresponding lines, I have to click on the file-name/file-number in the cider window. Now, is there a way to move up/down the stack frames (jumping to the right file/line) via cider functions?

qqq12:02:43

Is this github bot thing a new edition? Where can I read about the motivation / rationale behind it? (I'm finding it little annoying.)

dpsutton16:02:27

i brought it up to see if it would encourage new contributors. so far it seems to be encouraging people to leave the channel. probably should turn it off or look for ways to curtail how many notifications are sent

bozhidar17:02:49

I’ve disabled the comment notifications. Let’s see how things are going to be now.

bozhidar17:02:10

> Right now it’s cider-eval-region, anyway to get it back to conver collection?

bozhidar17:02:44

@gganley Ops. Seems we didn’t pay enough attention to this. We’ll have to change one of the two keybindings for sure.

bozhidar17:02:26

> Is there any reason cider-repl-mode derives from fundamental-mode and not prog-mode?

bozhidar17:02:10

That’s typical for special modes that are not intended for editing code directly. Almost all of those derive from fundamental-mode or special-mode.

dpsutton19:02:10

@bozhidar i imagine with the deps.edn stuff becoming more popular we are going to need to be able to interact with edn a bit better. can you remind me of your hesitation to rely on edn.el? was it the peg dependency?

dominicm20:02:32

> I’ve disabled the comment notifications. Let’s see how things are going to be now. I'm gonna have to start reading my emails again, 😛

wusticality21:02:52

@bozhidar @dpsutton unfortunately they use their own custom coding standard setup in cursive, some clojure plugin in intellij

wusticality21:02:14

probably impossible to replicate sanely in emacs - so currently my workflow is edit shit, go to intellij, reformat the file, save .. sucks

wusticality21:02:33

maybe there’s a way to somehow add a post-save hook to have intellij reformat / save the file ugh

wusticality21:02:49

if it were up to me we’d just pass the code through a linter / autoformatter

wusticality21:02:00

but i can’t make that decision here unfortunately

dpsutton21:02:53

There is a way to configure indentation in clojure mode

dpsutton21:02:59

Not sure if it's enough for what you need though

richiardiandrea22:02:52

I would be in favor of integrating custom error parsing and display in emacs so that the same function could be used in inf-clojure as well. Edn can be read and transformed emacs side...this is going to be the norm with prepl I guess.

qqq22:02:01

@bozhidar: precisely what I was looking for; thanks!

wusticality22:02:54

@dpsutton the problem is that cursive does context-aware indentation

wusticality22:02:06

so they will indent specially based on certain kinds of macros etc

dpsutton22:02:18

Cider does as well. And you can customize those that don't

richiardiandrea22:02:32

Problem is that the two context are different and they end up being indented differently :)))

richiardiandrea22:02:05

True story! 😅

wusticality23:02:33

yeah it’s frustrating

wusticality23:02:45

i wish in general that all indentation was based on an autoformatter like golang does