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 19:08:08 +0300 Message-ID: <83o7gmit1z.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> <83o7gmkiyn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25451"; 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 18:08:52 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 1qvgRA-0006Tk-My for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Oct 2023 18:08:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvgQs-00071b-Nm; Wed, 25 Oct 2023 12:08: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 1qvgQq-00071E-IL for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 12:08: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 1qvgQq-0005XR-8D for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 12:08:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvgRK-0003xm-FC for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 12:09: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 16:09: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.169825011915203 (code B ref 66706); Wed, 25 Oct 2023 16:09:02 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 25 Oct 2023 16:08:39 +0000 Original-Received: from localhost ([127.0.0.1]:59861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvgQx-0003x9-06 for submit@debbugs.gnu.org; Wed, 25 Oct 2023 12:08:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvgQv-0003wt-BM for 66706@debbugs.gnu.org; Wed, 25 Oct 2023 12:08:38 -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 1qvgQL-0005U1-2o; Wed, 25 Oct 2023 12:08:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=6z/2+c0H/MMMZD2Tk55coq/j08f88F2uW3Tn98DJuSs=; b=fqPKT5Ryu/FG lNXnaADduWHqMmQRnn6YE2lKpRBgJZEKQu6kvDNgbccmUwVCs4GBv1utQF3GnJGUl1GNPz4AHkQqr r96BojK8bxOaPki3StgXrh1rGFKGFtf84pTgoVqC3Vl7TzWl/t1sMTA0h+u65LDI2Us5wIcE9mnUW qIOV4MuOKpiXuiCXSqW1DOdPCJpxE8X6GLImztRHrfRU9qahbIHt5vIRTqdlty4Mjq+3neFfJbC13 /8j5b2S+Q+68nnPwLX4y30Kt+6KChLhywipY9NKUgTB1KK6KHiqUfaMc/eywLtAleCihqtyI354dG pF3+Uwt9c+sAoK2UNOnRsg==; In-Reply-To: (message from Stefan Monnier on Wed, 25 Oct 2023 11:11:52 -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:273193 Archived-At: > From: Stefan Monnier > Cc: luangruo@yahoo.com, mattias.engdegard@gmail.com, > 66706@debbugs.gnu.org, stefankangas@gmail.com > Date: Wed, 25 Oct 2023 11:11:52 -0400 > > > Until then, I see no reason why the prominent indication on the mode > > line should not be enough. > > It's much easier to write code directly in lexbind dialect than to go > back and change existing code to adapt to the lexbind dialect. If you think that inserting the cookie is okay, then it should also be okay to turn lexical-binding on by default. The effect is the same. > Of course, maybe I'm not being bold enough and we shouldn't wait: let's > change the default `lexical-binding` to t right away and just tell > people to add a `lexical-binding:nil` cookie if they don't know how (or > don't want to) adjust their code to the new dialect. If this is what you were arguing for, I could at least understand it. The measure proposed here I don't even understand.