GNU bug report logs - #10605
lexical-binding local variable must be on the first line

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Thu, 26 Jan 2012 06:35:01 UTC

Severity: wishlist

Tags: wontfix

Merged with 15849, 20640

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 #1 received at quiet <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: quiet <at> debbugs.gnu.org
Subject: lexical-binding local variable must be on the first line
Date: Thu, 26 Jan 2012 01:34:26 -0500
Package: emacs
Severity: minor

The lexical-binding local variable must be on the first line of a file
to be fully effective (in uncompiled code). See lisp_file_lexically_bound_p.

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

  "I guess lisp_file_lexically_bound_p should largely be rewritten by
  moving it to load-with-code-conversion/load-source-file-function."

I think it would be good to scan for coding, lexical-binding and mode
all in one go (eg for bug#7169 we need mode and coding at the same
time).




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

Previous Next


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