[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deprecating 'lexical-binding: nil'
From: |
Steingold |
Subject: |
Re: Deprecating 'lexical-binding: nil' |
Date: |
Thu, 30 Sep 2021 10:18:34 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) |
> * Richard Stallman <ezf@tah.bet> [2021-09-30 02:03:12 -0400]:
>
> We should never remove nonlexical mode. To remove it would break old
> Emacs Lisp programs in a way that is very hard to fix. ...
> This would make old programs useless.
Not really.
I wrote elisp.lisp
(http://clocc.hg.sourceforge.net/hgweb/clocc/clocc/raw-file/tip/src/cllib/elisp.lisp)
years ago to run ELisp code (that uses dynamic bindings)
under Common Lisp (that uses lexical bindings).
(The gist is to explicitly `declare` all variables `special`).
So, at the very least those old emacs lisp programs will still be
usable under CL.
--
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1894
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://jihadwatch.org https://iris.org.il https://memri.org
nobody's life, liberty or property are safe while the legislature is in session
- Re: Declaring 'lexical-binding: nil' obsolete, (continued)