From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Daniel Colascione <dancol@dancol.org>
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: Mon, 25 May 2015 18:55:50 -0400 [thread overview]
Message-ID: <jwvtwv0b73f.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <55638701.9010400@dancol.org> (Daniel Colascione's message of "Mon, 25 May 2015 13:33:05 -0700")
>>> I think the only reason for this is an implementation detail
>>> (lexical-binding is parsed by other code than the other file-local
>>> variables). It would be great to make it consistent with other
>>> variables so that the user doesn't need to care about the difference.
>> Allowing it at the end of the file, would require jumping to the end of
>> the file first, and then starting over from the beginning.
>> That'd be a very bad requirement.
> Why? We're going to have to read that page eventually anyway.
Because we can't read the first page correctly until we know whether it
should be read in lexical-binding mode or in dynamic-binding mode.
Stefan
next prev parent reply other threads:[~2015-05-25 22:55 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 [this message]
2015-05-26 1:06 ` Glenn Morris
2015-05-26 17:12 ` Stefan Monnier
2015-05-26 20:53 ` Glenn Morris
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvtwv0b73f.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=20640@debbugs.gnu.org \
--cc=dancol@dancol.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.