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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: luangruo <at> yahoo.com, mattias.engdegard <at> gmail.com, 66706 <at> debbugs.gnu.org, stefankangas <at> gmail.com
Subject: bug#66706: [PATCH] Automatic elisp dialect insertion
Date: Wed, 25 Oct 2023 19:08:08 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: luangruo <at> yahoo.com,  mattias.engdegard <at> gmail.com,
>   66706 <at> debbugs.gnu.org,  stefankangas <at> gmail.com
> Date: Wed, 25 Oct 2023 11:11:52 -0400
> 
> > Until then, I see no reason why the prominent indication on the mode
> > line should not be enough.
> 
> It's much easier to write code directly in lexbind dialect than to go
> back and change existing code to adapt to the lexbind dialect.

If you think that inserting the cookie is okay, then it should also be
okay to turn lexical-binding on by default.  The effect is the same.

> Of course, maybe I'm not being bold enough and we shouldn't wait: let's
> change the default `lexical-binding` to t right away and just tell
> people to add a `lexical-binding:nil` cookie if they don't know how (or
> don't want to) adjust their code to the new dialect.

If this is what you were arguing for, I could at least understand it.
The measure proposed here I don't even understand.




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.