From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Compsys fails badly with "setopt ignorebraces"
Date: Sat, 12 Mar 2005 19:54:55 +0000 [thread overview]
Message-ID: <1050312195455.ZM11958@candle.brasslantern.com> (raw)
zsh% ls {<TAB>
Long stream of error messages (depends on values in completer style); if I
remove the repeated errors, I'm left with:
_arguments:comparguments:208: invalid argument: (--all -a -A --almost-all){--all,-a}[list entries starting with .]
(That one must really come from "_ls", not _arguments itself. I suspect a
lot of completion functions use braces to shortcut _arguments lists.)
_match:72: parse error near `then'
_approximate:89: parse error near `then'
(Those two seem to be real bugs, at least in the documentation -- an
undocumented side-effect of ignorebraces is that "{ command }" is not
valid syntax any more: rather you need the semicolon "{ command ; }"
as in bash/ksh.)
BUG: old_heaps() with pushed heaps
(No idea.)
We could (probably should) add NO_ignorebraces to _comp_options, but the
_expand completer does modify its behavior based on that option, so it
would be nice to propagate the original value somehow.
reply other threads:[~2005-03-12 19:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1050312195455.ZM11958@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.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).