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: Declaring 'lexical-binding: nil' obsolete Date: Sun, 26 Sep 2021 09:08:35 +0300 Message-ID: <831r5bq36k.fsf@gnu.org> References: <87r1dcw8hp.fsf@yahoo.com> <87h7e8w5vm.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2623"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 26 08:09:41 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 1mUNM5-0000UN-Ch for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Sep 2021 08:09:41 +0200 Original-Received: from localhost ([::1]:37800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUNM4-0006ua-A7 for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Sep 2021 02:09:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUNL1-0005bZ-Dy for emacs-devel@gnu.org; Sun, 26 Sep 2021 02:08:36 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36684) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUNL1-0005k3-52; Sun, 26 Sep 2021 02:08:35 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3593 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 1mUNKz-0005Xq-OB; Sun, 26 Sep 2021 02:08:35 -0400 In-Reply-To: <87h7e8w5vm.fsf@yahoo.com> (message from Po Lu on Sun, 26 Sep 2021 08:13:49 +0800) 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:275500 Archived-At: > From: Po Lu > Cc: Stefan Monnier , Emacs developers > > Date: Sun, 26 Sep 2021 08:13:49 +0800 > > If it's to prevent new Emacs Lisp authors from inadvertently writing > dynamically-bound code, I suggest to rewrite (eintr)Prevent confusion > and other places in the documentation aimed at new users that seem to > encourage them to write dynamically-bound code. There's no need: we already show with prominent color in the mode line the fact that the code uses dynamic bindings. So people already have the indication which is pretty much in their face, which is much more efficient than any writeup in the manual.