From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: lexical-bindings... is that what we indent? Date: Sun, 05 May 2024 09:18:34 +0100 Message-ID: <87cyq0pt7p.fsf@yandex.com> References: Reply-To: m43cap@yandex.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7558"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (gnu/linux) Cc: emacs-devel To: Pedro Andres Aranda Gutierrez Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 05 10:19:10 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 1s3X5P-0001fo-No for ged-emacs-devel@m.gmane-mx.org; Sun, 05 May 2024 10:19:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3X5G-0007sK-Il; Sun, 05 May 2024 04:18:58 -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 1s3X5A-0007jZ-CK for emacs-devel@gnu.org; Sun, 05 May 2024 04:18:53 -0400 Original-Received: from forward501b.mail.yandex.net ([2a02:6b8:c02:900:1:45:d181:d501]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3X55-00039R-87 for emacs-devel@gnu.org; Sun, 05 May 2024 04:18:52 -0400 Original-Received: from mail-nwsmtp-smtp-production-main-24.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-24.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:a982:0:640:6c4b:0]) by forward501b.mail.yandex.net (Yandex) with ESMTPS id 42DBB60EA6; Sun, 5 May 2024 11:18:37 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-24.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id YIRKnfL9R0U0-BlEKaALA; Sun, 05 May 2024 11:18:36 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1714897116; bh=3lIG9pAHpM7/LRZOARULTSrinebJ/gfZjC3pkLuYMRE=; h=Message-ID:References:Date:Reply-To:Cc:In-Reply-To:Subject:To: From; b=Xttn/t8xH+L6w0KRX6j9wRvoI6AUy1wXePHlgH++mb2h+14U7psx6gdz1VrnytQCL cAm70+5CFmzZRiZXC/o07BfaVBAunDeeiCOBaJmMfTIM1H6XoPhWHApTBYLyIN3b4U 3dG/aJ52PQsBu3LhIpW0oYfg6H5w5tOuO4oxdwWM= Authentication-Results: mail-nwsmtp-smtp-production-main-24.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.com In-Reply-To: (Pedro Andres Aranda Gutierrez's message of "Sun, 5 May 2024 08:45:08 +0200") X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=2a02:6b8:c02:900:1:45:d181:d501; envelope-from=m43cap@yandex.com; helo=forward501b.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:318793 Archived-At: >>>>> Pedro Andres Aranda Gutierrez writes: > Hi ``` =E2=9B=94=EF=B8=8F Warning (lexical-binding): File > /usr/share/emacs/30.0.50/site-lisp/subdirs.el lacks > `lexical-binding' directive on its first line =E2=9B=94=EF=B8=8F Warn= ing --- snip --- > Is that what we intend on every boot? Please, no. Early days. I expect (hope?) these warnings will decrease over time as adjustments are made. One thing that does concern me is that some (many?) users use packages directly from a git clone, without "installing" them. One that I use is slime, which contains an autoloads .el file with no lexical binding and a 'no-byte-compile' set to `t'. I am sure that are other similar examples. Unless such files are exempted the user will have no way of switching off the warnings unless they adjust their 'warning-minimum-level', which is not always a good thing to do. Colin. =20=20=20