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.bugs Subject: bug#44854: [PATCH] Add lexical-binding cookie to autoload files Date: Wed, 25 Nov 2020 19:30:20 +0200 Message-ID: <83eekhs5sj.fsf@gnu.org> References: <837dqatsjd.fsf@gnu.org> <83360ytqk3.fsf@gnu.org> <83wny9scmb.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38525"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, 44854@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 25 18:31:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1khydK-0009w9-G6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 18:31:10 +0100 Original-Received: from localhost ([::1]:44558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khydJ-0006tP-Hy for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 12:31:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khydC-0006t1-Jf for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 12:31:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khydC-00026h-AG for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 12:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khydC-00049P-68 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 12:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Nov 2020 17:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44854 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 44854-submit@debbugs.gnu.org id=B44854.160632543315917 (code B ref 44854); Wed, 25 Nov 2020 17:31:02 +0000 Original-Received: (at 44854) by debbugs.gnu.org; 25 Nov 2020 17:30:33 +0000 Original-Received: from localhost ([127.0.0.1]:36849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khyci-00048e-Jr for submit@debbugs.gnu.org; Wed, 25 Nov 2020 12:30:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khycg-00048S-Mw for 44854@debbugs.gnu.org; Wed, 25 Nov 2020 12:30:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48768) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khyca-0001vl-NF; Wed, 25 Nov 2020 12:30:24 -0500 Original-Received: from [176.228.60.248] (port=2738 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1khycU-0002JI-J7; Wed, 25 Nov 2020 12:30:21 -0500 In-Reply-To: (message from Stefan Monnier on Wed, 25 Nov 2020 11:40:03 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194209 Archived-At: > From: Stefan Monnier > Cc: Stefan Kangas , 44854@debbugs.gnu.org > Date: Wed, 25 Nov 2020 11:40:03 -0500 > > > emacs-devel and agree that this is our practical intention in the near > > future. > > I don't think anyone said "near future". > > > Personally, it is not clear to me that we want to switch to > > lexical-binding by default in Emacs 28. > > I'm pretty sure noone suggested Emacs-28 for such a switch. > Lars suggests Emacs-30, and to be honest this discussion is the first > time I see an Emacs version attached to such an idea. I myself hadn't > even started to think about when that could happen (tho I clearly have > thought about how to get there). Then perhaps it isn't yet time to start putting the cookies into files that don't need it, like the autoloads files? > The first step will be to add a warning when a file doesn't come with an > explicit `lexical-binding:` cookie. That's an annoyance I think we should avoid. It shouldn't be needed. It's like having a warning for a problem that will take a long time to get rid of. Bad idea, IMO.