Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh ignores the arguments on its first command.
- X-seq: zsh-workers 27995
- From: Martin Buchholz <martinrb@xxxxxxxxxx>
- To: Peter Stephenson <Peter.Stephenson@xxxxxxx>
- Subject: Re: zsh ignores the arguments on its first command.
- Date: Thu, 3 Jun 2010 06:47:16 -0700
- Cc: zsh-workers@xxxxxxx, Joel Ebel <jbebel@xxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1275572841; bh=VYuOlpuGv6V7Dt4Hw6Ocxux0oV0=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=i1BAqFgFtEsCCGrB7sERaVkt/i6XLyTYgYoKAMRUbNi/BT7QDWtID+/tSvKoDt4pb qSyhj12aDhsGobPZg5Dxw==
- Domainkey-signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:content-transfer-encoding:x-system-of-record; b=bwkdWyNBKq8bRDl1Os3bgkHLMpcNsW8xzQSu+k1vWEoLB+xQUR9Hq9QLVry1X9chL tDUHiQmyJ8ikCzYfE49TA==
- In-reply-to: <20100603143220.48ccbf3e@xxxxxxx>
- 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
- References: <martinrb@xxxxxxxxxx> <AANLkTikiCBKGaJcuE9s-vMZvK465tTR6WSFIsy6wo7xL@xxxxxxxxxxxxxx> <201006012145.o51LjhGg005724@xxxxxxxxxxxxxxxxxxx> <AANLkTikvkgA0bFLLh7VLVtBbUVMdM64-2iQXjAVbHvaA@xxxxxxxxxxxxxx> <20100602121901.6ce71329@xxxxxxx> <AANLkTimPDymUsBJICkPlnyeFuFLA5Ek80j_aNQH5rXGo@xxxxxxxxxxxxxx> <20100603100109.1b090b4e@xxxxxxx> <AANLkTilx2bOk5hHYLVly8XCIu4xz4hhtFHpgTaP4otN3@xxxxxxxxxxxxxx> <20100603143220.48ccbf3e@xxxxxxx>
Peter,
Thank you very much!
Martin
On Thu, Jun 3, 2010 at 06:32, Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
> On Thu, 3 Jun 2010 06:22:57 -0700
> Martin Buchholz <martinrb@xxxxxxxxxx> wrote:
>> So please change the zsh error to something like
>>
>> "Autoloading of module %s failed to define parameter %s"
>
> You're right, it's a specific error for this case, it could be a lot
> clearer.
>
> Index: Src/params.c
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Src/params.c,v
> retrieving revision 1.160
> diff -p -u -r1.160 params.c
> --- Src/params.c 12 May 2010 10:07:01 -0000 1.160
> +++ Src/params.c 3 Jun 2010 13:31:33 -0000
> @@ -461,7 +461,8 @@ getparamnode(HashTable ht, const char *n
> * stuff to go ahead with the autoload stub with
> * no error status we're in for all sorts of mayhem?
> */
> - zerr("unknown parameter: %s", nam);
> + zerr("autoloading module %s failed to define parameter: %s", mn,
> + nam);
> }
> }
> return hn;
>
>
> --
> Peter Stephenson <pws@xxxxxxx> Software Engineer
> Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
> Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
>
>
> Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author