Fork me on GitHub
#cider
<
2018-11-27
>
futuro15:11:23

I'm so grateful for add-missing-libspec! It's so nice to type in some namespace alias or class name and then add it super quick with add-missing-libspec. Saves me so much typing!

simple_smile 4
fiddlerwoaroof18:11:35

Slime has this opt-in feature where you can call something like

(swank:eval-in-emacs '(some code)) 
and get the results of the evaluation (mostly only useful for primitive types.

fiddlerwoaroof18:11:44

Does Cider/NREPL offer anything similar?

bozhidar20:11:51

I never used eval-in-emacs, but I assume the resulting code is evaluated as Emacs Lisp, right?

bozhidar20:11:16

Probably this made a lot more sense for Common Lisp, given how similar it is to Emacs Lisp.

fiddlerwoaroof21:11:26

@bozhidar I use this for things like having emacs pop up a non-echoing password prompt

fiddlerwoaroof21:11:32

(instead of putting passwords in string literals)

fiddlerwoaroof21:11:59

thanks for the pointer to clomacs, it looks like it might help me do what I want to do

michaellindon21:11:06

is there a way to get cider to reformat my code subject to a line length limit

michaellindon21:11:13

i.e. inserting newlines where appropriate,