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 15:06: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> <837dq9s12u.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="27615"; 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 21:07:42 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 1ki14n-00070Z-7L for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 21:07:41 +0100 Original-Received: from localhost ([::1]:49136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ki14m-0007zQ-5a for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 15:07:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ki149-0007yN-W3 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 15:07:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ki149-0001eD-O5 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 15:07:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ki149-0007vk-IJ for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 15:07:01 -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 20:07:01 +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.160633481030468 (code B ref 44854); Wed, 25 Nov 2020 20:07:01 +0000 Original-Received: (at 44854) by debbugs.gnu.org; 25 Nov 2020 20:06:50 +0000 Original-Received: from localhost ([127.0.0.1]:37171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ki13y-0007vK-K8 for submit@debbugs.gnu.org; Wed, 25 Nov 2020 15:06:50 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ki13w-0007v8-Qj for 44854@debbugs.gnu.org; Wed, 25 Nov 2020 15:06:49 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 4EBBC44074F; Wed, 25 Nov 2020 15:06:43 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id E123044072A; Wed, 25 Nov 2020 15:06:41 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1606334801; bh=BWd/467kgWQhAk5kBvnlFlpfdckCfBpZkaHh49B7VrI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bPaTjjdz+DZWaFdEeAUGkkGX03p99rvrhH2gjt7nFc6bF8475r9RyQbMv871E4sP9 z6diM7KiYHALFsGwOIhUkzAyOwO3BrlxbI7Q4aSZJi5rHOlGnOEtwktxIuJUhlOEf4 e2scha4ho/uikVD+11HEyn+d+Z08uWbOxraTdO5G0nUxauf1udtLKNEJovMd6zkZ+l GkhUZ0iq09tIOb+yKqy0QV+2QuYEh6emhdkBqOfY2VAaxiPKotOP1hIWVZBo7qLpHD uMdCmdSC4Gog93FHkeb5k+vg3/hmWwHv+zouxLjgiMlaqBCb2e80yIMWZReruWfKX5 1EczNqd7RiFmg== Original-Received: from alfajor (69-165-136-52.dsl.teksavvy.com [69.165.136.52]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A4BCD1202FA; Wed, 25 Nov 2020 15:06:41 -0500 (EST) In-Reply-To: <837dq9s12u.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 Nov 2020 21:12:09 +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:194237 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 > 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. Stefan