Fork me on GitHub
#cider
<
2023-06-19
>
DeepReef1101:06:54

I'm trying to eval a line from the buffer but no keybinding seems to work. I'm in doom emacs, Cider is connected to my logseq plugin and I am able to send a command that works when I type it. But when I'm in the .cljs buffer, I haven't found anything that can eval that same command. In vim iced, I could do that with <leader> e e.

yuhan04:06:46

Are you at the REPL buffer or a source file?

DeepReef1111:06:29

Source file (.cljs)

yuhan13:06:54

Is it just a keybindings issue? Check if manually calling M-x cider-eval-defun works and if cider-mode is enabled

yuhan13:06:20

You can also describe-function (`C-h f` ) to find out what keys a command is bound to

DeepReef1115:06:40

My cursor is on the '(' character. if I yank ( y y ) and paste in the window below, it works. But if I do M-x , cider-eval-defun-at-point, it does nothing. I also tried cider-mode (disable then enable), it doesn't change anything

DeepReef1116:06:28

I also have this warning which doesn't seem to correspond to anything when I click on "More Information", plus I don't see why the connect would work and execute command but would not work in the buffer WARNING: CIDER requires cider-nrepl to be fully functional. Some features will not be available without it!

DeepReef1116:06:51

So I suspect it is not related to my problem

DeepReef1112:06:54

THere's a command (that I already forgot, need to find it back) that when I do it in the .cljs file, it says I'm not connected to a REPL, but I launched cider-connect-cljs from there and the repl under works (the command says it is connected in that window). What am I doing wrong?