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: Wed, 25 Oct 2023 15:03:12 +0300 Message-ID: <83o7gmkiyn.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> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26974"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, mattias.engdegard@gmail.com, 66706@debbugs.gnu.org, stefankangas@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 25 14:03:47 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 1qvcbz-0006jY-2i for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Oct 2023 14:03:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvcbm-0005YS-2i; Wed, 25 Oct 2023 08:03:34 -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 1qvcbk-0005WU-KE for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 08:03: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 1qvcbk-0006jn-AJ for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 08:03:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvccE-0005f8-EU for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 08:04: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: Wed, 25 Oct 2023 12:04: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.169823542421730 (code B ref 66706); Wed, 25 Oct 2023 12:04:02 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 25 Oct 2023 12:03:44 +0000 Original-Received: from localhost ([127.0.0.1]:57593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvcbw-0005eO-8Q for submit@debbugs.gnu.org; Wed, 25 Oct 2023 08:03:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvcbt-0005eA-LW for 66706@debbugs.gnu.org; Wed, 25 Oct 2023 08:03:42 -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 1qvcbJ-0006eg-Tu; Wed, 25 Oct 2023 08:03:05 -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=/EiSfrSldrgNgeXhCLd/x6arOmpqf56i9VwJ6t8UUT8=; b=a5XnGlesFuUtFydiOWsR avQucM3TYQCUGVVuyivjDGHLapyTNVygifZr1hlvgpFblSZtEuW1aYWCC4YWz7K55G2MScrlDYh33 d/+5ZZ4KYf3lHsOijlv79fBsIiyl1xaQhybgel65Uti3jhV1+IkeeOZlYg8pej0cgbmZqjfwiDdet xiCz25llTYwQg2o19QHdBljvqW4EGgkyRCIPWbZc9IUfO2TKdPuBEfxL+3tWIH3LYWGrGcoRxNhCa rdydZur3wE8QUMyMlUYAxAYSVhTZoG3x0r4+Lnhkq/ixvlE4F6xekQ3wh7R+86JrGnwVxhWdrvv+z PyhSz+Qsd+2DVA==; In-Reply-To: (message from Stefan Monnier on Tue, 24 Oct 2023 22:01:25 -0400) 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:273159 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , Mattias Engdegård > , 66706@debbugs.gnu.org, > stefankangas@gmail.com > Date: Tue, 24 Oct 2023 22:01:25 -0400 > > Just to be clear: the long term goal is to eliminate the dynbind > dialect, or at least make it be an opt-in that requires taking extra > steps, such as adding a cookie to the file, whereas the lexbind dialect > should be the default. Not because dynbind is evil. Not because it > imposes an undue burden on the implementation. > But because having two dialects imposes an undue burden on our users. > Those who read all the docs may not care, but all the others are > vulnerable to the usual "I copied the code from that webpage and it > doesn't work" because the code on that webpage used the other dialect. > > So the question is how to move from here to there in the least > painful way and I believe that inserting this cookie by default is a step > that will make this transition less painful. I thought we already decided on that: we should make lexical-binding the default at some point. Until then, I see no reason why the prominent indication on the mode line should not be enough.