From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Why is lexical-binding's global value ignored? Date: Tue, 31 Jan 2023 15:49:23 +0200 Message-ID: <83edra3jbw.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22593"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bugs@gnu.support, tomas@tuxteam.de, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 31 15:51:51 2023 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 1pMrz9-0005aO-LZ for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Jan 2023 15:51:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMr1b-0004ua-GC; Tue, 31 Jan 2023 08:50:15 -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 1pMr14-0004tE-JO for emacs-devel@gnu.org; Tue, 31 Jan 2023 08:50:11 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMr0x-0007XQ-Lg; Tue, 31 Jan 2023 08:49:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KDZ1w5a2Xo50fs6xPZl4ggSD0b4r460Me1iEvILO8eY=; b=U70oY632PjC8 FNIA+ZMBUoBWHIWlieH0dTh5B4Kvm8cMlTpHTRq5kv7Kn+6und6yBagwmS8OgfRfm3wuyX7pkjPbo SfvY3qdsLdh1504gvVovE6kdiw/EPj547fjXL+oDvJ2bHFmF52+Cbmfgt7yET0TaQzdT66ssiwLG1 TaTbdwpGY5aB5dmeitRzKYhwKA8Yq3FTHfxy7dCNzxAj4TX6cZOZe+kIQtD0LinL8A1kpeAlozo9G oDgA5x+amoA7Sazkfc51olPdDo6xnuS/7+F2Df5ClxPqYS1RYs0qHnYfo3RPsWoeZBngexkG1ROpA At0aPd//7kFLHyoH7c6bhw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMr0p-0002k5-4K; Tue, 31 Jan 2023 08:49:27 -0500 In-Reply-To: (message from Richard Stallman on Mon, 30 Jan 2023 23:19:25 -0500) 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:302828 Archived-At: > From: Richard Stallman > Cc: tomas@tuxteam.de, emacs-devel@gnu.org > Date: Mon, 30 Jan 2023 23:19:25 -0500 > > > Some programs cannot work with lexical binding turned on. > > > Such is the RCD Template Interpolation System for Emacs: > > https://hyperscope.link/3/7/1/3/3/RCD-Template-Interpolation-System-for-Emacs.html > > Sooner or later we should call on the user community to fix programs > to work with lexical binding if possible, and to explicitly specify > which type of binding. > > After a year or two of that, I suggest making the next Emacs release > so that it warns when it loads a file that doesn't explcitly specify > lexical or dynamic. > > A year or two after that. all packages people use will explicitly > specify lexical or not. At that point, we could safely change the > default, if we want to. That is basically the plan, but we are still some years before the end of this journey. Also, people who are interested in this development should bring it up far enough from the beginning of a release cycle, for us to make such a breaking change with enough time for the community to adapt.