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: Sat, 04 May 2024 12:05:04 +0300 Message-ID: <86edaigd6n.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31266"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattias.engdegard@gmail.com, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 04 11:05:28 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 1s3BKh-0007tg-BT for ged-emacs-devel@m.gmane-mx.org; Sat, 04 May 2024 11:05:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3BKP-00032d-Sq; Sat, 04 May 2024 05:05: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 1s3BKN-00031h-B9 for emacs-devel@gnu.org; Sat, 04 May 2024 05:05: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 1s3BKN-0004tV-0P; Sat, 04 May 2024 05:05:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=dA0MtULF8eF6AuVAty9FU5IH87XeyPDsrpyt3nteuo8=; b=jK6TzbKTg0ld atTEwH+aRCvZQh1rtTGGhVub05hEexfszbDb1LnjazepuGwJmWE7NlpyzJmqgbJP7jymSN4qt/w6q mIY4TFhnzbij+6+BCnOhxJXiYHh4ydV9ZZEKBMDAM7/YDu5TE4LNjYBi1VF9yiXgeKd66sdfoAg4t wOJfkD3LduO8rvk/76Z0xGL7p9oAq4AswdmGdnCGcRvYhwtCkZsKksBySacpIFqtmsvDsWeHTonxM rU5xJai1+QgcgGRLCtmJ7X7XdBaagfJEoYyvJtoFvtNDRJswcn+J5iePb7izoCeICvcHuMOEgwXLo 2Sl7ClM0KYOYm2Of2xAdVQ==; In-Reply-To: <87h6fe9eaa.fsf@yahoo.com> (message from Po Lu on Sat, 04 May 2024 16:23:09 +0800) 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:318728 Archived-At: > From: Po Lu > Cc: mattias.engdegard@gmail.com, emacs-devel@gnu.org > Date: Sat, 04 May 2024 16:23:09 +0800 > > Eli Zaretskii writes: > > > Those are under user-emacs-directory, right? > > Correct. My point was that presumably the warning is appropriate for at > least the early-init file, and possibly also for the init file, when it > is not generated by such mechanisms as Custom. I disagree. I think we shouldn't bug users due to their init files, not at 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?