From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14098 invoked by alias); 17 Sep 2014 08:31:03 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19101 Received: (qmail 3231 invoked from network); 17 Sep 2014 08:31:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Message-ID: <54194198.2010607@thregr.org> Date: Wed, 17 Sep 2014 10:08:56 +0200 From: Yuri D'Elia User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 To: Bart Schaefer CC: zsh-users@zsh.org Subject: Re: rsync --progress stops completion References: <2002755.9ryFYYVtTN@note> <5418786F.8030001@thregr.org> <140916175124.ZM5742@torch.brasslantern.com> In-Reply-To: <140916175124.ZM5742@torch.brasslantern.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 09/17/2014 02:51 AM, Bart Schaefer wrote: > (Wow, gmane sent Yuri's messaeg through with no To/Cc headers.) [I bcc'ed you] > Whoever most recently updated the _arguments call in _rsync asserted that > -P and --progress are mutually exclusive. That's intended to prevent the > --progress option from being offered again if you already used -P, I'm > sure, but it also means that the comparguments builtin treats them as > truly mutually exclusive, i.e., the command is wrong if both appear. > > Currently _rsync also excludes -P when either of --progress or --partial > already appears, which is probably a mistake. However, I'm wondering if we can make completion continue. It happens to me from time to time, though I'm usually not motivated enough to report it, that a command which is perfectly fine does not perform file completion anymore, which is probably *the* most important completer I care about. Is there a way to somehow get this as a general behavior, or it's dependent on the specific command completion? I'd rather have an error spew from the command itself, than trying to figure out that I specified a wrong flag and thus I cannot complete anymore. It happens to me enough that I have bound key to force file completion: bindkey -M emacs "^x^f" complete-files I "shouldn't" need it though, in theory.