GNU bug report logs - #66706
[PATCH] Automatic elisp dialect insertion

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattias.engdegard <at> gmail.com>

Date: Mon, 23 Oct 2023 17:48:01 UTC

Severity: wishlist

Tags: patch

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: luangruo <at> yahoo.com, mattias.engdegard <at> gmail.com, stefankangas <at> gmail.com,
 66706 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#66706: [PATCH] Automatic elisp dialect insertion
Date: Thu, 26 Oct 2023 08:22:55 +0300
> Date: Wed, 25 Oct 2023 17:07:55 -0700
> Cc: luangruo <at> yahoo.com, 66706 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca,
>  stefankangas <at> gmail.com
> From: Jim Porter <jporterbugs <at> gmail.com>
> 
> On 10/25/2023 12:09 PM, Mattias Engdegård wrote:
> > Only now do we have a compiler warning telling them, which is only effective if (a) people recompile their code when they upgrade Emacs (which they don't need to do because we are almost too good at .elc backward compatibility, and some run their code interpreted all the time) and (b) they look at at the warning and decide to take action.
> 
> Assuming we don't want to flip the default for 'lexical-binding' just 
> yet, would it be possible to warn the user any time they load 
> interpreted code that uses dynamic binding?

We already do: on the mode line.  Doing more would be an annoyance.
E.g., many init files use dynamic binding.




This bug report was last modified 1 year and 238 days ago.

Previous Next


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