From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#66706: [PATCH] Automatic elisp dialect insertion Date: Wed, 25 Oct 2023 05:17:05 -0700 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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21182"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattias.engdegard@gmail.com, 66706@debbugs.gnu.org, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 25 14:17:49 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 1qvcpX-0005EE-Ps for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Oct 2023 14:17:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvcpL-0002dD-9D; Wed, 25 Oct 2023 08:17:35 -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 1qvcpJ-0002cp-FN for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 08:17:33 -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 1qvcpI-0000zd-Nf for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 08:17:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvcpm-00060o-DQ for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 08:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Oct 2023 12:18: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.169823626623085 (code B ref 66706); Wed, 25 Oct 2023 12:18:02 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 25 Oct 2023 12:17:46 +0000 Original-Received: from localhost ([127.0.0.1]:57605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvcpW-00060H-FK for submit@debbugs.gnu.org; Wed, 25 Oct 2023 08:17:46 -0400 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:44426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvcpS-000601-8u for 66706@debbugs.gnu.org; Wed, 25 Oct 2023 08:17:45 -0400 Original-Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2c503dbe50dso86190701fa.1 for <66706@debbugs.gnu.org>; Wed, 25 Oct 2023 05:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698236226; x=1698841026; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=j51qNlUf/dFm9EcEtg02QARhLddW3hS42uX72fJXhFI=; b=Lg6QvWqXAwLUBeJtYHSfQOaOk7V/beOwDL2TCUebdVlwmh/iQgb5j4Ez6bV+d6hvQC J4eAG8QZD35YtTX3pCLWJsoJUU699pnw5Xq3w7ij7dBY3HdVzq2PlYLjUreUaFXvsAGU +KzU9ar4Bwf3B0s2XhAQqo2UthaqyMaRDLTrRjmle5u1gNTy9oCW9aeW/MoLyC+8cBRz jMXI/pF2VZk0r78+PSms8jrKplKCqDX2dIIIWZBhVE0tTDUrqxPmyH/b9U3MS4qPYXLq 3q29sJ5Bz4oioSjuf3m9NvoEQz4Gcuhj5hMSsBHWqsFLXhh3FF0RSQ4BkCYnOBu/QOGQ Bysw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698236226; x=1698841026; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=j51qNlUf/dFm9EcEtg02QARhLddW3hS42uX72fJXhFI=; b=Th/0FkHx3Da1VWHgcNIK/FqUYYypp6/JunMH8hJHnA3hOUjxwhjRaBz9t9DINyTcIU 1vKWPRvneKyDn1FxENMh4qn1+wmcEBW9b/ZHKkPohr0ZsV/a2chgdDWsKHOqUSW66a1s 4S7Gq8VspIxNhFTiRRKrikNP2jyG+TtQSLSjC7igiPb7aV5lLdv3k+xTIiMTsgAa3mZi pE09KIQrBrF6/9BM/2n7JdO/Libdjh85agijCyAjNMF5wOnYxCqb5ZNW1ImvPYyJWM6+ 8OO7npzcXedxPoLLJr6nlO48Mnr02Sx2kK0o/ATX2eXQqsY20Wwn5sxT2uyHQ6Q9EfHg R9Yw== X-Gm-Message-State: AOJu0Yyda9Euj5cBPd8KyR4z/91yCU3VGmheKiVMZCj4+YiB75RCL0yM 8lg6e0YEv1SFP2bQi6vYTz+JFQ1UnCsefSs0gVQ= X-Google-Smtp-Source: AGHT+IGRPRWGS9u4NEkR4l3Xj8z8Tp72dp3AVqeGXGtMkR1BhADThD0TmvjZ8stLgta3PNFbAYMYVj0ozD72MSNSmps= X-Received: by 2002:a05:651c:14c:b0:2c5:9a5:a1c2 with SMTP id c12-20020a05651c014c00b002c509a5a1c2mr11108485ljd.30.1698236225879; Wed, 25 Oct 2023 05:17:05 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 25 Oct 2023 05:17:05 -0700 In-Reply-To: <83v8avjuv8.fsf@gnu.org> 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:273160 Archived-At: Eli Zaretskii writes: > We should also ask ourselves if this is not "too much". I think it > is, since a clear indication of dynamic binding, with a face that > makes it stand out, already exists on the mode line. I think this is > enough. I expect the users most helped by this to not even register that warning on the mode line. It's quite inconspicuous. I never see it, myself. We have had the mode-line warning for years, yet most user configurations still implicitly use "lexical-binding:nil". Just have a look at the configurations posted on GitHub, Reddit and elsewhere. This will mean that a lot of users will have a Bad Time (TM) when we eventually change the default to lexical-binding:t. We can help mitigate that pain, or we can choose not to. The controversial choice here is to see this situation coming yet refuse to take reasonable steps to help. That would be unfortunate, and a disservice to our users. > It is not Emacs's business to force users into something they don't > want to do. No one disagrees with that, AFAICT. The proposed patch has a user option to disable the new behavior.