From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8723 invoked from network); 9 Apr 2008 00:12:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 9 Apr 2008 00:12:10 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 83913 invoked from network); 9 Apr 2008 00:12:07 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Apr 2008 00:12:07 -0000 Received: (qmail 17644 invoked by alias); 9 Apr 2008 00:12:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24801 Received: (qmail 17631 invoked from network); 9 Apr 2008 00:12:03 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 9 Apr 2008 00:12:03 -0000 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by bifrost.dotsrc.org (Postfix) with ESMTP id F0BA6802A5F3 for ; Wed, 9 Apr 2008 02:11:59 +0200 (CEST) Received: by wx-out-0506.google.com with SMTP id h27so2398352wxd.3 for ; Tue, 08 Apr 2008 17:11:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=S4n0tk8qXFvHQRRxCES64fPDKV7m9kMF9fkC9TUH2vc=; b=e2EcBL9+oVeHDX0J1raxkfiK1XVU6StlXIGykmzxMA7ZtywCBhVrx6VGDsW2CvTuz+zZVOefGerupZ44ig1hMcMHi/UtpWJz+A5vPCvGQNyNKVNo/OL7aG+MuKTYLYrthU0X0/9at/OwYHaEKeFWyTL+sv6rfHLQlwMeHNNNGVc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uTgjYPTzApgSN9hZNThCqYbn49ZHX5GmQ1DxIo8QhKC12Tx42tVDBP086nMlfZqYR/CZO7t/cs/T9Dj5jucUAp6WeHyU/5UuQVV3NqaLgL0p9wcZaq51QBrPrNBMlIk0zcFfBEhppI5uLg5WsXh/P0bbC9Jz66eBpmSa3G6fFao= Received: by 10.140.249.20 with SMTP id w20mr2369462rvh.21.1207699917688; Tue, 08 Apr 2008 17:11:57 -0700 (PDT) Received: by 10.141.202.18 with HTTP; Tue, 8 Apr 2008 17:11:57 -0700 (PDT) Message-ID: <237967ef0804081711t6b4a9d88qa8b5367ba1ba8fb0@mail.gmail.com> Date: Wed, 9 Apr 2008 02:11:57 +0200 From: "Mikael Magnusson" To: zsh-workers Subject: Re: _subscript quotes too much In-Reply-To: <237967ef0804081708h72b87699n6235099044238a13@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <237967ef0804081708h72b87699n6235099044238a13@mail.gmail.com> X-Virus-Scanned: ClamAV 0.91.2/6672/Wed Apr 9 00:53:08 2008 on bifrost X-Virus-Status: Clean On 09/04/2008, Mikael Magnusson wrote: > % zsh -f > % autoload -U compinit; compinit > % typeset -A foo > % foo[bar]=baz > % foo[*.txt]=blue > % echo $foo[ > % echo $foo[\*.txt] > > % echo $foo[*.txt] > blue > > I had a look at _subscript but it didn't mean much to me. I thought > maybe there was a (q) too many but there are none at all. Also a bit weird, % foo[{]=bar zsh: no matches found: foo[{]=bar % foo[{a,b}]=bar % echo $foo[\{a,b\}] #produced by tab complete bar % echo $foo[\{a,b}] bar % echo $foo[{a,b}] bar % echo $foo['{a,b}'] I guess I'm wandering into the land of very subtle rules here... :) -- Mikael Magnusson