From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28201 invoked from network); 10 Jan 2009 09:16:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) 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.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Jan 2009 09:16:07 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 80548 invoked from network); 10 Jan 2009 09:15:59 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Jan 2009 09:15:59 -0000 Received: (qmail 5864 invoked by alias); 10 Jan 2009 09:15:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26277 Received: (qmail 5854 invoked from network); 10 Jan 2009 09:15:54 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 10 Jan 2009 09:15:54 -0000 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by bifrost.dotsrc.org (Postfix) with ESMTP id 0A3E1802720C for ; Sat, 10 Jan 2009 10:15:50 +0100 (CET) Received: by fg-out-1718.google.com with SMTP id e21so3429865fga.37 for ; Sat, 10 Jan 2009 01:15:50 -0800 (PST) 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=vojEz9JfXM+TT0U8S708mtEFP/WXAk2ZePdAK+cydew=; b=v2U6aCbJq+f4qEL/JhFYiIm1HyQ1YwNJih27FTtzl9HmbKjkcneu39QILyriIwhp62 zT8o2rXZjvYBGq0OiSNpYol+DBLpkBEYdvRUehv0aMeduKCAmovDL7qP594z9Kdv4m// 51UCsahjQ9mb8/e2DdC7gc4Xx6/N0fjusP6Fw= 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=jGm5V28gM1x88dJ7+g4wmz3Q50mLBXOjLphF6k7J+EZ8w3gNSnjBD7N5yEJWScLUIC uWoSOdbWuZd1lilF73wxR4vsVT3EbkMvyskzHFWJ16g5ms/YmsPw9YDF61vYUwbdpVl1 Yp8nmKbtR0hSrEnnUI2H6BAu17UagJX+ft3xk= Received: by 10.86.94.11 with SMTP id r11mr15409370fgb.11.1231578950009; Sat, 10 Jan 2009 01:15:50 -0800 (PST) Received: by 10.86.95.12 with HTTP; Sat, 10 Jan 2009 01:15:49 -0800 (PST) Message-ID: <2d460de70901100115x129a6405md5ca6ca8d1629c5c@mail.gmail.com> Date: Sat, 10 Jan 2009 10:15:49 +0100 From: "Richard Hartmann" To: "Zsh Hackers' List" Subject: Convention question regarding completions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: ClamAV 0.92.1/8849/Sat Jan 10 05:18:40 2009 on bifrost X-Virus-Status: Clean Hi all, when writing completions, should I XAND only the options which are really mutually exclusive like tar x tar c or should I XAND the ones which won't work but won't hurt, either like --verbose --quiet or should I XAND even the ones which become superfluous like the second option in deluser --remove-all-files deluser --remove-home ? Personally, I lean towards the third, i.e. most inclusive XAND rule, but I am interested what the others think. Richard PS: Just in case it's not clear from context what I mean by XAND: '(x)c[create a new archive]' '(c)x[extract files from an archive]'