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.devel Subject: Re: PATCH: Explicitly show how let works on global-variables Date: Tue, 04 Oct 2022 13:39:31 -0400 Message-ID: References: <83czb8vxdo.fsf@gnu.org> 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="10199"; mail-complaints-to="usenet@ciao.gmane.io" Cc: paaguti@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 04 19:47:16 2022 Return-path: Envelope-to: ged-emacs-devel@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 1ofm0i-0002Qo-L9 for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 19:47:16 +0200 Original-Received: from localhost ([::1]:51026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofm0g-0003gz-UC for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 13:47:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofltE-0000O3-5r for emacs-devel@gnu.org; Tue, 04 Oct 2022 13:39:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofltD-0001aA-S2; Tue, 04 Oct 2022 13:39:31 -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=R+VVxnmZRl0lo4j9eNCRwWyd9K0UIBUWBwFuELhVeAA=; b=IWJrNpD2g+B0 PTzaNmB94u+/PvpBacbbDMss4DlRBDJm6HY88ae7kimjZFRpSXZRm5afYuH+njFgxefWYMYLjcXXT tx7HF4wi5ExaEz8O1fZEORuCUDh0ji4w0tCgVEUEVFPr1uBwv2MdHmWI8fsVYT0uvMcWdBY+DetC6 MRn7Kmac9sdVyXCfrJZBz6maDSJ3c6RwNSr/5syzk4hjcMGyJA/TCgrvs7IjGm+R18cKK6X+bQYLh jhOMxTTTkLMKFHyW/LZfeLH2TTjtmrPmyFUfKsS8olqw4PmiA/BmwbHBqEAB8/4ORcDlG+rbinhir rLXT2o6QAgegwTyG+BpntA==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1ofltD-0008Pi-Ch; Tue, 04 Oct 2022 13:39:31 -0400 In-Reply-To: <83czb8vxdo.fsf@gnu.org> (message from Eli Zaretskii on Tue, 04 Oct 2022 10:52:35 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296903 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 manual already says, in the previous subsection: > Local variables created by a ‘let’ expression retain their value > _only_ within the ‘let’ expression itself (and within expressions called > within the ‘let’ expression); the local variables have no effect outside > the ‘let’ expression. > Doesn't this cover the issue? In an introductory manual like this one, it is good to repeat an important point, if that helps users understand the subject. It's worth another few lines to say this a second time, and even a third time, to get the point across clearly. An additional example would probably be good too. -- 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)