Fork me on GitHub
#cider
<
2022-06-21
>
practicalli-john11:06:58

When using CIDER on a Mac (OSX 12) I am unable to evaluate top-level expressions using cider-eval-defun-at-point within a (comment ,,,) expression, the comment expression is evaluated, even though clojure-toplevel-inside-comment-form is set to t (tried in 3 different places) Howerver, the same CIDER version 1.5.0-snapshot (package 20220531.616) on Linux allows for evaluating top-level forms in comments. I wonder what could be causing the difference in behaviour (and how to diagnose it)

practicalli-john11:06:27

I’ve checked the value with describe-variable

clojure-toplevel-inside-comment-form is a variable defined in 'clojure-mode.el'.

Its value is t
Original value was nil 

solf13:06:27

It works with me on whatever the last version of osx is and CIDER 1.5.0-snapshot (package: )

solf13:06:49

I have an outdated cider-nrepl though (v0.26.0)

dpsutton14:06:30

see if you can upgrade clojure-mode?