From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22780 invoked from network); 3 May 2007 16:11:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=no version=3.2.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 May 2007 16:11:56 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 21051 invoked from network); 3 May 2007 16:11:51 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 May 2007 16:11:51 -0000 Received: (qmail 9596 invoked by alias); 3 May 2007 16:11:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23390 Received: (qmail 9586 invoked from network); 3 May 2007 16:11:47 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 May 2007 16:11:47 -0000 Received: (qmail 20756 invoked from network); 3 May 2007 16:11:47 -0000 Received: from nz-out-0506.google.com (64.233.162.237) by a.mx.sunsite.dk with SMTP; 3 May 2007 16:11:44 -0000 Received: by nz-out-0506.google.com with SMTP id o1so562005nzf for ; Thu, 03 May 2007 09:11:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=sJMUM+w3jTmzEhJvUDMeYOLikmjN83LxE7R3vZ6NHVg2Sdi1RuClyc7gm8rRKVTXqD4HkI0o/FmUL19x2hqn9KpwrMD+AvyiR1ytl7G/JQiykC6PlvpIhxeTsf/FHtrBbZtNfHoNfwS5UYLh743KOX//GaUCnonj+SkG93x62cM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=on8oV5xTi5M0mnX3blTnSm/cCjBmQHTUyikfTlQiFM9BnObDoChZ2kWZjrL3sH0tW1+pXz2sYeJd/yNFMFQr2KWQQK/c1nSlJRc6sjRA1dbYBvMGjYLiCkpOQKFOfwF4weBQLVr0F1EsUsycMWcrGomSwvsr6DXYh0e+SJOL5bE= Received: by 10.114.26.1 with SMTP id 1mr725369waz.1178208702773; Thu, 03 May 2007 09:11:42 -0700 (PDT) Received: by 10.114.196.8 with HTTP; Thu, 3 May 2007 09:11:42 -0700 (PDT) Message-ID: Date: Thu, 3 May 2007 18:11:42 +0200 From: "Nikolai Weibull" Sender: nikolai.weibull@gmail.com To: "Zsh hackers list" Subject: compadd -qS' ' should escape the space MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 09bfacb754dc6c89 The following code will only do the right thing if I have started the current word with a ": declare -a colors colors=(black red green yellow blue magenta cyan white) _describe -t color 'color' colors -qS' ' I'd expect the space used as a suffix to be escaped. Thanks. nikolai