From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#44854: [PATCH] Add lexical-binding cookie to autoload files Date: Wed, 25 Nov 2020 13:56:40 -0500 Message-ID: References: <837dqatsjd.fsf@gnu.org> <83360ytqk3.fsf@gnu.org> <83wny9scmb.fsf@gnu.org> <83eekhs5sj.fsf@gnu.org> <83a6v5s3e3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36722"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: stefan@marxist.se, 44854@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 25 19:58:28 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 1khzzo-0009Sn-EL for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 19:58:28 +0100 Original-Received: from localhost ([::1]:53990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khzzn-0007Df-CD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 13:58:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khzyQ-00062K-L5 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 13:57:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53669) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khzyQ-0005Uc-Ch for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 13:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khzyQ-00069l-BM for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 13:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Nov 2020 18:57: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.160633061023647 (code B ref 44854); Wed, 25 Nov 2020 18:57:02 +0000 Original-Received: (at 44854) by debbugs.gnu.org; 25 Nov 2020 18:56:50 +0000 Original-Received: from localhost ([127.0.0.1]:36982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khzyE-00069L-99 for submit@debbugs.gnu.org; Wed, 25 Nov 2020 13:56:50 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khzyC-000698-51 for 44854@debbugs.gnu.org; Wed, 25 Nov 2020 13:56:48 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id BF59244073C; Wed, 25 Nov 2020 13:56:42 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5D8AF44070A; Wed, 25 Nov 2020 13:56:41 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1606330601; bh=/6WJO08vnMfMmB4kYjCZzPzOIEszBsjDhqaP5qYQRxc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=OcpFfztMOj2xSWxqfaLhNFO34jZ07rEfprMLhtI/sX6Uz2ANySWwpdqKzqt5jC8vl 08F+euvkIi3vc29lOghZXrgmvxts2ARGYNhAZqS7NRpDAXjUfJ5Fvz/vo4/uiN8y1h EtH4rbT5okvHjQC7l9mHW72NMzDlOzYk3VqVZH2pzSDnKvMGedNeXlaJu5RI43Qr4p YThHOMViRGl6pqm5e/jY+LrmNDUmZMZIGxTBue4lllUr10IGkB6y/MIdMVDM+ZFHMe RtM0riuUfnCFPuFeQhfZJMJktpKH99mees2ozNKBSLiVxFgVCogcL+TtYJaXS4Phh4 GbvbgyCqtrhFw== Original-Received: from alfajor (69-165-136-52.dsl.teksavvy.com [69.165.136.52]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 1EB75120312; Wed, 25 Nov 2020 13:56:41 -0500 (EST) In-Reply-To: <83a6v5s3e3.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 Nov 2020 20:22:12 +0200") 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:194222 Archived-At: > 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 and so we want to minimize the number of those files until then. That's the motivation also for the proposal to add a warning when the cookie is absent. Stefan