From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29260 invoked by alias); 25 Sep 2015 17:03:11 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36632 Received: (qmail 25886 invoked from network); 25 Sep 2015 17:03:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=mHPJ/IVmXlkWbbppXIiiBB57m3d9MJZzXWiilIrsppE=; b=jOtiA9HfHG+JSwpLFMFrPwTUoKrP512B2uVdpN0cvKpSij44xCb9ai0fOPFjOElWOW c0PxfbjyBe4huuKPlivSoEvCFkowAdDaIeYzsqlCBVw24SJ2LJzxTJ2OBUbFTDsnz2fp rXXymOUMcPC4S7lYp06LOhL9DMQEwyFwgWC5aHD0Xzna96DuXwPutuRhYudY39AkZo/i /J2ilkBt+dj40b2Onv2r2GkcuR8TSxsCnq+6G3ZY8/RvL5MSwYAeaC5i4qxMNuISXBOJ zg0dJ2cAZTMmq5zJ0T1ng6OyBe0D0nSBN7p1qC6k8XaEmIBC2XMe/x52uE8cI8XOh4GK 40fw== X-Gm-Message-State: ALoCoQkmE5k6nYjMjSv1RUfRMRJ2hsIYPbDr7zRNZEPPczsoWDaSnmmYCiOVFkMHIlmQOp1yDY6Q X-Received: by 10.202.211.10 with SMTP id k10mr3556649oig.34.1443200586661; Fri, 25 Sep 2015 10:03:06 -0700 (PDT) From: Bart Schaefer Message-Id: <150925100303.ZM3552@torch.brasslantern.com> Date: Fri, 25 Sep 2015 10:03:03 -0700 In-Reply-To: <91D49604-A261-46A4-95BC-624420629B84@kba.biglobe.ne.jp> Comments: In reply to "Jun T." "Re: [PATCH] complete two or more options for zsh" (Sep 26, 1:04am) References: <150922223902.ZM30528@torch.brasslantern.com> <91D49604-A261-46A4-95BC-624420629B84@kba.biglobe.ne.jp> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: [PATCH] complete two or more options for zsh MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 26, 1:04am, Jun T. wrote: } } Anyway, yes, it's better to do all the completion by _arguments alone. } How about the patch below? } (or is it better to create _zsh to do the completion for zsh only?). If the zsh case is never going to use any of the common code for other shells, then it would probably be better to create an _zsh. I'm trying to think of ways that might fail to be backward-compatible with existing compdef configs, but not coming up with anything. } > Hm. Is this a bug in _arguments rather than in the way that _sh } > called _arguments? That is, should descr ever be a single ":"? } } If there is ever an intended effect of specifying '*:' as a helpspec, } then it would better to fix _arguments to do the intended job. } } So anyway '*:' seems to have no effect on how the options are ordered. } What is the intended effect of '*:' as a help spec? The person who could definitively answer that hasn't read this list in at least a decade. Maybe someone else remembers, but I don't.