From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2526 invoked by alias); 17 Jun 2016 23:00:34 -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: 38712 Received: (qmail 717 invoked from network); 17 Jun 2016 23:00:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1466203755; bh=7csi5aM427a2w5E2WbMowNfR4KtzkQ6MUsQz2/vglt8=; h=X-Yandex-Sender-Uid:From:To:In-Reply-To:References:Subject: MIME-Version:Message-Id:X-Mailer:Date:Content-Transfer-Encoding: Content-Type; b=p4r00FJqeBvh9rN3d1/Y18xYcHcYBB8bgmRUL8TNo92H+lkC95DAMYgTJ/BTSnNsm hqvgB/lZQYxkfpOaUXeZmZvxWFpWa0DLSE/S+ty6TKmJQBk90q1GuHpmpJO/nFwOR+ Tdua4agLb6SrJKsQmlfgZncrw1vukWW2+CIlkM1M= Authentication-Results: mxback5h.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0,1 20735984 X-Yandex-Sender-Uid: 9151298 From: "Nikolay Aleksandrovich Pavlov (ZyX)" To: Bart Schaefer , zsh-workers In-Reply-To: <160617153353.ZM1393@torch.brasslantern.com> References: <87oa76172f.fsf@secretsauce.net> <160612174712.ZM10957@torch.brasslantern.com> <3670.1465855245@thecus.kiddle.eu> <160614091402.ZM17103@torch.brasslantern.com> <9937.1466008377@thecus.kiddle.eu> <20160615232437.GA28886@tarsus.local2> <17354.1466180383@thecus.kiddle.eu> <160617111101.ZM488@torch.brasslantern.com> <706581466190613@web21m.yandex.ru> <160617153353.ZM1393@torch.brasslantern.com> Subject: Re: Regression: broken completion on modification time MIME-Version: 1.0 Message-Id: <913271466203755@web16h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Sat, 18 Jun 2016 01:49:15 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 18.06.2016, 01:34, "Bart Schaefer" : > On Jun 17, 10:10pm, Nikolay Aleksandrovich Pavlov (ZyX) wrote: > } > } I would say "yes" just to check what possibilities is it talking > } about. Question is why would I hit `` in first place: if I did > } not see this discussion I would not ever suggest that completing a > } (mostly) numeric and in any case very short argument to `m` has any > } sense. > > I see Oliver has already replied, but: Don't confuse the example (of > completing in a glob qualifier) with the intent of the discussion, > which is about presentation of the result for _dates. You could just > as easily be completing after "find -mtime ". Where I have exactly the same question: `-mtime` argument is still numeric (now without “mostly” if I am not mistaking) and short. And _dates is not used anywhere else as far as I see, `ag` finds it only in `/usr/share/zsh/5.2/functions/Completion/Zsh/_globquals` and `/usr/share/zsh/5.2/functions/Completion/Unix/_find` when searching in `/usr/share/zsh`. Also I cannot find `_dates` in `man zshall`, so developers probably will not use it in third-party completions. Especially given that it is the same directory with _find (which means that without looking at the source code of that file and without knowing about `-mtime` completion one will think that there is `dates` *nix command, unless I am missing something and there is a list of helper functions anywhere outside of man pages, generated automatically because `ag` cannot find it in zsh git repository).