From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8142 invoked from network); 26 Feb 2007 08:20:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.8 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Feb 2007 08:20:02 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 17382 invoked from network); 26 Feb 2007 08:19:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Feb 2007 08:19:55 -0000 Received: (qmail 11963 invoked by alias); 26 Feb 2007 08:19:53 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23188 Received: (qmail 11950 invoked from network); 26 Feb 2007 08:19:53 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Feb 2007 08:19:53 -0000 Received: (qmail 17078 invoked from network); 26 Feb 2007 08:19:52 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 26 Feb 2007 08:19:43 -0000 Received: from torch.brasslantern.com ([71.116.117.231]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JE200HPU9RMQ442@vms040.mailsrvcs.net> for zsh-workers@sunsite.dk; Mon, 26 Feb 2007 02:18:59 -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 l1Q8Iw6B008990 for ; Mon, 26 Feb 2007 00:18:58 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id l1Q8IvcJ008989 for zsh-workers@sunsite.dk; Mon, 26 Feb 2007 00:18:57 -0800 Date: Mon, 26 Feb 2007 00:18:57 -0800 From: Bart Schaefer Subject: Re: PATCH: completion regex handling In-reply-to: <200702252237.l1PMb7Pw012255@pwslaptop.csr.com> To: zsh-workers@sunsite.dk (Zsh hackers list) Message-id: <070226001857.ZM8988@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <200702252237.l1PMb7Pw012255@pwslaptop.csr.com> Comments: In reply to Peter Stephenson "PATCH: completion regex handling" (Feb 25, 10:37pm) On Feb 25, 10:37pm, Peter Stephenson wrote: } } One of my projects for a while has been to work out how to use } _regex_arguments. (Applause) } Reading the documentation and the code didn't help. I'm glad I'm not the only one to think that. } There are a few problems. I couldn't work out how to add separators } other than space to a command added from within a regex argument } specifier. It should have been possible to use _values -s, but for some } reason that didn't work. I seem to recall some other places where _values doesn't work correctly. Maybe something related to the recursion problem mentioned in the thread spawned by zsh-workers/20618?