Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: declare -p and -H (hideval)
- X-seq: zsh-users 22697
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: declare -p and -H (hideval)
- Date: Sun, 14 May 2017 10:22:07 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=y5qGk5fePBe1/fdf/uHC+vE4dua0t278AL14X/P36JU=; b=ossc58JWGidS8ndqJUr8T8PjlI1sK6cqnM9xyUSFOBnj5g7OAV6X3+V9i+jmjpmhZx D1uwBWtYCCBCCs0ZZZrG3X0KWZQ52Spi94Ja+WW200gMsAEtWtckZgCKRIzs5k3gspiK tvTnAQnBBGQwEuN0pjy3MjsRpeklyJa0AT3sHvi5jJMM88Q6eeuLYlz+X6QJJMsSOteY zdy/CA+DLzEGPF6R8UFy+QnjInrZFf9AtURNHf3uQdsnUcda4en93WAfxcmRkw8wHPgs iJFz1odKdKGQbiRFkfYqkawCPvFdK7Awe9OKbUar5UYMlgJeO0MtgV9ZSqHzbT5rW6JG Je3A==
- In-reply-to: <20170514010444.GA4046@fujitsu.shahaf.local2>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <etPan.5915e115.238e1f29.6b4c@MacMini.local> <170512150302.ZM9904@torch.brasslantern.com> <20170514010444.GA4046@fujitsu.shahaf.local2>
On May 14, 1:04am, Daniel Shahaf wrote:
}
} The fact remains that the "does not apply" clause that Sebastian quoted
} does not match the implementation. The question is just which of them
} should be fixed to match the other. (Code archeology may answer this,
} but I'm not going to do it tonight.)
Based on git history, -p has always taken precendence here.
It'd be quite simple to make -pm behave differently with respect to the
value. However, I also note that PM_HIDEVAL is not one of the "type
flags" that is output by "typeset -p" -- it only emits flags for things
like array, integer, padding/alignment, etc. So that would presumably
also need to change, which begins to get more involved.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author