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 22:27:40 +0200 Message-ID: <83wny9qj0j.fsf@gnu.org> References: <837dqatsjd.fsf@gnu.org> <83360ytqk3.fsf@gnu.org> <83wny9scmb.fsf@gnu.org> <83eekhs5sj.fsf@gnu.org> <83a6v5s3e3.fsf@gnu.org> <837dq9s12u.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="560"; 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 21:28:10 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 1ki1Ob-000Ab9-FV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 21:28:09 +0100 Original-Received: from localhost ([::1]:36308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ki1Oa-0007W9-Gm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 15:28:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ki1OU-0007Vv-JM for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 15:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53905) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ki1OU-0001gd-CE for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 15:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ki1OU-0008Rp-78 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 15:28: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 20:28: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.160633607232457 (code B ref 44854); Wed, 25 Nov 2020 20:28:02 +0000 Original-Received: (at 44854) by debbugs.gnu.org; 25 Nov 2020 20:27:52 +0000 Original-Received: from localhost ([127.0.0.1]:37218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ki1OK-0008RR-CZ for submit@debbugs.gnu.org; Wed, 25 Nov 2020 15:27:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ki1OJ-0008RF-8o for 44854@debbugs.gnu.org; Wed, 25 Nov 2020 15:27:51 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52436) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ki1OE-0001c7-0v; Wed, 25 Nov 2020 15:27:46 -0500 Original-Received: from [176.228.60.248] (port=1773 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ki1OC-0002zL-Mu; Wed, 25 Nov 2020 15:27:45 -0500 In-Reply-To: (message from Stefan Monnier on Wed, 25 Nov 2020 15:06:40 -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:194239 Archived-At: > From: Stefan Monnier > Cc: stefan@marxist.se, 44854@debbugs.gnu.org > Date: Wed, 25 Nov 2020 15:06:40 -0500 > > >> > What's the rationale? Why not leave it without the cookie, right > >> > until the time we turn lexical-binding on by default? > >> Because when we change the default (not sure what that could be, 2030 > >> maybe?), it will change the way existing files are treated except those > >> that have a `lexical-binding:` cookie. Clearly, this is dangerous > > Dangerous for loaddefs.el? why? > > I was not discussing specifically `loaddefs.el`. > The reason to change it in `loaddefs.el` now rather than later is > because I can't see any benefit to doing it later. That's not a reason good enough in my book, sorry.