Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_typeset doesn't list correct descriptions for functions -T
- X-seq: zsh-workers 31456
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: _typeset doesn't list correct descriptions for functions -T
- Date: Wed, 5 Jun 2013 17:15:08 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5bnI4S2V9OXcvtCiiUkYs9FWJAzFD89WWlVDj+eubDY=; b=adSVBhymi4A1c7PoqIvy8hw/GVMXpRYhQ8PR4cBJtB6OF1rZgRMm3bzHEUdf3Iaaxf uXyp0bugw2jR+N8PSW8IBhxGKcNWGvyxmhqLq82cZpARhVzsxxVeRYvO5+1fj/k4NRjP V7i8zu39ghNrg0mhmuiAuiG1K9g5jcE/Hb73yaZmjfX5rDLE3U2slLh32QntiQBeySDe CE00ghTTcLz5Dho9gY+CI+jj+sbI+CElFJOC4YgDehXVPD//3nYOjvmg+dWsYExdV6Mg X93GJClvp3RTE1DfxBZ0/qtQYMDyYlmVN0EDxMfqUPZKXvQTjgEqzD0AbCGdyZoNF/Vx 1Cmw==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
I noticed that functions -<tab produces this listing (and more),
-T -- tie scalar to array or trace function
-t -- turn on execution tracing for functions
But it should say
-T -- trace execution of this function only
And the code in _typeset seems to try to do this. It is somewhat
obfuscated though, so I can't tell why tf works while Tf doesn't. I
additionally noticed this while checking stuff;
typeset -f +<tab>
_typeset:100: bad option: -f
And finally, functions +<tab> only lists +t, not +T. (Bonus points if
the messages change to "off" here).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author