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 #202 received at 66706 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: dmitry <at> gutov.dev, mattias.engdegard <at> gmail.com, 66706 <at> debbugs.gnu.org,
 monnier <at> iro.umontreal.ca, stefankangas <at> gmail.com
Subject: Re: bug#66706: [PATCH] Automatic elisp dialect insertion
Date: Fri, 27 Oct 2023 05:14:11 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> > Short version of my reply: Emacs users are a different group than Elisp
> > package developers.  Let's help them by forcing a lexical binding cookie
> > in the config file instead of simply making their Emacs potentially not
> > starting up.
>
> If this is about init files, we could instead make processing init
> files assume lexical-binding by default.

That's exactly what we should avoid because it can make Emacs not start
up for init files that require the current default of dynamical binding.

We also should not assume dynamical binding: lexical binding is the
default.  Emacs should not guess: it should ask the user and then add a
cookie.  That's my point.

Michael.




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.