From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12358 invoked by alias); 10 Jul 2015 00:00:39 -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: 35757 Received: (qmail 9064 invoked from network); 10 Jul 2015 00:00:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.0 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== MIME-Version: 1.0 X-Received: by 10.50.143.101 with SMTP id sd5mr450528igb.44.1436486432180; Thu, 09 Jul 2015 17:00:32 -0700 (PDT) Sender: mikachu@gmail.com In-Reply-To: <11523.1436283148@thecus.kiddle.eu> References: <11523.1436283148@thecus.kiddle.eu> Date: Fri, 10 Jul 2015 02:00:32 +0200 X-Google-Sender-Auth: WyYFjXGfChr4ZpI8HqBpTkyuByw Message-ID: Subject: Re: PATCH: completion of dates From: Mikael Magnusson To: Oliver Kiddle Cc: Zsh workers Content-Type: text/plain; charset=UTF-8 On Tue, Jul 7, 2015 at 5:32 PM, Oliver Kiddle 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