emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#11782: closed (24.1; closure is not self-quoting)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#11782: closed (24.1; closure is not self-quoting)
Date: Wed, 29 May 2013 07:08:02 +0000

Your message dated Wed, 29 May 2013 08:05:38 +0100 (BST)
with message-id <address@hidden>
and subject line Re: bug#11782: 24.1; closure is not self-quoting
has caused the debbugs.gnu.org bug report #11782,
regarding 24.1; closure is not self-quoting
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
11782: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11782
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.1; closure is not self-quoting Date: Mon, 25 Jun 2012 19:47:02 +0100 (BST)
I am not exactly sure if this is a bug, a feature or something that is
just undefined.

    (funcall (eval (eval '(let ((var)) (lambda ())))))

works fine, whereas

    (funcall (eval (eval '(let ((lex-var)) (lambda ())) t)))

does not work.

Backtrace:

    Debugger entered--Lisp error: (void-function closure)
      (closure ((lex-var) t) nil)
      eval((closure ((lex-var) t) nil))
      (funcall (eval (eval (quote (let ((lex-var)) (lambda nil))) t)))
      eval((funcall (eval (eval (quote (let ((lex-var)) (lambda nil))) t))))

I am on GNU Emacs 24.1.1 (x86_64-unknown-linux-gnu, GTK+ Version
2.24.10).

        Christopher



--- End Message ---
--- Begin Message --- Subject: Re: bug#11782: 24.1; closure is not self-quoting Date: Wed, 29 May 2013 08:05:38 +0100 (BST)
Stefan Monnier <address@hidden> writes:
>     In Emacs Lisp, such a list is valid as an expression--it evaluates
>     to itself.
>
> Clearly this doc needs to be fixed since it confuses lambda
> expressions and lambda values and while this conflation mostly worked
> in dynamic binding, it does not work any more in the presence of
> closures.  I just installed the patch below.

Thanks a lot!

        Christopher


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]