From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66706: [PATCH] Automatic elisp dialect insertion Date: Wed, 25 Oct 2023 10:56:50 -0400 Message-ID: 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> <87h6mf1k43.fsf@yahoo.com> <87cyx227gx.fsf@yahoo.com> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13971"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 66706@debbugs.gnu.org, Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , stefankangas@gmail.com To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 25 16:59:48 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 1qvfMJ-0003SX-VZ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Oct 2023 16:59:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvfM9-0000I9-9X; Wed, 25 Oct 2023 10:59:37 -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 1qvfM4-0000HF-D7 for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 10:59:33 -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 1qvfM4-000060-3h for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 10:59:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvfMY-0007tP-1d for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 11:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Oct 2023 15:00:01 +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.169824598130287 (code B ref 66706); Wed, 25 Oct 2023 15:00:01 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 25 Oct 2023 14:59:41 +0000 Original-Received: from localhost ([127.0.0.1]:59770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvfMD-0007sR-4c for submit@debbugs.gnu.org; Wed, 25 Oct 2023 10:59:41 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:24159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvfM8-0007sB-H7 for 66706@debbugs.gnu.org; Wed, 25 Oct 2023 10:59:39 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9A922807D7; Wed, 25 Oct 2023 10:59:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1698245939; bh=WGrkMThpSnVQscD6AMdKDzBtfhpfaU4DuAG2fFwcWB4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=JTfyR2RN8mUErOOlSj7tV2itqmA/wB0ixCgsMl2Mbo2NpQW3Fkzixffb14Xeamrja Y2yPPi0adlW9swkdFe100q7jrWuMnqGP1DqdtJWeR+g8aIgQVHFMVyDfuRUrqhxDt4 vwKsQ9G3Ss2B4dqME/gPaZL2IogcVQk3b45MmHMTlvEQa/zZKLv2rbtq58JUuE32yz ggYwavIti4nVGlJ5/E7Rb1DdjwfSMGCCWk6/ibZ/l2aafpWXtEkFix5xZd9IYs8CxL aNVqjyT1dkpEhkz5LVCcg+c1lR8+Y1Ymjsho5IIMoZ4Xv6iDvonNLPHUODPZEvD93r 8tjLljancV07A== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 0987780409; Wed, 25 Oct 2023 10:58:59 -0400 (EDT) Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DF3C712016C; Wed, 25 Oct 2023 10:58:58 -0400 (EDT) In-Reply-To: <87cyx227gx.fsf@yahoo.com> (Po Lu's message of "Wed, 25 Oct 2023 20:48:46 +0800") 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:273187 Archived-At: > OK, and why is it such a reply does not suffice? And why would any > measure short of initializing lexical-binding to t eliminate these > people, when so many have failed in the past? Initializing lexical-binding to t by default is currently not an option, because it would introduce too much breakage. For this reason, we need to take smaller steps that will later make this change possible. > How will the automatic insertion of lexical binding cookies in new files > affect M-: or IELM, both of which already execute lexically bound code? Because it will reduce the occurrence of the case where I copy a chunk of code which relies on dynbind and then incorrectly execute it in lexbind mode in `M-:` or ielm. Stefan