From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu 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 08:59:45 +0800 Message-ID: <87pm131pq6.fsf@yahoo.com> References: <17C83052-7946-45DE-B660-DA7EB82001B0@gmail.com> <83sf61mb54.fsf@gnu.org> <98CD592C-0E82-4795-8168-2B5E597FF7A7@gmail.com> <8334xzlvy9.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9900"; 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: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 25 03:00:59 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 1qvSGY-0002R1-OU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Oct 2023 03:00:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvSGA-0004vt-Il; Tue, 24 Oct 2023 21:00: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 1qvSG8-0004vl-QA for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 21:00: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 1qvSG8-00079u-Hy for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 21:00:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvSGc-0005KW-1e for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 21:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Oct 2023 01:01: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.169819563720440 (code B ref 66706); Wed, 25 Oct 2023 01:01:02 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 25 Oct 2023 01:00:37 +0000 Original-Received: from localhost ([127.0.0.1]:56914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvSGD-0005Jc-92 for submit@debbugs.gnu.org; Tue, 24 Oct 2023 21:00:37 -0400 Original-Received: from sonic303-22.consmr.mail.ne1.yahoo.com ([66.163.188.148]:39965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvSG8-0005JG-Na for 66706@debbugs.gnu.org; Tue, 24 Oct 2023 21:00:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698195597; bh=C5ELL/Kgs5MtsF+ZZ7CucKE2WmmdrWOM32NPfFzblZg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Jl7IAkxyDu3l/42QzkFfPcpLflk/uUSTdLarYQe8zWj6TI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F8kb8SitWYjQXdS9cEmyabJy62HFA ltBbN8ma6k0MKaFVOhCk5AeAQEOTBYAl0OgGXlGWPo.oVLSqxi7_2AtYfPjSqfMAviNd0kBapLL4 xByRjWrEnfIYrx3Db93inmV1KwfCSdSLoZrtLPJlUz.qRPiyjFV.NyOxy2eS4L6WH56WyOfn6bso 5FKqmDHBgqIbx7fWztGo5VjGW_rlQfb1R87J6IXJvMI6L5XHTjhScX4nA1.o9gi16_0s9EOmwepB BxXbVq9Xy8tD7UIH_Axuzog2C32HbjwUNN8pwSrpNNRD.XM6jHHKERTbLofCuwk5gskmtcuok3lZ _tmH.X7BlPnfKE9ce4JQ.12QWCuK..gW9v5nkDNv2JZlQHXK_gtDRJD.03KYf6jX6iAHHYxw48qG Mm3vC1UPIjeiMPUZVtn_p6Zn1lDx4pFMI02L2wOPUhaWPIRcfI9L_scEysrP8zPdKZeDK8y5sEzq E4svhK4R86oyX_UGTRBOhI._zNZtVtt9hQQKW5DBW26K0vXcX7VAR5rWRv4HtO.6TG4Osgl87GBd cY2b7M7uksvm5_byYug_ql4spVwfQR2Mels0EDOI0b X-Sonic-MF: X-Sonic-ID: 9cef4440-c267-46b8-8693-2aa8312c53a6 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Wed, 25 Oct 2023 00:59:57 +0000 Original-Received: by hermes--production-sg3-57f7997989-rvbd2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 42c8de1f2ee84e0744aabc8cd2aa0c76; Wed, 25 Oct 2023 00:59:50 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Tue, 24 Oct 2023 15:19:46 -0400") X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:273132 Archived-At: Stefan Monnier writes: >> As mentioned earlier, please make the automatic insertion be off by >> default, and please reflect that in the NEWS entry. > > That makes the patch completely useless. There's already an opt-in > solution (via `auto-insert`), so I'd oppose this patch if it's OFF by > default since it's just added complexity. > > The whole point of this patch is to help those users who don't > know better. > > > Stefan I want this off by default. We teach users to enable lexical binding in the Lisp introduction and a myriad of other places; inserting lexical binding cookies is not "the icing on the cake", but a gesture that implies we should override the judgement of our users, and are willing to browbeat them into abiding by such notions of ours. Similar measures taken by other software bespeaks the existence of a sense of superiority in their developers; doubtless, they think it beyond their users to read several pages of documentation pertaining to lexical binding, and to make from that an informed decision. Users who know what lexical-binding controls will enable it without any wheedling, should they so desire. Users who don't or won't will delete the cookie, then repine about its presence; quite justly at that, for software which holds its users in such low regard is nothing except impertinent. We never insert text to enforce our conceptions of good practice in any major mode. Such is the first step down a very precipitous slope, which culminates in the adoption of the haughty attitude that other software has seized upon with particular zeal.