GNU bug report logs - #54031
29.0.50; *scratch* buffer defaults to dynamic scoping when initial-major-mode 'emacs-lisp-mode

Previous Next

Package: emacs;

Reported by: No Wayman <iarchivedmywholelife <at> gmail.com>

Date: Wed, 16 Feb 2022 22:23:02 UTC

Severity: normal

Tags: notabug

Found in version 29.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: No Wayman <iarchivedmywholelife <at> gmail.com>
Cc: 54031 <at> debbugs.gnu.org
Subject: Re: bug#54031: 29.0.50; *scratch* buffer defaults to dynamic
 scoping when initial-major-mode 'emacs-lisp-mode
Date: Wed, 16 Feb 2022 23:30:39 +0100
No Wayman <iarchivedmywholelife <at> gmail.com> writes:

> With the following minimal init.el the initial *scratch* buffer does
> not have lexical binding enabled:
>
> (setq initial-buffer t

This variable doesn't seem to exist (in Emacs 29).

>      initial-major-mode 'emacs-lisp-mode)
>
> Bug, or my misunderstanding?

emacs-lisp-mode defaults to dynamic binding, so this sounds like it's
working as designed.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 148 days ago.

Previous Next


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