help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: Oliver Kiddle <opk@zsh.org>, zsh workers <zsh-workers@zsh.org>
Subject: Re: expanding nameref target?
Date: Tue, 28 Feb 2023 10:01:19 -0800	[thread overview]
Message-ID: <CAH+w=7aYOJjyWTcCFsQd2oFN7QbG4QTb8KYx0hbiMJv5WyPi0w@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3R+t1J3foARgOXCLp5LLfR2Qx=zwonH_Fo2-XoDccuu7w@mail.gmail.com>

On Tue, Feb 28, 2023 at 2:33 AM Mikael Magnusson <mikachu@gmail.com> wrote:
> What about (PP)? There is some precedent for doubling a flag to
> disable its effect. The downside is that (PP) already works and is
> treated like (P) but...

The other downside is that ${(P)nameref} would not be the "opposite"
of ${(PP)nameref}.  You'd go from two "dereferences" to zero.

Also I'd prefer ${(PP)...} to mean ${(P)${(P)...}} if that were
do-able (tho likely it isn't).

  reply	other threads:[~2023-02-28 18:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-21 13:07 Mikael Magnusson
2023-02-21 15:59 ` Bart Schaefer
2023-02-28  5:00   ` Bart Schaefer
2023-02-28  8:47     ` Oliver Kiddle
2023-02-28 10:33       ` Mikael Magnusson
2023-02-28 18:01         ` Bart Schaefer [this message]
2023-02-28 17:55       ` Bart Schaefer

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:

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

  git send-email \
    --in-reply-to='CAH+w=7aYOJjyWTcCFsQd2oFN7QbG4QTb8KYx0hbiMJv5WyPi0w@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=mikachu@gmail.com \
    --cc=opk@zsh.org \
    --cc=zsh-workers@zsh.org \


* 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


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).