Subject: bug#77883: closed (Re: bug#77883: 31.0.50; C-c C-e in *scratch* generates a missing lexical binding cookie warning)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 03 May 2025 13:29:02 +0000

Your bug report

#77883: 31.0.50; C-c C-e in *scratch* generates a missing lexical binding cookie warning

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
77883: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77883
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#77883: 31.0.50; C-c C-e in *scratch* generates a missing lexical binding cookie warning
From: Eli Zaretskii <[email-masked]>
To: Stefan Monnier <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked]
Date: Sat, 03 May 2025 16:28:43 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Stefan Monnier <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Sat, 03 May 2025 09:12:32 -0400
> 
> > I prefer the latter solution, as it sounds to me less ad-hoc.  Any
> > objections to installing the below on the master branch?
> 
> LGTM.

Thanks, installed on master, and closing the bug.

> > -settings in the buffer, and if there is no such setting, the buffer
> > -will be evaluated without lexical binding.
> > +settings in the buffer; if there is no such setting, and the
> > +buffer-local value of the variable is nil, the buffer will be
> > +evaluated without lexical binding.
> 
> BTW, this last point is not completely true any more: it depends
> on the `default-toplevel-value`.

Right, fixed.

Subject: 31.0.50; C-c C-e in *scratch* generates a missing lexical binding cookie warning
From: Sean Whitton <[email-masked]>
To: [email-masked]
Date: Fri, 18 Apr 2025 10:35:42 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Found another case.

*scratch* should probably remain under the dynamic binding dialect of
Emacs Lisp until and unless we switch the default.

-- 
Sean Whitton