all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Tomohiro Matsuyama <tomo@cx4a.org>
Cc: emacs-devel@gnu.org
Subject: Re: Should lexical-let use let in the situation lexical-binding is t ?
Date: Fri, 21 Sep 2012 17:18:43 -0400	[thread overview]
Message-ID: <jwvvcf79ivi.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20120922031824.e7f584613ca22d1a7ed32eba@cx4a.org> (Tomohiro Matsuyama's message of "Sat, 22 Sep 2012 03:18:24 +0900")

> By the way, isn't it possible to check if the symbol is declared as special
> or not by accessing declared_special field of the symbol?

Yes, if the variable has been defvar'd already.  But not if the
variable's defvar is in the file we're compiling (and hence hasn't yet
been evaluated), in which case the var will be in
byte-compile-bound-variables instead
(cf. byte-compile-not-lexical-var-p).


        Stefan




      reply	other threads:[~2012-09-21 21:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18 10:28 Should lexical-let use let in the situation lexical-binding is t ? Tomohiro Matsuyama
2012-09-18 12:44 ` Stefan Monnier
2012-09-18 22:42   ` Richard Stallman
2012-09-19  0:41     ` Stefan Monnier
2012-09-19 14:12       ` Richard Stallman
2012-09-19 19:01         ` Stefan Monnier
2012-09-19 22:06         ` Sam Steingold
2012-09-20  3:26           ` Stefan Monnier
2012-09-20 15:06             ` Sam Steingold
2012-09-19  1:20   ` Sam Steingold
2012-09-19  7:43     ` Nix
2012-09-21 18:18   ` Tomohiro Matsuyama
2012-09-21 21:18     ` Stefan Monnier [this message]

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=jwvvcf79ivi.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=tomo@cx4a.org \
    /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.