zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Peter Stephenson <Peter.Stephenson@csr.com>
Cc: Martin Buchholz <martinrb@google.com>,
	zsh-workers@zsh.org, Joel Ebel <jbebel@google.com>
Subject: Re: zsh ignores the arguments on its first command.
Date: Thu, 3 Jun 2010 07:15:59 -0700	[thread overview]
Message-ID: <AANLkTilKAcVt2Dfl_cnZg5dpe6zXOPlPZeC5rdgdLJWs@mail.gmail.com> (raw)
In-Reply-To: <20100603143220.48ccbf3e@csr.com>

On Thu, Jun 3, 2010 at 6:32 AM, Peter Stephenson
<Peter.Stephenson@csr.com> wrote:
>
> You're right, it's a specific error for this case, it could be a lot
> clearer.

Martin has something of a point in that when getparamnode() calls
zerr() for this, the shell behaves somewhat as if ${terminfo?} had
been used rather than ${+terminfo}.

Perhaps the correct thing here is to change this to a zwarn() and
allow the setting of the UNSET option to control whether autoload
failure aborts the script.  I'm not convinced that's right, either,
though.


  parent reply	other threads:[~2010-06-03 14:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01 21:23 Martin Buchholz
2010-06-01 21:45 ` Peter Stephenson
2010-06-01 22:27   ` Martin Buchholz
2010-06-02  7:05   ` Martin Buchholz
2010-06-02 11:19     ` Peter Stephenson
2010-06-02 16:44       ` Martin Buchholz
2010-06-03  9:01         ` Peter Stephenson
2010-06-03 13:22           ` Martin Buchholz
2010-06-03 13:32             ` Peter Stephenson
2010-06-03 13:47               ` Martin Buchholz
2010-06-03 14:15               ` Bart Schaefer [this message]
2010-06-03 14:20                 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTilKAcVt2Dfl_cnZg5dpe6zXOPlPZeC5rdgdLJWs@mail.gmail.com \
    --to=schaefer@brasslantern.com \
    --cc=Peter.Stephenson@csr.com \
    --cc=jbebel@google.com \
    --cc=martinrb@google.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).