From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 11407@debbugs.gnu.org
Subject: bug#11407: 24.0.96; Doc for lexical binding in Elisp manual
Date: Fri, 04 May 2012 14:05:42 -0400 [thread overview]
Message-ID: <jwvlil7ddu3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <0D926161E319481BA418EA6630D79622@us.oracle.com> (Drew Adams's message of "Fri, 4 May 2012 10:10:55 -0700")
tags 11407 wontfix
thanks
> With the arrival of lexical scoping in Emacs 24, it is even more
> important, not less, that the Elisp manual document `lexical-let(*)'.
Why? I intend to mark lexical-let as obsolete in 24.2.
> (defun foo (arg)
> (lexical-let ((beta (something)))
> #'(lambda () (alpha arg beta))))
> Does the closure here treat ARG as lexically bound by the `defun', or is
> ARG a dynamically bound free var in the lambda? I believe the answer it
The behavior is largely the result of some accidental design decisions
taken years ago in the implementation of lexical-let, and I have no
intention to document the result.
Stefan
next prev parent reply other threads:[~2012-05-04 18:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-04 17:10 bug#11407: 24.0.96; Doc for lexical binding in Elisp manual Drew Adams
2012-05-04 18:05 ` Stefan Monnier [this message]
2012-05-04 18:25 ` Drew Adams
2012-05-04 21:08 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvlil7ddu3.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=11407@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.