Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: completion of dates
- X-seq: zsh-workers 35757
- From: Mikael Magnusson <cif03mma@xxxxxxxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: PATCH: completion of dates
- Date: Fri, 10 Jul 2015 02:00:32 +0200
- Cc: Zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=6EkK0oq4nhZKHWSOhumqqtgeC4vFBumpKJMxki4/0Og=; b=AVmox5LlRrccvDmwJRr/fi15GncM0KxYv9vmJILfYzpr74STvQJeVWAyVf9n+q0K78 tpo9ON+zOHR/vRB8J5WAm3Hg/lCyVNQaa3v8dGpGQEukENFcpGshimum5NkSd1Swqn1n Tt5XpdOqOvFzE7UoL/ifrxPs9Xe1ZO7gEM2lwre4GDlEgUxxHcr+BqJQphCrENwUlJpb OBxxLmb1LGn9Q60m1DzQQaCvjRNxS1g/t/YhQoQ+7XxZxYD23gn+kN/xhem1eCs8GQrn SGHA4WjSMAZ/ZEkPEMs8qVsowqK0BtHy/PTIRbulnOUI6OHaSVvOHFq7ehGWvXmUKQdH TQBA==
- In-reply-to: <11523.1436283148@thecus.kiddle.eu>
- 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: <11523.1436283148@thecus.kiddle.eu>
- Sender: mikachu@xxxxxxxxx
On Tue, Jul 7, 2015 at 5:32 PM, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> As far as I know, dummy matches are only used in _describe, _values and
> _arguments to put matches with a common description together. I wanted
> to experiment with it and came up with this. What it does is completion
> of days laid out in the form of a calendar. Perhaps a bit of a gimmick
> but I think it might be useful, especially in cases where a date is
> specified in an obscure way such as for find's -mtime option.
>
> There are some compromises to get this to work:
[...]
> I've also patched _find and _globquals to use it. With them, I've
> changed the completion of the - and + modifiers to be more compact.
I don't really like this change. I usually forget the order for m3M+
glob qualifiers, so it's handy to just press tab to see when which is
valid, but now it starts autofilling stuff instead, and scrolling off
everything else on my terminal. It also doesn't seem to insert
anything actually sensible... but even if the bugs are fixed I would
prefer to turn the whole thing off. :)
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author