From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2175 invoked from network); 12 Mar 2005 19:55:24 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 12 Mar 2005 19:55:24 -0000 Received: (qmail 44613 invoked from network); 12 Mar 2005 19:55:16 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Mar 2005 19:55:16 -0000 Received: (qmail 3201 invoked by alias); 12 Mar 2005 19:55:14 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20974 Received: (qmail 3183 invoked from network); 12 Mar 2005 19:55:13 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 12 Mar 2005 19:55:13 -0000 Received: (qmail 44311 invoked from network); 12 Mar 2005 19:55:13 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 12 Mar 2005 19:55:09 -0000 Received: from candle.brasslantern.com ([4.11.1.68]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0ID900FRF8NU3OX0@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Sat, 12 Mar 2005 13:55:09 -0600 (CST) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j2CJt11T011960 for ; Sat, 12 Mar 2005 11:55:06 -0800 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j2CJst6T011959 for zsh-workers@sunsite.dk; Sat, 12 Mar 2005 11:54:55 -0800 Date: Sat, 12 Mar 2005 19:54:55 +0000 From: Bart Schaefer Subject: Compsys fails badly with "setopt ignorebraces" To: zsh-workers@sunsite.dk Message-id: <1050312195455.ZM11958@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 zsh% ls { 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.