From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7169 invoked from network); 6 Sep 2023 23:39:29 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 6 Sep 2023 23:39:29 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1694043569; b=jBrWj7k77U5yvIcdkjrwhUnBCfnoe4tWhpEERhP4ra9cDuHir5mBA4FTaWjFcGPslXVlvH33ia SjrkSVsrMZ11PfrPRhlHkt3uJZ6htqAFAqnkMZewJ9mPL5jWQ5DMZQercqt2aZ7ig7iQhu+e5B cOONlqAwLoFOO/8O11rXoZzxmJaKgiqyC5m2/R5YPgqJCyHtJejT2kJVOIoAFZsmZNCqfZ4Sgg 8TPqSJQB9E7GDiP85GqbYFGrAyl7rrxWtsEbxCIWNaOIny1dCgFhXkoDL3Ic7sIWkWOfJw+mYf hBNMxWRXph2LCkxHb0ALtFeqOVEA998AJTkvDSyalS7QVg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f44.google.com) smtp.remote-ip=209.85.167.44; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1694043569; bh=I0Ons9oHP477tghDk+tGh37EfQpFePQjsqpJo+OFHlA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature:DKIM-Signature; b=ecRexHarRB6OMCYr5BxDR52b1+7E83JCVlq5wBsZd9kqNT+hwatFTv4LZSuul+qaKDzFGLgXqv ey8rSPe5VMTrrCIG+MNnZGnrBlgxEUW93C4mAzVOtMFfVrdK37zV5gPhm3utWjUY0rQFn8L97y QU/6R2G29KkQZwq+Jy8TnC/TB8Klykp8fp6gv1YsKmyK+EJYlMdGJFdAqmYPsmf0lbSmP/7sE8 Kbc4wwliSY2ViXXxJB8E5u9jj+iS/CHE+gp5AwKNMBE3RW7Fxgy4gz8QmcIY6jFXy9wsf2ce9d qmN/YrIJp06eU5kp5RMWSHNuVw3t0FcU+8BhZtcx89lxqA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=eYvfwhqVUiZCpld6cJTF0UWCFpCcUBH1kVtY8j5YLUA=; b=aji4HzqjKfeNlVEKjp4NRbmWSa xlGEJguI+qFoaA3LKUfIWTlr3FYV9hU2tnAQSNjFagZvoX6Yg6W7nYFVGNVAghgrMfaVUpd5KRUwm /SIk/t9zR2lfAxM+QRDdzoMxXq/+ujUmGB/LQLdxI4pS9Zjy3WResTuFq9CtMbgfh9wyxmk9Lj7al 4YzLLXoDaJ6J2uTY8QgR5V5/tA0pNnAAd1CvL1Rd8z06CB3k8Y2eATiMvASuTWXMuDfz4OYhB75+a 23c/7eOYMdkjKN7Sm0qf+SWvw4FLZFN8bAujEWFHVHhELuvUTL2cf9qePkgV1/dt9T9+D8FCxnFiJ zmBl3/mQ==; Received: by zero.zsh.org with local id 1qe27L-000582-Dc; Wed, 06 Sep 2023 23:39:27 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f44.google.com) smtp.remote-ip=209.85.167.44; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-lf1-f44.google.com ([209.85.167.44]:49369) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1qe26m-0004o9-TI; Wed, 06 Sep 2023 23:38:54 +0000 Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-501cba1ec0aso501535e87.2 for ; Wed, 06 Sep 2023 16:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20230601.gappssmtp.com; s=20230601; t=1694043532; x=1694648332; darn=zsh.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=eYvfwhqVUiZCpld6cJTF0UWCFpCcUBH1kVtY8j5YLUA=; b=vwEIF6+OiCf4osqxbFR2kOFxNUQT0wKgSetInNOfmf5Mb75LKf4aQO1wQnMBpwsRQe b1Kphj7Te0QRhMJTrU0TvdrCi7PdDtO0EVo/DEXmYrfhrrRlNl8Il1K8ZeDUB4qTweiC pVyR56rw17yw7cdRTzZKop++b67Nisb4Wr8YZeil/c1uFCY4WHjXxqKIPN3WbXpo90Kh W3eGDydSnhxQxsPY4AZjVfljXJugTEA3sALcnfu/Mzcu+198VpxtOQ8J0GiJHaEUg/D8 bH+fnXnmbvDyKzUGkpQrjl36b7swLLQo76Sy7Qq/+bbf/iOocyKdDfP2tDypfpsIpPJJ rJoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694043532; x=1694648332; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eYvfwhqVUiZCpld6cJTF0UWCFpCcUBH1kVtY8j5YLUA=; b=B1qrKQqGdHT00FtTYYRo5Y8er0G9clQuKv0M2j+ndzGvxVCqTR9kzoauKL1sFQ4VrT OY/wdXQQMfdC7uOseEhi6Diamiped+zx/ZBEPumY5eUpoDvPFAN3QVWnbyeFfZ9faZum B1MfA7SG1PWYl5jy5MkFO3cRnhmZXQ3bir5XmN8xg+x9i8TCMZ9htX1gwgtY7kVAiufv RZ2RURClJp1/RPQDLXnkKX4kq1h5kTIuPjIVnolYnLyCVR6XydiwEk4jTqB7DU+ZAq/T nNcAmSDmBPEe8pE03+twOccxowaQ/3BgqQf7UwKeNrccTUPrv93DLNBdyia+UA1CX7et 1jog== X-Gm-Message-State: AOJu0Yz3fGtzxEeFTe0nluydw9S/fqiHgRTaINqltSZsC6aYEkjGG7ph KK/+BzMbP47YaRf9SQ/l6tNK3bNyTPiqg7CjK1gL1k5nRItGeXWN X-Google-Smtp-Source: AGHT+IECoswdK5YN0dQqukXjQiE0AI59eL1Wd4K1hdItBh1jPzPUpylLeeRZPzg9f0PRCNi/RAqjsOnqs9lPztNw6G0= X-Received: by 2002:ac2:4ec3:0:b0:500:b0e8:a899 with SMTP id p3-20020ac24ec3000000b00500b0e8a899mr3451777lfr.30.1694043531639; Wed, 06 Sep 2023 16:38:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Wed, 6 Sep 2023 16:38:40 -0700 Message-ID: Subject: Re: [PATCH 0/2] persistent locals (sort of) To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 52119 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: Attempted to send these far enough apart that the article number sequence would match the subject number sequence, but oh well. On Tue, Sep 5, 2023 at 10:04=E2=80=AFPM Bart Schaefer wrote: > > The argument list is then walked and [...] Every name is prefixed > with the namespace and checked for existence; iff it doesn't yet exist > in the namespace, it's created with the specified value if any. > Finally, and always, all the original names are created as named > references to their counterpart in the namespace, using the hideval > option from Part 1. I just noticed that the comment in Part 2 has this in the other order. My thought was that if there were any problem creating the named references, the namespace should not get populated, but when it came to making it all work the other order was more natural. Can anyone think of a way it's likely to go wrong? (Is anyone [else] interested enough for me to bother?)