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 09:20:35 +0800 Message-ID: <87lebr1org.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> <87pm131pq6.fsf@yahoo.com> 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="28065"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 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 03:21:57 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 1qvSaq-0007C3-Jc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Oct 2023 03:21:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvSaU-0006K9-1I; Tue, 24 Oct 2023 21:21: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 1qvSaS-0006K0-Rs for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 21:21: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 1qvSaS-00027W-JX for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 21:21:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvSav-0005rs-QZ for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 21:22:01 -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:22: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.169819688722488 (code B ref 66706); Wed, 25 Oct 2023 01:22:01 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 25 Oct 2023 01:21:27 +0000 Original-Received: from localhost ([127.0.0.1]:56944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvSaM-0005qd-Dg for submit@debbugs.gnu.org; Tue, 24 Oct 2023 21:21:27 -0400 Original-Received: from sonic315-21.consmr.mail.ne1.yahoo.com ([66.163.190.147]:35894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvSaG-0005qM-JE for 66706@debbugs.gnu.org; Tue, 24 Oct 2023 21:21:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698196845; bh=Drn2FQkVyPpTZltVaDV5KEshWEebwSxxEdWUMWzKYF0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=A60pVxdN9ZMXMaUyVEGPjWtVgdj46hK9mdlbCObTPbIDzXkQBR5G0a42w1pZE6uCItk1S3RayuUqoha5er+nuK8Qxs7T3d2J807Sb+sWHkV10u55xAp4lCvR6Ea86Uubs9T5zBmpx9tXirnSmafJpgyXcll+2xlI3mPO3DVEBty8ex19MT9B9fY6s7QJaBl+iTuPX+82RIQI35J1YLLohZJUjop5tn+qIm1WlE0OBTy7LbYw06aIUe6vhY36L4Ka5Gfe0Mh9TF107v/MI+PEPHOZO0HUKvUKGJTmruy4vYQEdRAMaQFa1jggk8ikub6lBoxGqGSD9rSy9qhh4YnVqg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698196845; bh=wuqU4gIbE2PTyr59FeohWEDcSueCnbiNhPSVEjNB+9d=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=e6N7rApf4Mz8i7jyVsxTxQdrTENG2kNkpAr63p8f7JIKLZKVhzn0Rr8hroXLVPSELAlTK37yxLYbKdHtZfSuWxVdu3yqYpmZOcVsPcOo7/Hmxx8mSnxwM2coZk7Ufa47kegpz4fhMLzokC8bvN6s3av9ePULq6tjuf3ggd5rz/T6scaLoFJBGXAMrkaG1ra7FbCatkhiKub4cEwd9Qnnztca06kuvkMHVU33WgZxkl3sQ9RGvmrxWXLIiVcT5cdOcsmJAmjgUfU94rsmeEA9Lw8OXo+bBPgih2iorowCPi6UFnxJ7TQLtROZxOaMJbJwStTTR81D0b2b7vU03zkclw== X-YMail-OSG: hB5t2M0VM1n6TbhJmful9SybOqPV9dHcZ14LnuaciaoxTm7NiT475GYo5Sn4emY JsmucE5l9Gcv72jx6VjiD_CSOHiea5mY5818Rr8qsBd5yQPbzl.NRhOD.BLt192ABo_xwey_h81y SAD9EKtrelkKUD_VB.Yy7irOGEUS9I4zYmXo35rCiwUh6j4pTsQRdmo40l8YMcu9DU6lJEfw2f67 TQ6VE7SS4tkZwg95ugsEthcc.b4jdG7WianOvjZIf3Cx9JB3zjLJwDLTN_KztltiBTUmDQNCXpzB xQcqqX2OJWqehIiFKr2z2ch3iXwrKGFTUoS9tP9nDCGWlhHrIKv0u299HhDFaVv1YUful..ZOwh3 ms4nvV_ZzODIishbOop71VaeIgyKG2eXJG6IGGI7C0bcDpSisgr8DktdJf4AcVY6qz2eiNg312oJ POn_q8GwAF1PF6ca1gAOi4THUW9RRYZIe43.PpzWBawLs2hC3MduFbNRiA2gwDtFNDbS3nUogyZ9 ssLx6.NiIsY3iD1DzT8X3x_NU60sO4pZhWSSunqqajuQiw7OP9YyaU82TZqq3OddThmQ1CeBizGG hpHDH.QLdyLdO5czc493V82ddjoeTxmSiF8KYiYrmjtp8a4KSD2by.nzUSl0Cxtf0r0bFpSjlHg8 3XJGMMN3JNH5XSYAZIsKIwiKtmvhJIZI6yuK92vj3hYDw448yJZRQHC4H0hqVb4TgzHNE0HvHAaX ZLyYuTcMLDF9RDJQpnImzXf2u34p8vA_PbHFLpidCHEwAApKzIcHy0SFxe363cnMJn.0Egqg6fO9 .u6sfdpFuw8T7m04wOBWaMrQ.Fi063lOuLk1lGRyT2 X-Sonic-MF: X-Sonic-ID: fec7281b-21d3-4fb0-91da-14adf2593d55 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Wed, 25 Oct 2023 01:20:45 +0000 Original-Received: by hermes--production-sg3-57f7997989-fcsf4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f1aa48d8c8f40641582e4c14266a606c; Wed, 25 Oct 2023 01:20:40 +0000 (UTC) In-Reply-To: <87pm131pq6.fsf@yahoo.com> (Po Lu's message of "Wed, 25 Oct 2023 08:59:45 +0800") 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:273133 Archived-At: Po Lu writes: > 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 I was mistaken here. Lexical binding is briefly mentioned as non-default behavior. So why are we attempting to remedy this pitfall of the novice in Emacs Lisp mode by inserting a feature hitherto _undocumented_ in our manual for the uninitiated? Everything suggest to me that documenting lexical binding in the manual is the proper course of action. > 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. I recognize this argument is grounded wholly on principle, but principle itself is as important a consideration as any other.