zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: parameter and quoting (was: Re: Completion problems.)
Date: Thu, 05 Aug 1999 14:05:14 +0200	[thread overview]
Message-ID: <9908051205.AA36102@ibmth.df.unipi.it> (raw)
In-Reply-To: "Sven Wischnowsky"'s message of "Thu, 05 Aug 1999 14:19:00 DFT." <199908051219.OAA16988@beta.informatik.hu-berlin.de>

Sven Wischnowsky wrote:
> This is the solution that makes errors be ignored, because I have to
> ask first: we could easily add another flag that turns on error-
> checking. OR should error-reporting be the normal case and we should
> have a flag to turn it off? For modifiers we could have a new modifier 
> that can be combined with `Q' a la `g' and `f', e.g. `$a:EQ' or
> something like that. And with respect to the flag: this could be made
> to work for things like `${...%...}', too.

Since this is mainly for parameters, it might be better just to alter the
version with flags.  Probably it shouldn't report an error normally.

> Btw. something like `${foo%(}'
> currently gives me a non-zero return status but no error message --
> even though there seems to be some extra code for it -- I haven't
> investigated any firther yet, but this seems wrong, doesn't it?

The behaviour of BAD_PATTERN is a bit inconsistent:  sometimes the option
is respected, sometimes it isn't, sometimes bad patterns aren't reported at
all.  There's probably quite a lot wrong.

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


  reply	other threads:[~1999-08-05 12:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-05 12:19 Sven Wischnowsky
1999-08-05 12:05 ` Peter Stephenson [this message]
1999-08-05 16:20 ` Bart Schaefer
1999-08-05 12:53 Sven Wischnowsky
1999-08-05 13:18 ` Peter Stephenson
1999-08-05 14:22   ` Andrej Borsenkow
1999-08-05 14:26 Sven Wischnowsky
1999-08-05 14:41 ` Andrej Borsenkow
1999-08-05 16:24 ` Bart Schaefer
1999-08-06  7:14 Sven Wischnowsky

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=9908051205.AA36102@ibmth.df.unipi.it \
    --to=pws@ibmth.df.unipi.it \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).