GNU bug report logs - #77679
[PATCH] recentf, abbrev: insert a lexical-binding cookie

Previous Next

Package: emacs;

Reported by: Arsen Arsenović <arsen <at> aarsen.me>

Date: Wed, 9 Apr 2025 12:24:02 UTC

Severity: normal

Tags: notabug, patch, wontfix

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Arsen Arsenović <arsen <at> aarsen.me>
Cc: 77679 <at> debbugs.gnu.org
Subject: Re: bug#77679: [PATCH] recentf,
 abbrev: insert a lexical-binding cookie
Date: Wed, 09 Apr 2025 16:10:49 +0300
tags 77679 notabug wontfix
close 77679

> Cc: Arsen Arsenović <arsen <at> aarsen.me>
> Date: Wed,  9 Apr 2025 14:21:06 +0200
> From:  Arsen Arsenović via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> * lisp/recentf.el (recentf-save-file-header): Change default
> header to include a lexical-binding cookie.
> * lisp/abbrev.el (write-abbrev-file): Insert a lexical-binding
> cookie into abbrev files.
> ---
> This fixes a few lexical-binding warnings I noticed when updating Emacs
> today.

Thanks, but sorry, no.  We cannot make this change, definitely not as
a means to avoid this new warning, because there are gazillions of
such files out there, and we cannot possibly annoy users who will
upgrade to Emacs 31 due to these files.

We should instead disable the warning when these files are loaded.
The warning is for Lisp programs written by users, not for snippets of
Lisp written by Emacs itself for its own consumption.

I'm therefore closing this non-bug.




This bug report was last modified 101 days ago.

Previous Next


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