From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: Default lexical-binding to t Date: Fri, 8 Nov 2024 07:29:06 +0100 Message-ID: References: <878qtu7k77.fsf@librehacker.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3EqaQloep5lhWGMO" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25366"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 08 07:30:04 2024 Return-path: Envelope-to: ged-emacs-devel@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 1t9IVQ-0006Nt-9n for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Nov 2024 07:30:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9IUb-0003e8-EQ; Fri, 08 Nov 2024 01:29:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9IUZ-0003dz-SI for emacs-devel@gnu.org; Fri, 08 Nov 2024 01:29:12 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9IUX-0002Bx-HY for emacs-devel@gnu.org; Fri, 08 Nov 2024 01:29:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=pjVkDw2QPD7RhJRoNY68CGG5c7bq90nuyDNH2iTHg7o=; b=uLU2iFLG5LpYJoDHe/jkjcU4Dt nHj5ceFe2hs/o60wxaIKnBm8gyYwuHwRzcSaWFe1ycb8WdORA2Bn6cSLkLnN6JEnnHlK7O33XFvau WTXGGkSFwltT84PFb6UbcZGBNMOIRNuIP4Mg48037uiIrDTmL9HXIG9gGb2D49VhFayDemz+6pJhB jZRl4lbkp7QpM8onuKqgelxV3qlYcnBSJQDEeLTELd2pIeR/0dJwATCvHaZ+mQyMV1U5m3U7NymxO oEXC3KwSnmB8ypz0Sp9KEixvk90+TSUn2h/4J+jNzBt19MeuxPA9AwtHVhMpjpza6qnbrjm0QRok5 h78pyx/A==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1t9IUU-0003cC-8S for emacs-devel@gnu.org; Fri, 08 Nov 2024 07:29:06 +0100 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325253 Archived-At: --3EqaQloep5lhWGMO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 08, 2024 at 12:38:08AM +0000, Stefan Kangas wrote: > Christopher Howard writes: >=20 > > Hi, I just wanted to mention one little thing (feature request?): I > > noticed that, if I include this > > > > ``` ;;; ... -*- lexical-binding: nil -*- ``` > > > > in order to purposefully set the lexical-binding to dynamic =E2=80=94 I= 'm a > > rebel, I guess =E2=80=94 then the mode-line still gives the "/d" a warn= ing > > face. In my theme, that shows up as bright red. But if I set it to "t" > > instead, then I get a "/l" without a warning color. I don't see why, > > if I purposely chose dynamic binding, that Emacs should treat it as a > > bad thing which I need to be warned about. >=20 > Yes, that is on purpose. See (info "(elisp) Coding Conventions"): That sounds counterproductive, IMO. If the user intentionally choses dynamic binding, I'd rather not warn. Cheers --=20 t --3EqaQloep5lhWGMO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZy2vpwAKCRAFyCz1etHa RiC5AJ9l+RSclKnRjCDN2/Vo736apPgwUgCeJe72BjkYyupB68OIuukWSaHXH8U= =DwMz -----END PGP SIGNATURE----- --3EqaQloep5lhWGMO--