GNU bug report logs - #30078
27.0.50; Use lexical-binding for M-:

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Date: Thu, 11 Jan 2018 16:38:01 UTC

Severity: wishlist

Found in version 27.0.50

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: michael_heerdegen <at> web.de, 30078 <at> debbugs.gnu.org
Subject: bug#30078: 27.0.50; Use lexical-binding for M-:
Date: Mon, 19 Mar 2018 22:10:35 +0200
> From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
> Date: Mon, 19 Mar 2018 15:32:23 -0400
> Cc: 30078 <at> debbugs.gnu.org
> 
> lexbind-Elisp language is a strict superset of the
> dynbind-Elisp language and for that reason I don't see any reason other
> than backward compatibility to keep dynbind-Elisp.
> 
> I'm not trying to fool people by "doing it one subtle step at a time",
> I'm only trying to make this switch as painless as possible.  I don't
> yet have a plan for how we'll get rid of dynbind-Elisp and I'm sure
> it'll take many years and several more steps, some of them less subtle
> than others.  Some of the steps I could imagine introducing in the not
> too distant future:
> - finish converting all Emacs's .el files to use lexical-binding:t.
> - emit a warning when opening an Elisp file which doesn't specify
>   `lexical-binding:t' in its local vars.
> - emit a warning when `eval` is called without a nil 2nd arg.

Really?  Get rid of dynamic binding in ELisp?  Why is that a good
idea?  It would mean old code will not run in Emacs for no good
reason.

> It's dynamic binding which is the odd one out

Not for me, it isn't.  Maybe that means _I_ amd the odd one out.




This bug report was last modified 6 years and 24 days ago.

Previous Next


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