GNU bug report logs - #79199
[PATCH] Add 'lexical-binding' cookie in nnrss output

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Fri, 8 Aug 2025 16:13:02 UTC

Severity: normal

Tags: patch

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

Full log


View this message in rfc822 format

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rpluim <at> gmail.com, 79199 <at> debbugs.gnu.org, zsh <at> cs.rochester.edu
Subject: bug#79199: [PATCH] Add 'lexical-binding' cookie in nnrss output
Date: Sun, 10 Aug 2025 15:20:18 +0200
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Cc: Shenghuo Zhu <zsh <at> cs.rochester.edu>, 79199 <at> debbugs.gnu.org
>> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
>> Date: Sun, 10 Aug 2025 12:33:32 +0200
>> 
>> Robert Pluim <rpluim <at> gmail.com> writes:
>> 
>> > stick a
>> >
>> >              (let ((warning-inhibit-types '((files missing-lexbind-cookie))))
>> >
>> > around the loading of the file.
>> 
>> Thanks.  Do you know if we need to have both the fix at write time and
>> the fix at read time?  Because FWIW, with only the fix at write time I
>> don't see any warnings anymore.
>
> The fix at read time is for when Emacs loads a file written by an
> older version of Emacs.  If that could happen (e.g., when Emacs 31 is
> first run after being installed), then we need also the read-time fix.

Ok.  Here is, I think, a complete version.
[0001-Handle-lexical-binding-cookie-in-nnrss-output.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Manuel Giraud

This bug report was last modified today.

Previous Next


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