From: Ryan <rct@thompsonclan.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 15616@debbugs.gnu.org
Subject: bug#15616: 24.3; Setting lexical-binding in file's local variables block should trigger a warning
Date: Tue, 15 Oct 2013 10:17:51 -0700 [thread overview]
Message-ID: <525D78BF.50602@thompsonclan.org> (raw)
In-Reply-To: <jwvli1vnrqu.fsf-monnier+emacsbugs@gnu.org>
Actually, my testing indicates that the documentation is inaccurate:
lexical-binding can be set via either the first line or a local
variables block, and it will take effect in both cases when the file is
compiled. This is on version 24.3.1. So I guess the documentation just
needs to be updated.
On Mon Oct 14 20:22:32 2013, Stefan Monnier wrote:
>> When compiling and/or loading an emacs lisp file that sets lexical-binding
>> in a local variables section rather than in the first line of the
>> file, a warning should be shown informing that the setting will have no
>> effect.
>
> Agreed, patch welcome,
>
>
> Stefan
next prev parent reply other threads:[~2013-10-15 17:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-15 0:40 bug#15616: 24.3; Setting lexical-binding in file's local variables block should trigger a warning Ryan
2013-10-15 3:22 ` Stefan Monnier
2013-10-15 17:17 ` Ryan [this message]
2013-10-16 3:04 ` Stefan Monnier
2013-10-16 1:36 ` Glenn Morris
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=525D78BF.50602@thompsonclan.org \
--to=rct@thompsonclan.org \
--cc=15616@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.