unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Philipp Stephani <p.stephani2@gmail.com>, 20640@debbugs.gnu.org
Subject: bug#20640: 24.5; lexical-binding should work like a normal file-local variable
Date: Tue, 26 May 2015 16:53:08 -0400	[thread overview]
Message-ID: <p5wpzvt617.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m2a8wu5lc9.fsf@gmail.com>

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?





  reply	other threads:[~2015-05-26 20:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-24 10:19 bug#20640: 24.5; lexical-binding should work like a normal file-local variable Philipp Stephani
2015-05-25  1:59 ` Stefan Monnier
2015-05-25 20:33   ` Daniel Colascione
2015-05-25 22:55     ` Stefan Monnier
2015-05-26  1:06       ` Glenn Morris
2015-05-26 17:12         ` Stefan Monnier
2015-05-26 20:53           ` Glenn Morris [this message]
2015-05-27  1:49             ` Stefan Monnier
2015-06-21 20:08               ` Philipp Stephani
2015-06-22 15:56                 ` Stefan Monnier
2016-09-11 18:04                   ` Philipp Stephani
2016-09-11 19:25                     ` Eli Zaretskii

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=p5wpzvt617.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=20640@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=p.stephani2@gmail.com \
    /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).