abo-abo / lispy

Short and sweet LISP editing
http://oremacs.com/lispy/
1.2k stars 130 forks source link

lispy-eval will interpret comma without backquotes in elisp #595

Open p1llule opened 3 years ago

p1llule commented 3 years ago

Consider the following top expression :

(let ((place '(a b c d e f))
      (n 3))
  (cl-subseq ,place 0 ,n))

eval-expression will return an error : (void-function \,). lispy-eval will return (a b c)

This issue reside in lispy--eval-elisp-form which (fset '\, #'identity)

What is the reasoning with these manipulations of the comma function ?