From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12166 invoked from network); 7 May 2007 05:45:04 -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; 7 May 2007 05:45:04 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 78480 invoked from network); 7 May 2007 05:44:58 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 May 2007 05:44:58 -0000 Received: (qmail 5997 invoked by alias); 7 May 2007 05:44:56 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23397 Received: (qmail 5988 invoked from network); 7 May 2007 05:44:56 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 May 2007 05:44:56 -0000 Received: (qmail 78180 invoked from network); 7 May 2007 05:44:56 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 7 May 2007 05:44:53 -0000 Received: from torch.brasslantern.com ([71.116.88.130]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JHN006E5PARVAW1@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Mon, 07 May 2007 00:44:52 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id l475ioQm009204 for ; Sun, 06 May 2007 22:44:51 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id l475iopO009203 for zsh-workers@sunsite.dk; Sun, 06 May 2007 22:44:50 -0700 Date: Sun, 06 May 2007 22:44:50 -0700 From: Bart Schaefer Subject: Re: compadd -qS' ' should escape the space In-reply-to: To: "Zsh hackers list" Message-id: <070506224450.ZM9202@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: Comments: In reply to "Nikolai Weibull" "compadd -qS' ' should escape the space" (May 3, 6:11pm) I'm sort of surprised no one responded to this. (Or did they and gmail has spam-filtered it for me again?) On May 3, 6:11pm, Nikolai Weibull wrote: } Subject: compadd -qS' ' should escape the space } } _describe -t color 'color' colors -qS' ' } } I'd expect the space used as a suffix to be escaped. Er, no. The suffix is supposed to be a separator between words; e.g., in file completion, you want the space between the file names to be treated as IFS by the shell, so that you get one file name per word as the command arguments. You didn't provide enough context to know what you're really trying to do and why you think the space should be escaped, so I have no suggestions for what you should be doing instead.