From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Now Emacs emits strange warnings Date: Sun, 5 May 2024 10:43:56 +0200 Message-ID: References: <86plu0erni.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10878"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 05 10:44:38 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 1s3XU6-0002f7-B0 for ged-emacs-devel@m.gmane-mx.org; Sun, 05 May 2024 10:44:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3XTh-0001di-L4; Sun, 05 May 2024 04:44:13 -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 1s3XTY-0001cw-IQ for emacs-devel@gnu.org; Sun, 05 May 2024 04:44:04 -0400 Original-Received: from smtp-34.italiaonline.it ([213.209.10.34] helo=libero.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3XTV-0004OU-T7 for emacs-devel@gnu.org; Sun, 05 May 2024 04:44:04 -0400 Original-Received: from [192.168.1.229] ([79.52.197.239]) by smtp-34.iol.local with ESMTPA id 3XTSsQ6Pn4z9K3XTSszoPl; Sun, 05 May 2024 10:43:58 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1714898638; bh=UUU/uyo3mAPMD7CH2z8M5Q3tEQ0dt9ek4UG8ETxZBnE=; h=From; b=wUwB/iuQTOhWuwnUqsPLs+fPMg9VspqUV9kDmTfp4JsbvijG3wm8hfSHSy9OpqW0y IVlOJeXx0/7/KonwJY8uvP2GQCVI1OHdM83gqWLjjvK0ZLYUYKiWTCxsPIMiE3EQ4+ lpwRBwERORrxIyrM+SR9Zda0wRobox7GjFNdqgVti/cRR2mhAeeSLcGTMPWl+q797w e/owhNOBto/tWhzW6LrpxMDje9ikLs7UtwmvxSXQ4QmyIwwpWeSTmf9VY0POFq2h5c TA3nUrfedw2oeuhGZIIOMRX5S0nY91/XuaJTAHL+TkfcEZ/TuYyb4jICFJZsfeEIDq eWojW7oZF2hpw== X-CNFS-Analysis: v=2.4 cv=HPQIFZtv c=1 sm=1 tr=0 ts=663746ce cx=a_exe a=/5UBc2kmLalk1aH6RBHodw==:117 a=/5UBc2kmLalk1aH6RBHodw==:17 a=IkcTkHD0fZMA:10 a=MTtFdMuwGJRoTNBMr0MA:9 a=QEXdDO2ut3YA:10 Content-Language: en-GB, en-US, it In-Reply-To: <86plu0erni.fsf@gnu.org> X-CMAE-Envelope: MS4xfPvXDBrW4QURdag3s3oAhaTIwRDruC95Gp+UNZtqendTiLMJk1x4Z/cPGCXvcGbNxAnGL/cwnn86K9osGhvExlkNjAE/tDKIdPF1IMptvZ5lDG/S0Nx4 WXtDRehQQuZHglxqa/NOkNcwO0sgRUbc8DUfRde3W+SJRyRfCoxKiuFcz9XCdQfTtyA4OjE88a4xHsHWr9E4UBhu0jgSZMIQlc4= Received-SPF: pass client-ip=213.209.10.34; envelope-from=angelo.g0@libero.it; helo=libero.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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:318801 Archived-At: Il 05/05/2024 07:47, Eli Zaretskii ha scritto: >> Date: Sun, 5 May 2024 02:36:32 +0200 >> From: Angelo Graziosi >> >> After building Master on GNU/Linux Mint, at the start Emacs emits >> warnings like these: >> >> Warning (lexical-binding): File >> /Emacs/share/emacs/30.0.50/site-lisp/subdirs.el lacks `lexical-binding' >> directive on its first line >> Warning (lexical-binding): File /Emacs/share/emacs/site-lisp/subdirs.el >> lacks `lexical-binding' directive on its first line >> ... >> >> similar warnings for my init.el, custom.el and for a package from >> ELPA/MELPA (sr-speedbar-20210922). >> >> >> Any idea why this occurs and how to stop that? > > Doesn't happen here, so make sure you are in sync with the latest > master branch, and if you are, "make bootstrap" for a good measure. I have just built Emacs from last master and still there are the warnings when it starts. I had to apply patches similar this one: --- custom.el~ 2023-09-10 00:16:22.101172200 +0200 +++ custom.el 2024-05-05 02:42:31.522942400 +0200 @@ -1,3 +1,4 @@ +;;; custom.el --- Emacs custom file -*- lexical-binding: t -*- (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. and it is a bit annoying. In a forum I met people which have left the the "church" of Emacs in favor of other editor (neovim, VS... etc) after more than 10 years...