From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Declaring 'lexical-binding: nil' obsolete Date: Sun, 26 Sep 2021 09:20:54 +0800 Message-ID: <87wnn4uo7d.fsf@yahoo.com> References: <87r1dcw8hp.fsf@yahoo.com> <87h7e8w5vm.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33567"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stefan Monnier , Emacs developers To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 26 03:22:22 2021 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 1mUIs2-0008Tu-DL for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Sep 2021 03:22:22 +0200 Original-Received: from localhost ([::1]:55204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUIs1-0002EE-Fw for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Sep 2021 21:22:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUIqs-0001WS-2z for emacs-devel@gnu.org; Sat, 25 Sep 2021 21:21:10 -0400 Original-Received: from sonic304-22.consmr.mail.ne1.yahoo.com ([66.163.191.148]:38975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUIqp-0002qU-92 for emacs-devel@gnu.org; Sat, 25 Sep 2021 21:21:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1632619264; bh=+Q/rMvygY8xs3Vo9LYI0aC868HmdmuZ/nKnoZSJIw2g=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=W54rkjqFewmmuGy4gyyPFkRWpIzRx8KGECP9Ot5ihgQkhZ8mltlex5FjGE9q9111O38f1fLAmQteub7dYtNiFhEQERsiontU9V1uOlIfFTho0u95u3hgVPDOubXvPbbfd43dR2s4PncQq7coagahgTJFD+gRHlWlIBNxgYgbL/Q90TahZMAlCFODDxELBZUd506MkvRPyeR9+0ctIh/G/yTmGTdINZJUH0uJoYQ6KewqfEUR4z4fTfj4PS3AQSDjRknGUhqC3QjJ1xeWWFLxXr7/NTEove0iGcgVxffEk4UtZ0Qy0GBgZ4AD7IlsVfJ8eBN75xoq6/oC0P7Z0vlHXg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1632619264; bh=Vxlq/cmuS1ESbKyWHHYS8MRguMPpsxV5ZtwYDhcfBYP=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=o+zWLTvjlfeWTNq0c9BZqkFfZA1RWtoz6V9qdjwBBTaB1xCitDSvTC2L/NwMkE7urY9B8UwxJjkjlMAm20LoEpaJbJhEizIhyY5K1K2acyCJsHawpAagGj27bIeRhxcf3PsyywcWMJpUvptl4zNFlNvBPWZkVfcuTKex00/axugLVfVQ4FSIPbvBsuluyp+JgI68R7gG4ocAxWozaKHOLrFLEkxQWFU0Kvc5gj4jp1zb2S4d/tD3Qg2nGM5ay67PrOHBjP8rS/RBXNqX9aiAmHxSMTcY4u5bMrNcyCx8vCTUmAMKGTesisch1biehHFTnUc6cAzUo6nmrp/fIeXXAg== X-YMail-OSG: RBeK5WQVM1kb9E7TupV3dPpszlpeyCo3OTYdc9KLyFM_ysF2cIwlQsCXRXP.kU4 9SA0_k9GzyJQDRnJmeC7Mt1UiqpFyznNEyxWgGQVSJBtqkvvbdWT70tAkxNijI.ctt9cVj.Ig90j JkIR.jw1tZEhvEdNQvk8RgnuQPCPXeJ9KGMMUNh8sSCCbYCnKkpQtW5N60tqfdLflp6deqd_ay7O Wm5ACunk9HeL9_64Bqz3MjkKb2xg23PV549cNT8eiUe5Iix1iCfoxNSIhMrM8ESvk9L0PcP0Z8Z1 2cZAM.4HLJcma4q0g6r1cWnM3p.Aa.bFM44rJ8w2p24zPUu5zU_fVni9PWCQw7mJqEzqyM3ot26l KJThgnyslokXFJQQ_tCqb05GkvenbVv3NajLBVC8c439NXd5ZXVJITX0do4_a43IoL8jX8hY7_nc lCRz5EqFPiDwJO7IWG8M.lfCyYclb0GhIk_tBl.AyMWMnC83luwDAj7.1dEViBRgjEev94TDlmf. Wd3g2gzJh4FBxlfPjwVW5bky6Uszqatan5EV1tPMqb4ixA4NkOZZNq76nlOouAa3AqYF0ELBYnFt S4iho.av.eqUFSthynz9Vb.Wo68RxI_TV5KphHhjuapDUR8VcDoMIFjswigiTJODTdZUTWZof9.Z GdvJ_A58vWzfO9YL1nXQFEQ3Xc8xu3XzOOHK2hW4amFdVPuKQk0O.bMsACLfSaNx4bU05VXlF9DU x4Qdm0HJk7Xx4aBMiMdZcVwEEph6UPD1TYiTwgl_9_Yy7xyt4JkouYZNnsVpMzOh_NbcbdZ_FZeF ekwIKim3o8Vg4dwD.Txh.TtyLr6UXHJwrCsbuUFgcK X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sun, 26 Sep 2021 01:21:04 +0000 Original-Received: by kubenode517.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID beabb3b13979095bf589af4b687bbbad; Sun, 26 Sep 2021 01:20:57 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Sat, 25 Sep 2021 17:50:52 -0700") X-Mailer: WebService/1.1.19043 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.148; envelope-from=luangruo@yahoo.com; helo=sonic304-22.consmr.mail.ne1.yahoo.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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.23 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" Xref: news.gmane.io gmane.emacs.devel:275495 Archived-At: Stefan Kangas writes: > I'm sure that we will review those parts of the documentation in due > time. But the "blanket" (not sure why you add this word) obsoletion is > precisely about discouraging the use of the 'lexical-binding:nil' > dialect of Emacs Lisp. Obsoletion is not discouragement! Making something obsolete puts it on the path to removal. > If you read my proposal carefully, I hope it is clear that this > obsoletion mostly just entails our strong recommendation. Support for > 'lexical-binding:nil' will need to be there for the foreseeable future. Yes, but why would it need to be the subject of a byte-compiler warning? Adding a warning to the byte compiler will only cause more confusion, because the documentation doesn't suggest lexical binding in particular. New authors of third-party code who have learned Emacs Lisp from the Eintr will be even more confused, because the byte-compiler is directly behaving in a way inconsistent with the documentation they learned from. Meanwhile, if the byte compiler is left alone while the documentation is updated to reflect the new recommendations, the situation will not be as confusing. > I do not include removing this feature in the plan I propose, and this > is not by accident. But why does the NEWS entry you have proposed include: Third-party code will need to be changed to support 'lexical-binding:t' to run properly on Emacs in the future. > (Note that we already have a warning in the mode-line.) Perhaps it should be made more noticable, at least the first time it is shown? The way it is now, most people will consider it a warning, only an indicator.