From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#66756: 30.0.50; [PATCH] Improve discussion of 'let' in Elisp Introduction manual Date: Sun, 29 Oct 2023 12:38:18 -0400 Message-ID: References: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33136"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, 66756@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 29 17:38:41 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 1qx8oC-0008Ng-KH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Oct 2023 17:38:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qx8o4-0005ml-3X; Sun, 29 Oct 2023 12:38:32 -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 1qx8o1-0005mD-Ay for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2023 12:38:30 -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 1qx8o1-0004QM-3J for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2023 12:38:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qx8oX-0007ph-N5 for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2023 12:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Oct 2023 16:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66756 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 66756-submit@debbugs.gnu.org id=B66756.169859754030102 (code B ref 66756); Sun, 29 Oct 2023 16:39:01 +0000 Original-Received: (at 66756) by debbugs.gnu.org; 29 Oct 2023 16:39:00 +0000 Original-Received: from localhost ([127.0.0.1]:43235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qx8oW-0007pS-0A for submit@debbugs.gnu.org; Sun, 29 Oct 2023 12:39:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qx8oS-0007p6-S5 for 66756@debbugs.gnu.org; Sun, 29 Oct 2023 12:38:58 -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 1qx8nq-0004OB-Q6; Sun, 29 Oct 2023 12:38:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=3o4GuYfPpxcQNIFAHn4D1eVAnkodg7AsZfnwhyDammM=; b=Tafljwats09F 5uj3Xa5QwQ2Mp1jwa1rCw7WDYlp5V3kSo95ic/fyj0i529/vC+2TcyUqj8hquUlhJkd7QhCI6TP8X FJP6UawpK6KNtH5kRqUKRY2Xk/FOTl9qKbQfxgAv7I/p+6UO88WpbsJd7EQIXvKuoWi+65gJAlFTs hL6zTOfg/1iUJiQhNXPDINlUUPC9KrCtFbS9jvmKEdbnuYUy7cDnklJQuIMp1N/MGcjYh+ovIXZa5 MzfO+Lds7PelVfyUYXnEyWlpgyGtxY+Xkl2qYBUuH+cviy3T0DTz6f2Mr24CNbzE5TSvREN1AbFds 5+tPxdZgW7XhcHy0ZrYhOA==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qx8nq-0007DY-HV; Sun, 29 Oct 2023 12:38:18 -0400 In-Reply-To: (message from Jim Porter on Thu, 26 Oct 2023 11:30:46 -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:273518 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > This is like understanding that in your host's home, whenever he refers to ``the house'', he means his house, not yours. That seems good enough to me. > My previous concern about the "lexical binding" digression still applies > though. However, I'm not sure how to get around that at present; if we > want to talk about lexical binding in the manual, we need to get users > to enable it, so I think it's unavoidable that we at least mention it. I think that the lexical/dynamic scope distinction is sufficiently important that this manual should explain it, whether or not hiding it is simply impossible. However, tehre are lots of simple Lisp functions for which lexical vs dynamic maks no diffeence. For example, (defun square (x) (* x x)) So perhaps it is possible for the first few sections to use examples which work the same in lexical mode and dynamic mode, THEN show an example for which it does make a difference as a way to explain the two modes. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)