unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Daniel Hackney <dan@haxney.org>,
	Emacs development discussions <emacs-devel@gnu.org>
Subject: RE: Lexical byte-compilation warnings cleanup
Date: Tue, 20 Aug 2013 14:31:00 -0700 (PDT)	[thread overview]
Message-ID: <5cd4c948-8187-4901-8c17-1db4c7288fe7@default> (raw)
In-Reply-To: <jwvli3w9ju9.fsf-monnier+emacs@gnu.org>

> > Excuse me for not following the thread and perhaps not understanding what
> > you say here.  Are you saying that if `lexical-binding' is non-nil then
> > a function parameter whose name is the same as a dynamically scoped
> > variable is "not allowed" or does not refer to that variable?
> 
> Indeed, it does not refer to the dynamically bound variable.

Why is that?  Will this be fixed, or is this the intended design?

> > That would be counter to how Common Lisp works, and I thought (and I hope)
> > that our aim was (is) to use the way Common Lisp marries lexical and
> > dynamic binding as our model.
> 
> Elisp is not Common-Lisp.

That's obvious.  No one will argue the contrary.

But is there a reason not to follow the CL design in general wrt the
cohabitation of lexical and dynamic binding?  Even if things are currently
a work in progress, is that the direction you intend to head, or are you
aiming elsewhere?

Is there a description somewhere of where the design is headed in this
regard?  Is there a spec or a proposal?  What are the intentions?

There was a lot of discussion behind the CL design.  What are the proposals
here and their supporting arguments?



  reply	other threads:[~2013-08-20 21:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-19 23:33 Lexical byte-compilation warnings cleanup Daniel Hackney
2013-08-20  0:01 ` Juanma Barranquero
2013-08-20  0:11 ` Glenn Morris
2013-08-20  5:47 ` Stefan Monnier
2013-08-20 15:25   ` Drew Adams
2013-08-20 20:41     ` Stefan Monnier
2013-08-20 21:31       ` Drew Adams [this message]
2013-08-20 23:21         ` Stefan Monnier
2013-08-21  0:10           ` Drew Adams
2013-08-21  1:53             ` Stephen J. Turnbull
2013-08-21  2:57               ` Drew Adams
2013-08-21  4:49                 ` Stefan Monnier
2013-09-04 20:50                   ` Daniel Hackney
2013-09-15 19:33                   ` Daniel Colascione
2013-08-21  5:19       ` Dmitri Paduchikh
2013-08-21 20:12         ` Stefan Monnier
2013-09-05  3:30 ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2013-08-21 23:12 Barry OReilly
2013-08-22  5:05 ` Dmitri Paduchikh
2013-08-22 20:41   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5cd4c948-8187-4901-8c17-1db4c7288fe7@default \
    --to=drew.adams@oracle.com \
    --cc=dan@haxney.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).