Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Regression: broken completion on modification time
- X-seq: zsh-workers 38702
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxx>
- Subject: Re: Regression: broken completion on modification time
- Date: Fri, 17 Jun 2016 18:19:43 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1466180386; bh=TP565MoQRrMjW7Kx9KfaXm35Smdc/nfDLtRnCvDxtrI=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=sMIr3MsyOaDK5BwS8qs7yA6Gpc2oRXgMhDvlrYD8FbWgpNCkS/v5sb5uQ/+FsWOCE0GYUM+X16a1oO1bf02BoiQqsRHdwqATo0dBHqbfpjYi1QHNLDQmcIjwpIWjTB8h5y+GpF0yGL1XCcFI8xsISjmoDFah17ZQk7fnHF5N7nKCNx4MisSb6K7sa6UjI7KiRAt/snOp33VuervTHd9E5wcggfxs3Z1Jk71K7tdQp10vwl7hTelcJVw5qglCnp2aP5BiaIHMw32KJ5cE34tLIjtv1WZ3y6iYHICF+B28VYORo6jA2jzotKzbJGxyUawZ8S85/cJISsMyZuEP8bOFJQ==
- In-reply-to: <20160615232437.GA28886@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- 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>
Daniel Shahaf wrote:
> I like this particularly for the "sense" portion of the completion: with
I think I'll just use the verbose style then.
(As an aside, I notice _git has a max-verbose style. Not sure if we can
change that for consistency with _path_commands.)
> However, with this patch and extra-verbose, the «'' - exactly»
> alternative doesn't show. (It's not just "hidden"; each of "- --
> before" and "+ -- after" take half of $COLUMNS.)
How would you want to present the exactly match given that it inserts
nothing? In the past with the match -- description form, we didn't
include it. With the description only form it is less out-of-place.
> I tried to reproduce this in 'zsh -f', but «echo *(m<TAB>» simply cycled
> between various integers after the 'm'; it didn't give the calendar
> completion at all. It still did that with extra-verbose and
> group-name='' set, I haven't debugged further yet.
You need to enable menu selection:
zstyle ':completion*:default' menu 'select=0'
Pressing Ctrl-D (list-choices) a couple of times will also work.
This is a consequence of the line in _dates which does:
compstate[list]='packed rows'
This could be adjusted so normal completion would dump the calendar.
But is a calendar without menu selection at all useful? Menu selection's
ability to convert a calendar date into relative days is the main use.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author