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 autolearn=ham
	autolearn_force=no version=3.4.1
Date: Wed, 15 Jun 2016 23:24:37 +0000
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Oliver Kiddle <okiddle@yahoo.co.uk>
Cc: zsh-workers <zsh-workers@zsh.org>
Subject: Re: Regression: broken completion on modification time
Message-ID: <20160615232437.GA28886@tarsus.local2>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <9937.1466008377@thecus.kiddle.eu>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Seq: zsh-workers 38688

Oliver Kiddle wrote on Wed, Jun 15, 2016 at 18:32:57 +0200:
> Looking back at that mail, the complaint is that it does not tell you
> "what the syntax is without selecting the entry itself". I prefer
> to keep things compact to allow space for the calendar. How about
> using a style such as the following.

I like this particularly for the "sense" portion of the completion: with
this patch and extra-verbose set, the show-ambiguity style actually
highlights the "next typeable character", just like it does everywhere
else.  For the "time specifier" portion the change is also welcome.

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.)

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.

> We have an extra-verbose style in _path_commands and this uses that
> though I could be persuaded to use just verbose.

I don't have an intuition for which of them is more appropriate, but
whichever it ends up being, I will set it in my config...

Cheers,

Daniel

