From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27872 invoked by alias); 21 Feb 2013 12:43:52 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31059 Received: (qmail 12303 invoked from network); 21 Feb 2013 12:43:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at samsung.com does not designate permitted sender hosts) X-AuditID: cbfec7f4-b7f4c6d0000018de-cf-512614287cd4 Date: Thu, 21 Feb 2013 12:33:43 +0000 From: Peter Stephenson To: Zsh Hackers' List Subject: "functions +t" etc. output Message-id: <20130221123343.692abdec@pwslap01u.europe.root.pri> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: quoted-printable X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrCJMWRmVeSWpSXmKPExsVy+t/xa7oaImqBBrfuW1ocbH7I5MDoserg B6YAxigum5TUnMyy1CJ9uwSujL4fP9gKZrJXbP1zjbGB8ThrFyMnh4SAiUTbsWVQtpjEhXvr 2boYuTiEBJYySvTfPckM4Sxnkth9Yx8zSBWLgKrEiqkLwDrYBAwlpm6azdjFyMEhIqAt0f5R DCQsLKAs0fvzCROIzStgL7HseC9YOb+AvsTVv5+YIJbZS8y8coYRokZQ4sfkeywgNrOAusSk eYuYIWxtiSfvLrBOYOSbhaRsFpKyWUjKFjAyr2IUTS1NLihOSs811CtOzC0uzUvXS87P3cQI CakvOxgXH7M6xCjAwajEw7vwpUqgEGtiWXFl7iFGCQ5mJRFeGya1QCHelMTKqtSi/Pii0pzU 4kOMTBycUg2MPcfrmT6cvaAfLCb19ZzN0xkp2gfrd/W/vMeVce/XgiXPL06+X+zb8KF3/SHd fP3umSIv9Zr9bqw0bVNdcf8u65mTrc85vLirLc/ZfEmT2vJx3aF7cvPunTG+IrpiJ48s1zVf 7cKwqwvnLpxnvoLP4tn/f07MVtwhty2WOJ1SCjzyfLL28eOfFymxFGckGmoxFxUnAgAtS4Ea BwIAAA== For "typeset" etc., with flags but no arguments, using =E2=80=98+=E2=80=99 rather than =E2=80=98-=E2=80=99 to introdu= ce the flag suppresses printing of the values of parameters when there is no parameter name. It would seem to me this ought to apply to "functions", in fact it's even more useful if you want to see the functions with a particular flag to suppress the body of the function, which might be huge. But it doesn't work --- you get the body of the function. It does work if you add an extra and otherwise redundant "+", which you don't need in the typeset case, leading me to suppose this is just a bug. Same feacha with autoload. --=20 Peter Stephenson Consultant, Software Tel: +44 (0)1223 434724 Samsung Cambridge Solution Centre St John's House, St John's Innovation Park, Cowley Road, Cambridge, CB4 0DS, UK