From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20049 invoked from network); 23 Feb 2008 06:07:12 -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; 23 Feb 2008 06:07:12 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 66628 invoked from network); 23 Feb 2008 06:07:06 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Feb 2008 06:07:06 -0000 Received: (qmail 8975 invoked by alias); 23 Feb 2008 06:07:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24587 Received: (qmail 8944 invoked from network); 23 Feb 2008 06:07:01 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 23 Feb 2008 06:07:01 -0000 Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by bifrost.dotsrc.org (Postfix) with ESMTP id A6C1C8026E0B for ; Sat, 23 Feb 2008 07:06:58 +0100 (CET) Received: from torch.brasslantern.com ([71.121.18.67]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JWO00CZ8GZKTEA2@vms044.mailsrvcs.net> for zsh-workers@sunsite.dk; Sat, 23 Feb 2008 00:06:57 -0600 (CST) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id m1N66tR7031841 for ; Fri, 22 Feb 2008 22:06:55 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id m1N66tpT031840 for zsh-workers@sunsite.dk; Fri, 22 Feb 2008 22:06:55 -0800 Date: Fri, 22 Feb 2008 22:06:55 -0800 From: Bart Schaefer Subject: Re: PATCH: completion of glob qualifiers In-reply-to: <11164.1203725067@pws-pc> To: zsh-workers@sunsite.dk (Zsh hackers list) Message-id: <080222220655.ZM31839@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <11164.1203725067@pws-pc> Comments: In reply to Peter Stephenson "PATCH: completion of glob qualifiers" (Feb 23, 12:04am) X-Virus-Scanned: ClamAV 0.91.2/5942/Sat Feb 23 05:56:24 2008 on bifrost X-Virus-Status: Clean On Feb 23, 12:04am, Peter Stephenson wrote: } } It works OK so far but it does raise various issues about related things } that might be got to work better. You might run across those. Yes, this is pretty cool. I suppose the things that might work better are e.g. completion of modifiers after !!: and $var: ? schaefer<501> echo ${var:Oops. Bug in parse_subst_string: errflag Oops. Bug in parse_subst_string: errflag Oops. Bug in parse_subst_string: errflag Oops. Bug in parse_subst_string: errflag Oops. Bug in parse_subst_string: errflag Oops. Bug in parse_subst_string: errflag Oops. Bug in parse_subst_string: errflag Oops. Bug in parse_subst_string: errflag Oops. Bug in parse_subst_string: errflag echo ${var: No matches for `file' or `corrections' (That was probably there before ...) It'd also be nice if, for example, it would notice that the qualifier needs to be followed by a numeric value and wouldn't complete another qualifier the number was present, but that's a nit.