volrath / spiral

Emacs Clojure IDE based on UNREPL
GNU General Public License v3.0
149 stars 6 forks source link

unexpected spiral-eval-top-level-form (C-c C-c) result #13

Closed sogaiu closed 1 year ago

sogaiu commented 5 years ago

Using 907b979 with emacs 26.1, at a spiral prompt, C-c C-c (spiral-eval-top-level-form) for:

(shuffle (range 10 50))

with point at various places in and after the expression, the result is consistently:

(10 11 12 13 14 15 16 17 18 19 ...)

With point after the expression, C-x C-e yields relatively random-looking things like:

[32 47 44 39 14 43 21 30 10 11 ...]

Perhaps detection of the form to evaluate is not quite working for spiral-eval-top-level-form?