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 07:56:54 -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> <83v8avjuv8.fsf@gnu.org> 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="38538"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: mattias.engdegard@gmail.com, 66706@debbugs.gnu.org, Stefan Kangas To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 25 13:57:56 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 1qvcWI-0009jJ-S3 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Oct 2023 13:57:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvcVx-0007X4-LG; Wed, 25 Oct 2023 07:57:33 -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 1qvcVw-0007TP-88 for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 07:57: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 1qvcVv-0005EM-Th for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 07:57:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvcWP-0005Tw-Sw for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 07:58:01 -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 11:58: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.169823505721035 (code B ref 66706); Wed, 25 Oct 2023 11:58:01 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 25 Oct 2023 11:57:37 +0000 Original-Received: from localhost ([127.0.0.1]:57578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvcW0-0005TD-RZ for submit@debbugs.gnu.org; Wed, 25 Oct 2023 07:57:37 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:39415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvcVw-0005Sx-TC for 66706@debbugs.gnu.org; Wed, 25 Oct 2023 07:57:36 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 4EE264412FD; Wed, 25 Oct 2023 07:56:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1698235015; bh=XUxR7NxAo5WCotdNBKo+LB9M+NQBTY99gPQNepKqfXI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=UGvrRDdVJBwHBVxw1UpEC+9/DAi495cXOkxf1kZ9JtffBfbk/UqvtVHLf0icKB7GU V8wAp1qmEfCF2OFg71o17HbZxarOJk0A7UxBxgu+6Y8yfc3jtpDnNs+HXKrZUUkBx6 HWQmy9hmy5quatuKusM4wGbqIa+ER8m0bgrvbXcuPPR2dzufCSQcys7If8zl2d8zG5 FNkRNOq84wlGNFkYTRGelbpHVUiU94BL+uDDebjGv0jGtAL1XWGvBloK5WbYyN8cmg BOhujP8gD6MrR5N7JrpoUCTwRWmHIRmedLD1VBUcXQn+yvFOBhFN+5v16WNLPWDzUf iyxadYfZ/iubw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A2212441213; Wed, 25 Oct 2023 07:56:55 -0400 (EDT) Original-Received: from pastel (unknown [45.72.216.111]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 75B4112034B; Wed, 25 Oct 2023 07:56:55 -0400 (EDT) In-Reply-To: <83v8avjuv8.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 Oct 2023 05:31:23 +0300") 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:273157 Archived-At: > enough. It is not Emacs's business to force users into something they > don't want to do. Not inserting a cookie (i.e. what we do now) forces the use of the dynbind dialect. In my experience, most users either don't know which dialect they want or want the lexbind dialect. This is reflected in the fact that almost all the code I find out there, is either using lexbind or is old: the only code still using dynbind is the code that started its life before lexbind existed, pretty much. And this is to be expected: lexical scoping is the standard in virtually all programming languages (e.g. Python, JavaScript, C, C++, Java, C#, Rust, ...) so programmers are much more at ease with that choice. So we currently do "force users into something they don't want to do" and the patch will simply let us do that less often. Stefan