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.bugs Subject: bug#66706: [PATCH] Automatic elisp dialect insertion Date: Thu, 26 Oct 2023 08:22:55 +0300 Message-ID: <831qdihs9c.fsf@gnu.org> References: <17C83052-7946-45DE-B660-DA7EB82001B0@gmail.com> <83sf61mb54.fsf@gnu.org> <98CD592C-0E82-4795-8168-2B5E597FF7A7@gmail.com> <8334xzlvy9.fsf@gnu.org> <87pm131pq6.fsf@yahoo.com> <83o7gmkiyn.fsf@gnu.org> <83o7gmit1z.fsf@gnu.org> <1AADAFCC-F55E-4FD2-BBC1-3564E52AAEC7@gmail.com> <83bkcmim0i.fsf@gnu.org> <98071F94-880A-4617-8733-EC91E2D4E6D4@gmail.com> <1d059dfe-ca63-7277-e46f-ff1f0e764b01@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="11785"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, mattias.engdegard@gmail.com, stefankangas@gmail.com, 66706@debbugs.gnu.org, monnier@iro.umontreal.ca To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 26 07:23:42 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qvsqL-0002qk-So for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Oct 2023 07:23:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvsqG-0005Ap-KI; Thu, 26 Oct 2023 01:23:36 -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 1qvsqC-0005AR-5o for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 01:23:32 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvsqB-0006OS-SU for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 01:23:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvsqg-0003MI-EC for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 01:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Oct 2023 05:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66706 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 66706-submit@debbugs.gnu.org id=B66706.169829781312850 (code B ref 66706); Thu, 26 Oct 2023 05:24:02 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 26 Oct 2023 05:23:33 +0000 Original-Received: from localhost ([127.0.0.1]:60424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvsq4-0003L3-OV for submit@debbugs.gnu.org; Thu, 26 Oct 2023 01:23:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvsq2-0003Kk-SN for 66706@debbugs.gnu.org; Thu, 26 Oct 2023 01:23:23 -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 1qvspS-0006GM-Ug; Thu, 26 Oct 2023 01:22:46 -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=73bnsJbg7FXXZCoVmfHp2Yua2ed26+bo8yLzadjUMp0=; b=YDyaNInlMO5K4ACB3h+c i3MvhjjaUHbNR3FZabvhL9r/3Y+YePgaG8DHTvlhYE3s3eUAcoyP0K3ues3TqGwPQJh5XH+aEdKAP 46KsE4mQ5+5N9O1x2xTKtjkHEHtMymH/oRTVPkW8B2kzBsX439LQXJNVUMfqjqOmueAPf6E+L+UFJ YYxR++EosQj5N7BC0r87dE08eZAPjCqS2RjjgsBtXrQN4dLBWUjGD3iTNcUR4hMXXnj1FqrMLB2mW FUUzZMDb+VVsX0Rr+DFhYK2k8ZsOPoPHGp4EQgs92/iJdYmd+qHKoJlQxs0Omy9qnt8OEVjGpvRMB p/SM60p0Q9fNXA==; In-Reply-To: <1d059dfe-ca63-7277-e46f-ff1f0e764b01@gmail.com> (message from Jim Porter on Wed, 25 Oct 2023 17:07:55 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273240 Archived-At: > Date: Wed, 25 Oct 2023 17:07:55 -0700 > Cc: luangruo@yahoo.com, 66706@debbugs.gnu.org, monnier@iro.umontreal.ca, > stefankangas@gmail.com > From: Jim Porter > > On 10/25/2023 12:09 PM, Mattias EngdegÄrd wrote: > > Only now do we have a compiler warning telling them, which is only effective if (a) people recompile their code when they upgrade Emacs (which they don't need to do because we are almost too good at .elc backward compatibility, and some run their code interpreted all the time) and (b) they look at at the warning and decide to take action. > > Assuming we don't want to flip the default for 'lexical-binding' just > yet, would it be possible to warn the user any time they load > interpreted code that uses dynamic binding? We already do: on the mode line. Doing more would be an annoyance. E.g., many init files use dynamic binding.