From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#44854: [PATCH] Add lexical-binding cookie to autoload files Date: Wed, 25 Nov 2020 20:35:54 +0100 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; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19609"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Kangas , 44854@debbugs.gnu.org, Stefan Monnier To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 25 20:39:07 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 1ki0d9-0004zJ-5z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 20:39:07 +0100 Original-Received: from localhost ([::1]:58894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ki0d8-00076R-82 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 14:39:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ki0b9-0005RG-Pa for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 14:37:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ki0b8-0007UZ-3r for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 14:37:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ki0b7-0007CJ-Us for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 14:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Nov 2020 19:37: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.160633297327610 (code B ref 44854); Wed, 25 Nov 2020 19:37:01 +0000 Original-Received: (at 44854) by debbugs.gnu.org; 25 Nov 2020 19:36:13 +0000 Original-Received: from localhost ([127.0.0.1]:37106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ki0aL-0007BG-3Q for submit@debbugs.gnu.org; Wed, 25 Nov 2020 14:36:13 -0500 Original-Received: from mail-oi1-f174.google.com ([209.85.167.174]:40888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ki0aJ-0007B3-El for 44854@debbugs.gnu.org; Wed, 25 Nov 2020 14:36:12 -0500 Original-Received: by mail-oi1-f174.google.com with SMTP id a130so4079252oif.7 for <44854@debbugs.gnu.org>; Wed, 25 Nov 2020 11:36:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0z1pa26fskDpanx+O4b2u8yEj1HbM5aBcSGFKmygKH0=; b=afnMrKkUsrHfO7ixPRIxtzf95PFuvS5jiZbqH5cCGwBmIW0UIWqGv/tDXeJY44SbED vBs68qN92xvwbgdU6w0MGlZNH8kH6loCNIY12Eyp1ELjX50a67qYD5DnSp0+IVVJ1NP9 bntIXos71M6Ws1eH58432HRGWBP4XZzzh9x10EzzrDP+XJ420GjzNvVySN3E8kkuOMPX iLhid4aiviZwKlPpqzJ+imeIJ795QwbfjwS4G0576iWh5411omqAweu5lETWEscHdGf1 PtBpKivt+QGBhS2nZEe7btq5Kmk8gVW6YnpceJthsv6p8qiG9Zj2d2MiS1iYPGqzDhlk cQNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0z1pa26fskDpanx+O4b2u8yEj1HbM5aBcSGFKmygKH0=; b=I4nJ2oTsc4YYcGANqFWdm6s2W7Rcx/eTnkJVXv4saHkoWDhOiM9m1fbjV1eDIHALrA or+Y3oQwuLoFdLqeOxTz9ujkm6SGMTiZV8JUvGCmjojl0x/v+ZxpvxfNuO9E7NHK4SEy aS2ho6TmR/sNyYL8OOMe1Tz6xCpjvwVB4hNdbEMtP+8FR4tX3sP/sfFiIxqoQOXycaOJ w43tmo25LyRJbas56XZqKbPdOMn77w4NfDt4rZ4FfU6I4nIUzysjjNtKEUqqCwT0X1GW hnO3GYZzOs9KJBQlVTwsAU/K76Vy9Drl8Ujohd95ML9LOjsoODZAjf4VTjTOqGNu4CxC oaTQ== X-Gm-Message-State: AOAM530SY9IvqcUfmOBy+ijZw3VqvlSmyPAC0QHUfaIwrIRTeqxDtUTY BVvrhYtI/0VHPLbN7/6qyjrCrMMKCXUT4dfSE+A= X-Google-Smtp-Source: ABdhPJw57y8hclvChPLP64374C8U/Itz4GKqGyjFcqHjlfQN4r0HyZXi7WmMDp+pkv09v5QJ0GWr3nfV9nNM2H+A1ug= X-Received: by 2002:aca:1b0a:: with SMTP id b10mr3233655oib.9.1606332965660; Wed, 25 Nov 2020 11:36:05 -0800 (PST) In-Reply-To: <837dq9s12u.fsf@gnu.org> 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:194233 Archived-At: Am Mi., 25. Nov. 2020 um 20:13 Uhr schrieb Eli Zaretskii : > > > From: Stefan Monnier > > Cc: stefan@marxist.se, 44854@debbugs.gnu.org > > Date: Wed, 25 Nov 2020 13:56:40 -0500 > > > > > 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? > This is just basic risk management. If you want to flip a nontrivial default, you always first switch all existing users to the new default value explicitly.