GNU bug report logs - #15616
24.3; Setting lexical-binding in file's local variables block should trigger a warning

Previous Next

Package: emacs;

Reported by: Ryan <rct <at> thompsonclan.org>

Date: Tue, 15 Oct 2013 00:42:02 UTC

Severity: wishlist

Found in version 24.3

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 15616-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 15616-done <at> debbugs.gnu.org
Subject: Re: bug#15616: 24.3;
 Setting lexical-binding in file's local variables block should
 trigger a warning
Date: Tue, 15 Oct 2013 21:36:28 -0400
Version: 24.4

Ryan wrote:

> I don't think it is very well-known that lexical-binding as a
> file-local variable is special in this way.

Well, it's in the NEWS entry that introduces lexical-binding,
in the variable's doc, and in the elisp manual. 

> Having a warning for a setting of lexical-binding that would have no
> effect would prevent such errors.

Implemented on the first loading of a file with lexical-binding at the
end.




This bug report was last modified 11 years and 223 days ago.

Previous Next


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