Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: declare -p and -H (hideval)



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