From: Philipp Stephani <p.stephani2@gmail.com>
To: 20640@debbugs.gnu.org
Subject: bug#20640: 24.5; lexical-binding should work like a normal file-local variable
Date: Sun, 24 May 2015 12:19:34 +0200 [thread overview]
Message-ID: <m2a8wu5lc9.fsf@gmail.com> (raw)
The manual
(https://www.gnu.org/software/emacs/manual/html_node/elisp/Using-Lexical-Binding.html)
says about `lexical-binding':
Note that unlike other such variables, this one must be set in the
first line of a file.
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.
In GNU Emacs 24.5.1 (x86_64-apple-darwin14.1.0, NS apple-appkit-1344.72)
of 2015-04-12 on p
Configured using:
`configure --prefix=/usr/local/Cellar/emacs/24.5
--enable-locallisppath=/usr/local/share/emacs/site-lisp
--infodir=/usr/local/Cellar/emacs/24.5/share/info/emacs
--with-file-notification=gfile --with-dbus --with-gnutls --with-rsvg
--with-imagemagick --without-popmail --with-ns
--disable-ns-self-contained'
Important settings:
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
Major mode: Emacs-Lisp
Minor modes in effect:
tooltip-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
(New file)
For this change to take effect revisit file using s-u
Saving file /tmp/foo.el...
Wrote /tmp/foo.el
C-x C-g is undefined
You can run the command `revert-buffer' with s-u
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils warnings help-fns files-x xterm time-date
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify cocoa ns multi-tty emacs)
Memory information:
((conses 16 79278 6322)
(symbols 48 17661 0)
(miscs 40 38 142)
(strings 32 10374 4568)
(string-bytes 1 270725)
(vectors 16 7214)
(vector-slots 8 341033 28254)
(floats 8 62 328)
(intervals 56 188 27)
(buffers 960 14))
next reply other threads:[~2015-05-24 10:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-24 10:19 Philipp Stephani [this message]
2015-05-25 1:59 ` bug#20640: 24.5; lexical-binding should work like a normal file-local variable 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
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=m2a8wu5lc9.fsf@gmail.com \
--to=p.stephani2@gmail.com \
--cc=20640@debbugs.gnu.org \
/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.