zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [PATCH 0/2] persistent locals (sort of)
Date: Wed, 6 Sep 2023 16:38:40 -0700	[thread overview]
Message-ID: <CAH+w=7bN3dfKVFYZFa1N5zKsrugb7GHHT+_GLNiFaiwt7UKdLw@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7Ycj3i3oktyVPbSC_sYacOZz8kO48mPSno8ECJeKY61EA@mail.gmail.com>

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 PM Bart Schaefer <schaefer@brasslantern.com> 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?)


      reply	other threads:[~2023-09-06 23:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-06  5:04 Bart Schaefer
2023-09-06 23:38 ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7bN3dfKVFYZFa1N5zKsrugb7GHHT+_GLNiFaiwt7UKdLw@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).