unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Dave Abrahams <dave@boostpro.com>
Cc: emacs-devel@gnu.org
Subject: Re: lexical-binding rationale?
Date: Thu, 12 Jan 2012 15:51:39 -0500	[thread overview]
Message-ID: <mnaa5sskys.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m28vlcuau0.fsf@pluto.luannocracy.com> (Dave Abrahams's message of "Thu, 12 Jan 2012 11:47:35 -0500")

Dave Abrahams wrote:

> I'm sure this has been discussed to death, so please feel free to
> respond with a link, but... can anyone point me to a rationale for
> dynamically altering such a fundamental language behavior on the basis
> of a variable's value?

It's easy to use on a per-file basis, and in the majority of cases
allows the source to be transparently backwards compatible with
older/other versions of Emacs; so why not. Since it's a fait accompli,
discussing alternative ways it might have been done are only going to be
of academic interest.

I never did get an answer to my question about whether the setting HAS
to go in the first line of the file though. I still don't know.

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8610#8



  parent reply	other threads:[~2012-01-12 20:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-12 16:47 lexical-binding rationale? Dave Abrahams
2012-01-12 18:01 ` Alan Mackenzie
2012-01-12 18:50   ` Dave Abrahams
2012-01-12 18:49     ` Alan Mackenzie
2012-01-12 20:51 ` Glenn Morris [this message]
2012-01-12 22:00   ` Stefan Monnier
2012-01-13  7:55     ` Glenn Morris
2012-01-14  2:30       ` Stefan Monnier
2012-01-13  5:17 ` Richard Stallman
2012-01-13 15:28   ` Dave Abrahams
2012-01-13 18:37     ` Stefan Monnier
2012-01-13 19:19       ` Dave Abrahams
2012-01-14  0:59     ` Ted Zlatanov

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=mnaa5sskys.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=dave@boostpro.com \
    --cc=emacs-devel@gnu.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 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).