GNU bug report logs - #74145
31.0.50; Default lexical-binding to t

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Thu, 31 Oct 2024 20:59:02 UTC

Severity: wishlist

Tags: patch

Found in version 31.0.50

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 74145 <at> debbugs.gnu.org
Subject: Re: bug#74145: 31.0.50; Default lexical-binding to t
Date: Sat, 15 Feb 2025 03:28:10 +0000
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> I believe the time has come to change the default dialect.
>> I attached a suggested patch to do that.
>
> OK, before we change the default, I propose the patch below, which
> should not change the behavior at all, but allows users to
>
>     (set-default-toplevel-value 'lexical-binding t)
>
> IOW.  It does "everything" the previous patch did except actually change
> the default.  The remaining step is to change the single line that sets
> the default (currently to nil, then to t) and update the docs.
>
> Any objection?

Makes sense to me.




This bug report was last modified 68 days ago.

Previous Next


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