From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#44854: [PATCH] Add lexical-binding cookie to autoload files Date: Tue, 24 Nov 2020 11:34:04 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000d1c20005b4df64fe" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34902"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca To: 44854@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 24 20:45:05 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 1kheFN-0008vc-Jh for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Nov 2020 20:45:05 +0100 Original-Received: from localhost ([::1]:40348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kheFM-0006kJ-M6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Nov 2020 14:45:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khe5f-0001SF-EW for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2020 14:35:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khe5f-00040L-6y for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2020 14:35:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khe5e-0000ie-MW; Tue, 24 Nov 2020 14:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: monnier@iro.umontreal.ca, bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Nov 2020 19:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44854 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: monnier@iro.umontreal.ca Original-Received: via spool by submit@debbugs.gnu.org id=B.16062464552699 (code B ref -1); Tue, 24 Nov 2020 19:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Nov 2020 19:34:15 +0000 Original-Received: from localhost ([127.0.0.1]:33049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khe4t-0000hT-8g for submit@debbugs.gnu.org; Tue, 24 Nov 2020 14:34:15 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:56350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khe4p-0000hK-O4 for submit@debbugs.gnu.org; Tue, 24 Nov 2020 14:34:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khe4o-0001Ez-2Q for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2020 14:34:11 -0500 Original-Received: from mail-ej1-f51.google.com ([209.85.218.51]:35524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khe4m-0003uz-1p for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2020 14:34:09 -0500 Original-Received: by mail-ej1-f51.google.com with SMTP id f23so30218051ejk.2 for ; Tue, 24 Nov 2020 11:34:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=k99HxjwvtIgbP0JDSIPekIABgbV1E/f5WPZNCDpExig=; b=WXEF6wtZqE/dTR6KKsjaipy7M+IERATXb+Fu6L/w9DLhZ8FI1KG+5NwF++WWTVDxui 930CjODKNAneeIjR8RtGJNU9PRYFmS9aX0tZ8f0ZrhtUzd523KIcgCwYAkLb4zI2lTpx mv7kzfThviKPq2GgbuT2fcDJ+GqNXvzCfKBRUGfM7ECEGYsmfseMp4sujJ28moDrsTKq 8oUOuHrjrPpINqx6z83sQpehpkZQMUXrzQbSBHrMi9OwzWipkhiLqF5w0OYp328Ku6Nr gX8hxix/LgrB6y8BY1EzbetQOrTCEP6r9VaJ+6qLcGNd8nsuTp+EAYia5pL++X3+JMtE xuFQ== X-Gm-Message-State: AOAM533iaOI2cEFhtxmQbyEgQyLcula0V+ycEkVEOVSs1Vft0+OxhGQn jIErdyq1u5qMzB8xE6u2JVjYDutfCSTfLJGPrq21MjQx X-Google-Smtp-Source: ABdhPJwfVKAtTSX+az2Ulihk2kDrxXQEQhxg9+537TG4hOvAdg/0+eECN1WrC3LG+GFOi86ymCkLZ26juY4oXNrRFTs= X-Received: by 2002:a17:906:4e90:: with SMTP id v16mr5710149eju.477.1606246445715; Tue, 24 Nov 2020 11:34:05 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 24 Nov 2020 11:34:04 -0800 Received-SPF: pass client-ip=209.85.218.51; envelope-from=stefankangas@gmail.com; helo=mail-ej1-f51.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:194109 Archived-At: --000000000000d1c20005b4df64fe Content-Type: text/plain; charset="UTF-8" Severity: wishlist Does anyone have any objections to, or see any problems with adding the lexical-binding cookie to autoload files, as in the attached patch? I've tested it, and it works just fine here. --000000000000d1c20005b4df64fe Content-Type: text/x-diff; charset="US-ASCII"; name="0001-Add-lexical-binding-cookie-to-autoload-files.patch" Content-Disposition: attachment; filename="0001-Add-lexical-binding-cookie-to-autoload-files.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: 31e5fd333c9cd3ce_0.1 RnJvbSBjMDQ4YTdmYmZlYTY1MjUyZmYzODU2YjY5NjUxZjdiNmRkMGYyNjgyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5AbWFyeGlzdC5zZT4KRGF0 ZTogVHVlLCAyMCBPY3QgMjAyMCAxNjowNzoyMCArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIEFkZCBs ZXhpY2FsLWJpbmRpbmcgY29va2llIHRvIGF1dG9sb2FkIGZpbGVzCgoqIGJ1aWxkLWF1eC91cGRh dGUtc3ViZGlyczoKKiBsaXNwL2VtYWNzLWxpc3AvYXV0b2xvYWQuZWwgKGF1dG9sb2FkLXJ1YnJp Yyk6IEFk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