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: Thu, 26 Oct 2023 08:21:29 +0300 Message-ID: <8334xyhsbq.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> <438d1186-3759-4462-06d8-b41c69134eda@gutov.dev> <878r7q25zh.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6860"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66706@debbugs.gnu.org, mattias.engdegard@gmail.com, luangruo@yahoo.com, dmitry@gutov.dev, stefankangas@gmail.com, monnier@iro.umontreal.ca To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 26 07:22:45 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 1qvspR-0001bz-4M for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Oct 2023 07:22:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvspF-0004ht-9z; Thu, 26 Oct 2023 01:22: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 1qvspE-0004gc-1d for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 01:22: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 1qvspD-0006DL-O4 for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 01:22:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvspi-0003KC-02 for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 01:23: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: Thu, 26 Oct 2023 05:23: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.169829772212693 (code B ref 66706); Thu, 26 Oct 2023 05:23:01 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 26 Oct 2023 05:22:02 +0000 Original-Received: from localhost ([127.0.0.1]:60419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvsok-0003If-Ao for submit@debbugs.gnu.org; Thu, 26 Oct 2023 01:22:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvsof-0003I3-8J for 66706@debbugs.gnu.org; Thu, 26 Oct 2023 01:22:00 -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 1qvso4-000683-Tl; Thu, 26 Oct 2023 01:21:20 -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=IwzYhfWP2u3yxF4BAag2tS8BWfi0iXPkhGRCpA3Q3ik=; b=U3wqv/5PGRmT 8/yxnMVRJDpnQbCw3LD9NL/jC0x/1V5KZfyRS02wtX78As/Nv8iNp7dDxBdA0nLYurNaE7PLJ3J+1 nhF+9Yq9b72JgGjkWVIFV9Igyn9EV0w388DwzN24ZS3ylaspSzG5rRKBNQb2UrjAJLSoa89YXzclc cFqGJO3y0zKlXR3DSg5AfdiuUS6AzJOnWVzOD08fqYBzohC7CpKqUhjMHtG/agRwfF4/YsK9QARlZ qq014ZopMV8XzqOvR1vxeF0kxZPNQShBw5yQGzNCHOfi7e4sytRZRA2loAZR2Zf8uoOUbOxxT0+UC un8J7MTCipsNTsEHHraB2A==; In-Reply-To: (message from Jim Porter on Wed, 25 Oct 2023 17:07:00 -0700) 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:273239 Archived-At: > Date: Wed, 25 Oct 2023 17:07:00 -0700 > Cc: Eli Zaretskii , 66706@debbugs.gnu.org, > mattias.engdegard@gmail.com, Stefan Monnier , > stefankangas@gmail.com > From: Jim Porter > > In particular, what's missing from the following paragraph[1]? > > > Another way to think about let is that it is like a setq that is temporary and local. The values set by let are automatically undone when the let is finished. The setting only affects expressions that are inside the bounds of the let expression. In computer science jargon, we would say the binding of a symbol is visible only in functions called in the let form; in Emacs Lisp, the default scoping is dynamic, not lexical. (The non-default lexical binding is not discussed in this manual.) > [1] > https://www.gnu.org/software/emacs/manual/html_node/eintr/Prevent-confusion.html IMNSHO, it is woefully incomplete. Much more needs to be said.