From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Why is lexical-binding's global value ignored? Date: Mon, 30 Jan 2023 23:19:25 -0500 Message-ID: References: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16596"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomas@tuxteam.de, emacs-devel@gnu.org To: Jean Louis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 31 05:20:19 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 1pMi81-00046w-HE for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Jan 2023 05:20:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMi7F-00059U-Ba; Mon, 30 Jan 2023 23:19:29 -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 1pMi7D-000598-G3 for emacs-devel@gnu.org; Mon, 30 Jan 2023 23:19:27 -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 1pMi7C-0003Xx-7r; Mon, 30 Jan 2023 23:19:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=vJUlLcmRpeFkOGnZM13kSGYNgsxxTw+9Ec7IaZT0pN0=; b=WmogYy/btAFf ir+2Dx3qItO5zuHsPLg2DMEfk1C87uyjLZqmgui6EaXJgKxI2tuypLMboaAvd7wiZd5u9sEj5bxDN MwbX/hO9TynH6RvApl10ORfX1gixdNHgXlHIXqUJgERh/CbwErHPz+TWRHlxH/QL109fx2mX8vWsm LTlDFNLaJYOmWRyE33LX4gR2PuR8KdhbdyIefZGxodCxcy3NjhWBdkS97/lSZkgLFbb+DQoIYOP1J 8qjnkE1207dXSjRqfIoNunKoYEdGvfnqYzngR3jThPRSEmxokw3PGM8cLYgX9/ydQ3bAhBzoL8kYE vG4B1rlgOf3lBb4pIAGM7Q==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1pMi7B-0007ph-Ns; Mon, 30 Jan 2023 23:19:25 -0500 In-Reply-To: (message from Jean Louis on Sun, 29 Jan 2023 12:36:00 +0300) 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:302814 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > 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. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)