Package: emacs21
Version: 21.4a+1-2
Severity: normal

Hi,

Evaluating the following form fails on Emacs 21 (both in sarge and sid):

  (setq bar '(2 3 4)
        baz (eval `(list `(t 1) ,@bar)))

This results in the following backtrace:

  Debugger entered--Lisp error: (void-variable \,@bar)
    (list (\` (t 1)) \,@bar)
    eval((list (\` (t 1)) \,@bar))
    (setq bar (quote (2 3 4)) baz (eval (\` ...)))
    eval((setq bar (quote (2 3 4)) baz (eval (\` ...))))
    eval-last-sexp-1(nil)
    eval-last-sexp(nil)
  * call-interactively(eval-last-sexp)

The same code works well with current emacs-snapshot (version
20061209-1); once the form is evaluated, `baz' has the expected value:

  ((t 1) 2 3 4)

Would be nice to fix this for etch, but I don't know if that is
possible...

Thanks.

-- 
Florent


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to