From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: No Wayman Newsgroups: gmane.emacs.bugs Subject: bug#54031: 29.0.50; *scratch* buffer defaults to dynamic scoping when initial-major-mode 'emacs-lisp-mode Date: Wed, 16 Feb 2022 17:48:20 -0500 Message-ID: <87pmnm8lxh.fsf@gmail.com> References: <87leyazcak.fsf@gmail.com> <874k4yo35c.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19709"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.7; emacs 29.0.50 Cc: 54031@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 16 23:51:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nKT8j-0004tD-7T for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Feb 2022 23:51:13 +0100 Original-Received: from localhost ([::1]:41022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKT8h-00071F-SV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Feb 2022 17:51:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKT8Y-0006x3-QK for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2022 17:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKT8Y-0004ET-GZ for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2022 17:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKT8Y-0008QZ-Dp for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2022 17:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Feb 2022 22:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54031 X-GNU-PR-Package: emacs Original-Received: via spool by 54031-submit@debbugs.gnu.org id=B54031.164505183732359 (code B ref 54031); Wed, 16 Feb 2022 22:51:02 +0000 Original-Received: (at 54031) by debbugs.gnu.org; 16 Feb 2022 22:50:37 +0000 Original-Received: from localhost ([127.0.0.1]:49673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKT82-0008Pi-48 for submit@debbugs.gnu.org; Wed, 16 Feb 2022 17:50:37 -0500 Original-Received: from mail-vk1-f177.google.com ([209.85.221.177]:46636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKT80-0008PW-78 for 54031@debbugs.gnu.org; Wed, 16 Feb 2022 17:50:28 -0500 Original-Received: by mail-vk1-f177.google.com with SMTP id k15so2069676vkn.13 for <54031@debbugs.gnu.org>; Wed, 16 Feb 2022 14:50:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=DMk3X9mb3mCbQURZQtz5w91ed0+lJrOvRf8SADLQam8=; b=LUFq+9MpnEOQ8asIKAT9jRy7mWHdZEQO26iL/e1fsXkqVavaGv4g74pP15TjT5ovlm clhYy1LGmqCvSGwg+Nb/gc6J/C3QNyHmt3o/ISy0bER3vwVhgK7OjjZXMnuUXd4zXYXo u15rcIArw6Jmxc7+tFHk6GtyuZDDUUY1AkfsIrpHE69GcoKp6XTt4nTnSwGMriYwXv+2 xaq1zihz3+Fnk4Qb298+9xiNCzVfZO/LFcsqLF2C3JiQqUDACUhWaEFF8+0Z1iU+20L7 dhX26RuROA/svW+B+35cAo4OFwEPNAslQ4CoByD/kIVE9hUHy6iwSrMUdGgHHkK1b6C2 wttA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=DMk3X9mb3mCbQURZQtz5w91ed0+lJrOvRf8SADLQam8=; b=1na5AR3XBS8WhBN0Am67RFYmUuOX6QRtQ6c0Jpc4Q4P91/UcplrpGXha32tMXu1I8w t7fjgp1T8XJHu7/YShv+Vx66Giu0e8xD7+OrYafsawbbU+EhxGUg2+/hKRr3U2WBSJI1 9pEhvFM5d7+ipnazaWXG9wpLf789Vji583FEX9ojuKq1PLCndHsucZ73WB5ulZ3v6md9 joziRGjIvpw/Rzoq0DMD2z1ta+5vVz7ZvHNiN1VgLHOazLT16wR42PlcGEY8GLUAyw/r 1m6gggNHMv43SqtI57kCHLLE+n9m0eALQCECDxDppl8FVTDAJHJci48VL29iElnbeUBA JBog== X-Gm-Message-State: AOAM5333PD+KMvyqjaMRRsPWIEd6pCpaSoWdwUft8HzKLiTrfKYwkh1f etaRzjznLpXmlE6Wh8EE/fEnwb1kcXA= X-Google-Smtp-Source: ABdhPJwlnNriXCOvA6wYFvQOvbdFcaHJ/7UkW7Zqqse9zTvrfRxYwjbw2kMUR+bo5nICQ+W5bnj88g== X-Received: by 2002:a05:6122:653:b0:330:d5ca:873 with SMTP id h19-20020a056122065300b00330d5ca0873mr1987167vkp.32.1645051822407; Wed, 16 Feb 2022 14:50:22 -0800 (PST) Original-Received: from nbook ([2601:82:c200:166d:7a0:14e6:e26:75bd]) by smtp.gmail.com with ESMTPSA id l18sm4411512uan.7.2022.02.16.14.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 14:50:21 -0800 (PST) In-reply-to: <874k4yo35c.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227065 Archived-At: Lars Ingebrigtsen writes: > No Wayman 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). > Apologies, a typo of initial-buffer-choice on my end. >> 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. I see now after a closer reading of the NEWS.27 entry: > ** Lexical binding is now used by default when evaluating > interactive Elisp. > [...] as well as in > 'lisp-interaction-mode' and 'ielm-mode', used in the "*scratch*" > and > "*ielm*" buffers. Agreed that it sounds like it's working as designed. Sorry for the noise and thanks for your help.