From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: missing lexical-binding cookie warning when loading .el files Date: Sat, 04 May 2024 17:22:32 +0800 Message-ID: <874jbe9bjb.fsf@yahoo.com> References: <50E29988-D354-4D10-990F-31828DBE6411@gmail.com> <865xvuixnl.fsf@gnu.org> <5EC17E4B-5690-4393-B674-13F90AFD207D@gmail.com> <874jbeb5vu.fsf@yahoo.com> <87zft69pln.fsf@yahoo.com> <87v83u9olw.fsf@yahoo.com> <86seyyghgt.fsf@gnu.org> <87le4q9evf.fsf@yahoo.com> <86ikzugfao.fsf@gnu.org> <87h6fe9eaa.fsf@yahoo.com> <86edaigd6n.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="1114"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: mattias.engdegard@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 04 11:23:14 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 1s3Bbu-000Abu-Ey for ged-emacs-devel@m.gmane-mx.org; Sat, 04 May 2024 11:23:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3BbY-0000qu-Ap; Sat, 04 May 2024 05:22:52 -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 1s3BbW-0000qi-NR for emacs-devel@gnu.org; Sat, 04 May 2024 05:22:50 -0400 Original-Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3BbV-00087n-00 for emacs-devel@gnu.org; Sat, 04 May 2024 05:22:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1714814566; bh=fQxdd3TAUaE/geKw6n0xDCMgWRSY1NI8+xyv2yDovCk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=J7aobWqyDIPTYBodJZFF5O8Xg3HKdNva4BfSBISbUucQjOufkgHCzElzzbEQyO7yk/39BTphwbjZQ+LPYoD6vdmRWyr0ooxNufl155GS5AAEFb+EeZ/Qbd7zMk8jypxKJa5vIhzbQPytoKwfstvsTtsE8A0lsr6bcfPpetTbVE5l61w7uVyzo0y4pmUKx9OYCtY1F/3CKEnDTcICVZ7TbhZyUI7Lc17E6CBe03k3Ykqk15awvF8kERm8P0KNhpKJY5P8roaRKUcFpPupeCXYMkLZrD5WRaiVuYs0ZrBdkVCe73uiVBQjUIFCM8kZCcXV2ufPjX7Um71on014t/Lrqg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1714814566; bh=0yNTLe3ddBJLgfl84Lb4gPZ6OPDSI9RHscDr4iimoCx=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=d5f+lSwKOKCOYOpTSN1oipCkaSnA9M++bfnDWP4ATRHLQgfWSFXDNrM9bRjSLewLa3+GIvG8bXyorl4UtWIlaC+ff4FVWTqiBJHyYSYYgAboEcXQHpIhjRK4ZCIHNcK6HKmz/uuf0HAGxI3CHX8V1p+pMcibtBOnGiD/F2I3dQsqDYDrGKrr1hbJLhfjMEdXcUPMn3oNQcYB8/9EaCXbwU0rTX2X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original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Sat, 4 May 2024 09:22:46 +0000 Original-Received: by hermes--production-sg3-6f9f87bd85-lp222 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6cae107688e8082e517a98146af91ee6; Sat, 04 May 2024 09:22:40 +0000 (UTC) In-Reply-To: <86edaigd6n.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 04 May 2024 12:05:04 +0300") X-Mailer: WebService/1.1.22256 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.31; envelope-from=luangruo@yahoo.com; helo=sonic307-56.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action 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:318730 Archived-At: Eli Zaretskii writes: > I disagree. I think we shouldn't bug users due to their init files, > not at all. My thoughts are actually with you--I was only attempting to apply Mattias's reasoning, that's all. > So I think at this point we could either (a) exempt all files below > user-emacs-directory, (b) add a database of basenames of files that > should be exempt from these warnings, or (c) a combination of those > two. > > Any other suggestions? I think we should exempt all files that are not `require'd, because interpreted Lisp libraries that are neither lexically bound nor marked as such are the targets of this warning. It's virtually a godsent discriminator, as generated files are never required, while libraries should always be.