Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
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=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==
X-Yahoo-Newman-Id: 775533.74235.bm@smtp145.mail.ir2.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: DYAuVlgVM1kCwcNgV8dRwY3up4GlvEi47Sw0gLEWbHa12jQ
 V.WWYtUFzdIb5RQxac7nrSV_c6jC6HFl4crKj5Lr8Ujo5d8y5j7glRqCEpE0
 lblLNSXV8aMZEgZYZ.ZssJpchgtmFTeEINWPpYOWMgn2JUdA18ArfitmTeL2
 WUBLv0IkxG.S5U0iHdDbRp1rsDGk8bOG5Xd4Mk9U8U00R8R.S3m9VZzLTFJp
 qovwSEATW9XLEEVWv3Kj8HbmBjcH3LM.szqHeSqzn1pXuFIXg.bpDoMXKpWn
 6J_v4oss.5.Tm0PatgENFmGGVkW7Zb._1bHKuqW98u.SHAJSDJd0AAVrPosd
 DgVSWiiT9TXtigx2YIioGbazgnD_grKanw6zGesLroJ3n1wMN.QQUbWtpkHl
 PZsnjnZcH.W1dx.02WNI5evwWwhEUcFaxVGUse3lyOEvA77w_lKf6xCyMuvV
 msZPRMeIo3CTot3UpA.mS5PBvAQWRqB9jq7o3_t.gPSIkaNmO4m0yIJjIZ7_
 ENIl1LsBlYNLMoHtlHHPUru8_EASKAw--
X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI-
In-reply-to: <20160615232437.GA28886@tarsus.local2>
From: Oliver Kiddle <okiddle@yahoo.co.uk>
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>
To: zsh-workers <zsh-workers@zsh.org>
Subject: Re: Regression: broken completion on modification time
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-ID: <17352.1466180381.1@thecus.kiddle.eu>
Content-Transfer-Encoding: 8bit
Date: Fri, 17 Jun 2016 18:19:43 +0200
Message-ID: <17354.1466180383@thecus.kiddle.eu>
X-Seq: zsh-workers 38702

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

