[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lexical-binding rationale?
From: |
Glenn Morris |
Subject: |
Re: lexical-binding rationale? |
Date: |
Thu, 12 Jan 2012 15:51:39 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
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