GNU bug report logs - #20640
24.5; lexical-binding should work like a normal file-local variable

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Sun, 24 May 2015 10:21:03 UTC

Severity: wishlist

Tags: wontfix

Merged with 10605, 15849

Found in versions 24.3.50, 24.5

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 20640 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Philipp Stephani <p.stephani2 <at> gmail.com>,
 Daniel Colascione <dancol <at> dancol.org>, 20640 <at> debbugs.gnu.org
Subject: Re: bug#20640: 24.5;
 lexical-binding should work like a normal file-local variable
Date: Tue, 26 May 2015 16:53:08 -0400
Stefan Monnier wrote:

>> A few years ago, we said (IIUC) it was desirable:
>> http://debbugs.gnu.org/10605
>
> Well, *you* said, but *we* didn't, IIUC.

Hah, true enough, although IMO you were a least a little more ambiguous in

>> http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00543.html


Anyway:

> For me, as long as we intend to allow running .el files without
> byte-compiling them, I think allowing lexical-binding to be specified at
> the end of the file would be a design mistake.

Even if the code were to check for "coding:" (which we already have to
scan the end of the file for) and "lexical-binding:" in the same pass?




This bug report was last modified 5 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.