From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#44854: [PATCH] Add lexical-binding cookie to autoload files Date: Wed, 25 Nov 2020 08:23:42 +0100 Message-ID: <877dq92935.fsf@gnus.org> References: <837dqatsjd.fsf@gnu.org> <83360ytqk3.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="20827"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44854@debbugs.gnu.org, monnier@iro.umontreal.ca To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 25 08:24: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 1khp9v-0005Hv-CH for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 08:24:11 +0100 Original-Received: from localhost ([::1]:37876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khp9t-0002sv-UP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 02:24:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khp9l-0002sg-V9 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 02:24:01 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khp9l-0000Mq-Np for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 02:24:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khp9l-0007ZJ-Kd for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 02:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Nov 2020 07:24: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.160628903829084 (code B ref 44854); Wed, 25 Nov 2020 07:24:01 +0000 Original-Received: (at 44854) by debbugs.gnu.org; 25 Nov 2020 07:23:58 +0000 Original-Received: from localhost ([127.0.0.1]:34040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khp9i-0007Z2-5G for submit@debbugs.gnu.org; Wed, 25 Nov 2020 02:23:58 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:34118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khp9g-0007Yo-Ph for 44854@debbugs.gnu.org; Wed, 25 Nov 2020 02:23:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mNxwHddN2cucLWUODxHQ+QdFINlY6qYBKSh9//Ru+xA=; b=sGk/+eQEzv1grdcjyZZ4m6O1cd OdCI96+KJIh+CXkWuioBNQzcvGGhm8i3B3jZNvHoyaYfGr3d1Q/g5t3fZ19UCcJ8uyR9Ky/f+gDnK qUt0gaqtjVZjfbyRElF6t2DXH3XJ2xhosLlxtCZTRbLMqC1mlxvN8PnWAlNWHOWN8eHg=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khp9T-0004cc-J5; Wed, 25 Nov 2020 08:23:49 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUfHxglJRpMSDZY WUzCnHb///86tvQhAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+QLGQY4HBzTRjYAAAGvSURBVDjLbZSB saQgDIYDbgEBLQDiFaCEAvZW+q/pEmAV3rvMLO7km/8PgSgYJ+HpiX1niQPqg7nmYmfR4QmpShwZ MC4iyF9NPKCI6rxUu+ADoijUITof6XUIgAjUFAgAshiDr3cD3coBVuAEICAKANeJAvltb13FagYG tuMBflAoMA3c1asCt7reVror1AVWXb7Fawba2oK6lQ1uSBujQPomt/2t5b8AUBUa2znYqDdJ7xUk mKMpEDbGKf9Ycfhp1UE6alW5i7rLG6zHWx/27AfXgRx/qNVX/gWQ5Zl2jhMA8EGO6FVSPn8oTr8g 5HLlT3yAHkawAv6Uki+awWk92nJxvniwMk5GIgSxSlyYfLxrIDCE3eTy2QsnisOuMrqFi3gpoKlz WEoNne8BwAlbAxcTjyBKex3wBGAEoYN22UvNZr54F8WqYG/1O5BOOmjzeSsyxzp2dw3TCsjRhxkA N0C/gM8VON+Af6ZDjjfRaeqwTkDe+RQJ/wMsJ0kbuMGCAdCCNSlZIggzkE8DxOQTu4QK3GAFcnmG qJQPLLAOHx5i1ual0w+Dvb843yFs4n/BFVwBr38MeAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0x MS0yNVQwNjo1NjoyOCswMDowML0a2v8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTEtMjVUMDY6 NTY6MjgrMDA6MDDMR2JDAAAAAElFTkSuQmCC X-Now-Playing: Modern English's _Mesh & Lace_: "Black Houses" In-Reply-To: (Stefan Kangas's message of "Tue, 24 Nov 2020 13:35:22 -0800") 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:194165 Archived-At: Stefan Kangas writes: > I believe that if we want to have lexical-binding by default, we will at > some point need to begin issuing byte-compiler warnings for files that > do not explicitly say one of "-*- lexical-binding:t -*- or > "-*- lexical-binding:nil -*-". Yup. So adding the cookie to the autoload files is a good idea -- it's unlikely to make a difference, but if does, that's a bug that this change will uncover. And it's better to uncover that now, than when we switch Emacs over to lexical binding on by default. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no