GNU bug report logs -
#11782
24.1; closure is not self-quoting
Previous Next
Full log
View this message in rfc822 format
>> Could you expand on why you think it's severe?
> I think this issue is severe because the behaviour is odd and follows
> neither other mature Lispy languages nor the reference manual.
I see. So we just disagree on what is considered severe (I expected
something like "this and that common idiom found in those packages fails").
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.
Stefan
--- doc/lispref/functions.texi 2013-01-01 09:11:05 +0000
+++ doc/lispref/functions.texi 2013-05-29 00:16:58 +0000
@@ -196,9 +196,8 @@
@end example
@noindent
-In Emacs Lisp, such a list is valid as an expression---it evaluates to
-itself. But its main use is not to be evaluated as an expression, but
-to be called as a function.
+In Emacs Lisp, such a list is a valid expression which evaluates to
+a function object.
A lambda expression, by itself, has no name; it is an @dfn{anonymous
function}. Although lambda expressions can be used this way
This bug report was last modified 11 years and 362 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.