From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: Default lexical-binding to t Date: Mon, 4 Nov 2024 11:35:53 +0300 Message-ID: References: <877c9lykpz.fsf@gmail.com> <10694ea0-f2cd-0b2c-e90e-b21291c953c4@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30271"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.12 (2023-09-09) Cc: Stefan Kangas , Jim Porter , Visuwesh , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 04 09:37:06 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 1t7sa8-0007hS-TI for ged-emacs-devel@m.gmane-mx.org; Mon, 04 Nov 2024 09:37:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7sZF-0006Yw-11; Mon, 04 Nov 2024 03:36:09 -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 1t7sZD-0006Yh-AD for emacs-devel@gnu.org; Mon, 04 Nov 2024 03:36:07 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7sZ9-0006uL-Pt for emacs-devel@gnu.org; Mon, 04 Nov 2024 03:36:06 -0500 Original-Received: from localhost ([::ffff:41.75.179.37]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000020192.000000006728876F.003C69B8; Mon, 04 Nov 2024 01:35:58 -0700 Mail-Followup-To: Stefan Monnier , Stefan Kangas , Jim Porter , Visuwesh , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-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:325082 Archived-At: * Stefan Monnier [2024-11-03 16:59]: > > To be clear, here I'm talking only about disabling the _already > > existing_ warnings that we have when byte-compiling, and in the > > mode line. > > I'd first like us to get experience with "lexical-binding defaults to t" > before considering removing the cookie for files. > I would hate having to re-add the cookie if we find out that there are > many more problems than expected and we revert my patch. How can I remain with the file that likes to have global binding? Can I use the negative cookie in that case? -- Jean Louis