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 20:22:12 +0200 Message-ID: <83a6v5s3e3.fsf@gnu.org> References: <837dqatsjd.fsf@gnu.org> <83360ytqk3.fsf@gnu.org> <83wny9scmb.fsf@gnu.org> <83eekhs5sj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33916"; 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 19:23:13 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 1khzRg-0008jx-S2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 19:23:12 +0100 Original-Received: from localhost ([::1]:51650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khzRf-000072-Qp for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 13:23:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khzRW-00006Y-RA for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 13:23:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53619) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khzRW-0000lL-KX for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 13:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khzRW-0005Ml-Fc for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 13:23: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 18:23: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.160632854020563 (code B ref 44854); Wed, 25 Nov 2020 18:23:02 +0000 Original-Received: (at 44854) by debbugs.gnu.org; 25 Nov 2020 18:22:20 +0000 Original-Received: from localhost ([127.0.0.1]:36932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khzQq-0005La-4h for submit@debbugs.gnu.org; Wed, 25 Nov 2020 13:22:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khzQo-0005LL-2S for 44854@debbugs.gnu.org; Wed, 25 Nov 2020 13:22:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49836) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khzQh-0000hf-P9; Wed, 25 Nov 2020 13:22:12 -0500 Original-Received: from [176.228.60.248] (port=1923 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1khzQh-0002bK-2x; Wed, 25 Nov 2020 13:22:11 -0500 In-Reply-To: (message from Stefan Monnier on Wed, 25 Nov 2020 12:54:39 -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:194216 Archived-At: > From: Stefan Monnier > Cc: stefan@marxist.se, 44854@debbugs.gnu.org > Date: Wed, 25 Nov 2020 12:54:39 -0500 > > > Then perhaps it isn't yet time to start putting the cookies into files > > that don't need it, like the autoloads files? > > I think it would be good to aim for Emacs-28 being distributed with all > *its* .el files as well as the Elisp files it generates using > `lexical-binding:t`. That's why I'm in favor of adding this cookie to > the autoload files now. What's the rationale? Why not leave it without the cookie, right until the time we turn lexical-binding on by default?