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.devel Subject: Re: missing lexical-binding cookie warning when loading .el files Date: Fri, 03 May 2024 20:59:58 +0300 Message-ID: <865xvuixnl.fsf@gnu.org> References: <50E29988-D354-4D10-990F-31828DBE6411@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1719"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 03 20:01:18 2024 Return-path: Envelope-to: ged-emacs-devel@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 1s2xDi-0000Ej-FK for ged-emacs-devel@m.gmane-mx.org; Fri, 03 May 2024 20:01:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2xCb-0004Qq-GI; Fri, 03 May 2024 14:00:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2xCZ-0004Q3-Kd for emacs-devel@gnu.org; Fri, 03 May 2024 14:00:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2xCZ-0006Cu-BA; Fri, 03 May 2024 14:00:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=7DO0GfaEpcgXM9B45g9lLDwe7J7VZAV0m86LxjECujg=; b=Vwk1CCjacpNExeFYl/pm +FksYI//3Bmgir8e6fT0IRQ+NneE5VKdIZCC/DZpWyW8xj+ATcD2jbx2tMG6XuBU1/rG9URUeVhr8 suCVFOeDHk+vjomRhJThAVcxg6M1YaHiK6aHP/69WrKj85edwiaL8LBRYlhvF3oQBJUtEi4KlEbkB +xJ2F0ggW8L2RzTs11ZI4CF6CGu4bygCRWTSrLcMFHNiaePbDEHQCv/g1KObqNmA+ySzPJZPIhz1S XDHTqHkeCmyh+l535bJKiAsiBFZBEPvPORBoaYabfuvUOOCydqeteMtdWiwc3t4qTXPszTPE7ScLX 2hUqqLgn4po2cA==; In-Reply-To: <50E29988-D354-4D10-990F-31828DBE6411@gmail.com> (message from Mattias =?utf-8?Q?Engdeg=C3=A5rd?= on Fri, 3 May 2024 19:28:02 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318699 Archived-At: > From: Mattias EngdegÄrd > Date: Fri, 3 May 2024 19:28:02 +0200 > > There is now a warning about missing -*-lexical-binding:...-*- cookie in .el files being loaded, since not all Lisp code is compiled. The idea is that dealing with the odd warnings now is better than being surprised by sudden change of behaviour in Emacs 31, when lexical-binding will be enabled by default. Please announce this in NEWS, if you didn't already.