From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19094 invoked from network); 27 Jul 2008 17:27:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 27 Jul 2008 17:27:43 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 45269 invoked from network); 27 Jul 2008 17:27:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Jul 2008 17:27:36 -0000 Received: (qmail 25950 invoked by alias); 27 Jul 2008 17:27:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25341 Received: (qmail 25938 invoked from network); 27 Jul 2008 17:27:32 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 27 Jul 2008 17:27:32 -0000 Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by bifrost.dotsrc.org (Postfix) with ESMTP id 08CCB80561C3 for ; Sun, 27 Jul 2008 19:27:27 +0200 (CEST) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20080727172726.DJGI777.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Sun, 27 Jul 2008 18:27:26 +0100 Received: from pws-pc.ntlworld.com ([81.107.40.67]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20080727172725.YHOT29597.aamtaout03-winn.ispmail.ntl.com@pws-pc.ntlworld.com> for ; Sun, 27 Jul 2008 18:27:25 +0100 Received: from pws-pc (pws-pc [127.0.0.1]) by pws-pc.ntlworld.com (8.14.2/8.14.2) with ESMTP id m6RHRBsx003356 for ; Sun, 27 Jul 2008 18:27:12 +0100 Message-Id: <200807271727.m6RHRBsx003356@pws-pc.ntlworld.com> From: Peter Stephenson To: "Zsh hackers list" Subject: Re: Bug(?) in builtin r In-Reply-To: Message from "Richard Hartmann" of "Sun, 27 Jul 2008 11:05:31 +0200." <2d460de70807270205m5d431b71h2d8c7e9095781be8@mail.gmail.com> Date: Sun, 27 Jul 2008 18:27:11 +0100 X-Virus-Scanned: ClamAV 0.92.1/7850/Sun Jul 27 17:48:50 2008 on bifrost X-Virus-Status: Clean "Richard Hartmann" wrote: > On Fri, Jul 25, 2008 at 10:52, Peter Stephenson wrote: > > > + zwarnnam("fc", "invalid use of current history line"); > > In my personal crusade for errors/warnings that pinpoint the > issue without the need to refer to documentation, I would > like to suggest a replacement/an addition along the lines > of 'using the current command from the history stack > leads to endless recursion'. We need an error message, not an essay, which is what the documentation is for, but if there's a more specific short message I can use that, such as for example "current history line would cause recursion". - Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/