GNU bug report logs - #66706
[PATCH] Automatic elisp dialect insertion

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattias.engdegard <at> gmail.com>

Date: Mon, 23 Oct 2023 17:48:01 UTC

Severity: wishlist

Tags: patch

Full log


Message #91 received at 66706 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 66706 <at> debbugs.gnu.org,
 Mattias Engdegård <mattias.engdegard <at> gmail.com>,
 stefankangas <at> gmail.com
Subject: Re: bug#66706: [PATCH] Automatic elisp dialect insertion
Date: Wed, 25 Oct 2023 10:56:50 -0400
> OK, and why is it such a reply does not suffice?  And why would any
> measure short of initializing lexical-binding to t eliminate these
> people, when so many have failed in the past?

Initializing lexical-binding to t by default is currently not an option,
because it would introduce too much breakage.  For this reason, we need
to take smaller steps that will later make this change possible.

> How will the automatic insertion of lexical binding cookies in new files
> affect M-: or IELM, both of which already execute lexically bound code?

Because it will reduce the occurrence of the case where I copy a chunk
of code which relies on dynbind and then incorrectly execute it in
lexbind mode in `M-:` or ielm.


        Stefan





This bug report was last modified 1 year and 238 days ago.

Previous Next


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