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 21:12:09 +0200 Message-ID: <837dq9s12u.fsf@gnu.org> References: <837dqatsjd.fsf@gnu.org> <83360ytqk3.fsf@gnu.org> <83wny9scmb.fsf@gnu.org> <83eekhs5sj.fsf@gnu.org> <83a6v5s3e3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22946"; 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 20:13:23 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 1ki0EE-0005py-6g for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 20:13:22 +0100 Original-Received: from localhost ([::1]:60980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ki0ED-0003PW-4M for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 14:13:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ki0Du-0003Nu-Us for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 14:13:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ki0Du-0007sn-E3 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 14:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ki0Du-0006bO-8i for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 14:13: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 19:13: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.160633153725321 (code B ref 44854); Wed, 25 Nov 2020 19:13:02 +0000 Original-Received: (at 44854) by debbugs.gnu.org; 25 Nov 2020 19:12:17 +0000 Original-Received: from localhost ([127.0.0.1]:37064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ki0DB-0006aL-4i for submit@debbugs.gnu.org; Wed, 25 Nov 2020 14:12:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ki0D9-0006a7-6g for 44854@debbugs.gnu.org; Wed, 25 Nov 2020 14:12:16 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50952) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ki0D3-0007nl-5v; Wed, 25 Nov 2020 14:12:09 -0500 Original-Received: from [176.228.60.248] (port=4960 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ki0D2-0000M5-FB; Wed, 25 Nov 2020 14:12:08 -0500 In-Reply-To: (message from Stefan Monnier on Wed, 25 Nov 2020 13:56: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:194227 Archived-At: > From: Stefan Monnier > Cc: stefan@marxist.se, 44854@debbugs.gnu.org > Date: Wed, 25 Nov 2020 13:56: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?