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:13:33 -0500 Message-ID: <87leyazcak.fsf@gmail.com> 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="5190"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.7; emacs 29.0.50 To: 54031@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 16 23:23:32 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 1nKShw-0001F8-PT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Feb 2022 23:23:32 +0100 Original-Received: from localhost ([::1]:45724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKShv-0006av-4a for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Feb 2022 17:23:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKShT-0006ae-7i for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2022 17:23:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKShS-0007zC-Mn for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2022 17:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKShS-0007ep-Fh for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2022 17:23: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:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54031 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164505014329369 (code B ref -1); Wed, 16 Feb 2022 22:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Feb 2022 22:22:23 +0000 Original-Received: from localhost ([127.0.0.1]:49647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKSgp-0007dd-EW for submit@debbugs.gnu.org; Wed, 16 Feb 2022 17:22:23 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:52974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKSgo-0007dW-PY for submit@debbugs.gnu.org; Wed, 16 Feb 2022 17:22:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKSgo-0006M0-9z for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2022 17:22:22 -0500 Original-Received: from [2607:f8b0:4864:20::e30] (port=40953 helo=mail-vs1-xe30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKSgm-0007vB-2s for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2022 17:22:22 -0500 Original-Received: by mail-vs1-xe30.google.com with SMTP id m24so4161358vsp.7 for ; Wed, 16 Feb 2022 14:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=F9WAK8RLKF4C9zjdMzeXNXHVbw3+spcmZS8uF4RjiXE=; b=lCWImuoAoa8grpXqR6+DyxrnFZ399yaPTOc+dMDjwr8Dk3r5Lgzt2OMtglsJpR8DMn hbOaNlLHplp/h6r8rZ7Zv59faWXhQrHxbXfge3p17To/0akyDqXmFjcMtiuiRoWqoSv9 T3jr4kdBabJMdVkC4hQFqMgE6K54Ljzyh478mffHjhnQlTRRRuSwd7sTaRX7/kAP4DNh MmrhAWayZrRvZbb3hrdriO2UwdpPCUGbTdMzbfLw4inCbjgcotuITTUglKJ/b8FfsFBX B8X7bUgMmeIPet6RovpM/2OEKQTSE9VkACKu+70L3ykBbV/xRvscbOd3JVrdAJDNysxp +/Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=F9WAK8RLKF4C9zjdMzeXNXHVbw3+spcmZS8uF4RjiXE=; b=a/IIIAWfcAX12pcRI430LYoREE90THdRK1lM6Usbq6clhGU2WjpHDLYq+U5Oy9jw+1 4yMoJjU2BjIW4H+MmGyiUxFerRJeazjqni/MwuDSRbrQIltYkk6DT2a7fEq7TCTsSQQh wiV9m2mxGlHGWUnEdostiHJXQD7sozj2FbaARZ8Dtf7vbXeCv2DKK5wnIHNjq3OgrqvD OFT13T5ywu2iyAqW2CgpzTEoKe0+eE2jOfu30/DuklU4R/uA3Bx0sHkHiF7/jl0E5DkE XrFjdwmoUsnqQk97aO7/rmXnBzQgPrt7kOvgwE9odElgoITmgzlku0r1nf9n2zDS4EYo kt+A== X-Gm-Message-State: AOAM533R0TS3aF62DkpRQICn1ekENKPhzd7RGm0nN+zbnGx3Xs1+nWct djTYdHIZHEV6y47CUkq+uL2P/kGe3v0= X-Google-Smtp-Source: ABdhPJzBQUBJXW/6LTtiM8EK+r7QKPi1wptszpw+bzjziw4gbsuUYG0ZZHQf4OXL9zra8uQsscf4BA== X-Received: by 2002:a05:6102:3e8e:b0:31b:aaec:cece with SMTP id m14-20020a0561023e8e00b0031baaeccecemr375976vsv.42.1645049783965; Wed, 16 Feb 2022 14:16:23 -0800 (PST) Original-Received: from nbook ([2601:82:c200:166d:7a0:14e6:e26:75bd]) by smtp.gmail.com with ESMTPSA id b24sm3649211uaw.1.2022.02.16.14.16.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 14:16:23 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::e30 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::e30; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-vs1-xe30.google.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.978, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:227063 Archived-At: With the following minimal init.el the initial *scratch* buffer does not have lexical binding enabled: (setq initial-buffer t initial-major-mode 'emacs-lisp-mode) Bug, or my misunderstanding? In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.17.4) of 2022-02-16 built on nbook Repository revision: 8737d79be8f82bb12ca12dc1a7de37a4d2875f39 Repository branch: master System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-sound=alsa --with-modules --without-libotf --without-m17n-flt --without-gconf --without-gsettings --with-native-compilation --with-xinput2 --with-pgtk --without-xaw3d --with-sound=no --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix