From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 289 invoked from network); 16 May 2008 12:42:52 -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=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; 16 May 2008 12:42:52 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 54144 invoked from network); 16 May 2008 12:42:46 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 May 2008 12:42:46 -0000 Received: (qmail 8889 invoked by alias); 16 May 2008 12:42:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25053 Received: (qmail 8876 invoked from network); 16 May 2008 12:42:42 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 16 May 2008 12:42:42 -0000 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.225]) by bifrost.dotsrc.org (Postfix) with ESMTP id 8C38980589A4 for ; Fri, 16 May 2008 14:42:37 +0200 (CEST) Received: by rv-out-0506.google.com with SMTP id g37so138800rvb.21 for ; Fri, 16 May 2008 05:42:36 -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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=QmqzM1j+SKe4ZcXLtfhcQT1J5oOcuFPdwJDPCwcZUFo=; b=q1DGsaX4KPhpSLAvIJnuFD7zQRL1P/9WzATghrqxJIuIfrDrrJ/yIN5T1YjUXUXFY4bDiWEJ6/+51qN+ASXX84g2+qBbYuUOEDa8RVsmPDBoN84I+PYOaIVw2eZ3HicaeQBCXugdxpG9G37bA6OWJ7jdqnOOtWohY33rUjViS+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=D+HHaSH2jmEP/vuyGJEmBbQ4K54vpOS4X0tRGZw4MSoEoYm/YmmoNi5IKV/dXhI1pRMAqrvOh9bZjsK76sNTQzTUXjvqkMSaMoncYGIVqvJuWYBo4aYX80/MITwAMYBe27AShzYLK9S7c0kWBpgX2zUvMwpThK3DSMWBwrKcp08= Received: by 10.141.161.6 with SMTP id n6mr1774683rvo.41.1210941756044; Fri, 16 May 2008 05:42:36 -0700 (PDT) Received: by 10.141.153.6 with HTTP; Fri, 16 May 2008 05:42:35 -0700 (PDT) Message-ID: <237967ef0805160542l17897f78gc6e5db34e1683232@mail.gmail.com> Date: Fri, 16 May 2008 14:42:35 +0200 From: "Mikael Magnusson" To: zsh-workers Subject: Brace completion and spaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: ClamAV 0.91.2/7135/Fri May 16 13:55:09 2008 on bifrost X-Virus-Status: Clean I'm having some trouble with tabcompleting in constructs like foo/{bar, when foo and/or bar and/or the element to complete contains spaces. This is especially common when trying to play two or three mp3 files from an album. I usually resort to foo/{01,03,05}*.mp3 or so. This works fine: zsh -f autoload compinit compinit -C #the -C just inhibits overwriting my .zcompdump mkdir abc touch abc/{abc,def} ls abc/{abc, this lets me complete both abc/abc and abc/def. This however: zsh -f autoload compinit compinit -C mkdir a\ b\ c touch a\ b\ c/{a\ b\ c,d\ e\ f} ls a\ b\ c/{ #this changes the input to "ls a\ b\ {c/", subsequent #tabs then move the { left until it says "ls a\{ b\ c/" ls a\ b\ c/{a\ b\ c, #this produces no matches and just beeps ls a\ b\ c/{a #this successfully completes to "a\ b\ c/{a\ b\ c," Further experimenting shows that the problem only seems to happen when the dir contains spaces, it doesn't matter if the files inside do. -- Mikael Magnusson