bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66706: [PATCH] Automatic elisp dialect insertion


From: Eli Zaretskii
Subject: 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@yahoo.com, 66706@debbugs.gnu.org, monnier@iro.umontreal.ca,
>  stefankangas@gmail.com
> From: Jim Porter <jporterbugs@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]