GNU bug report logs - #77883
31.0.50; C-c C-e in *scratch* generates a missing lexical binding cookie warning

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Fri, 18 Apr 2025 02:37:06 UTC

Severity: normal

Merged with 78206

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 78206 <at> debbugs.gnu.org
Subject: Re: bug#78206: 31.0.50;
 false warning "Missing ‘lexical-binding’
 cookie"
Date: Fri, 02 May 2025 14:14:00 +0300
merge 78206 77883
thanks

> Date: Fri, 2 May 2025 11:33:02 +0200
> From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
> 
> When evaluating a narrowed part of buffer, get false "Warning (files): 
> Missing ‘lexical-binding’ cookie".
> 
> Maybe check for something like
> 
> (/= (buffer-size) (- (point-max) (point-min)))
> 
> ?

This is a "feature".  See bug#77883.




This bug report was last modified 16 days ago.

Previous Next


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