zsh-workers
 help / color / mirror / code / Atom feed
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
Date: Wed, 15 Jun 2016 23:24:37 +0000	[thread overview]
Message-ID: <20160615232437.GA28886@tarsus.local2> (raw)
In-Reply-To: <9937.1466008377@thecus.kiddle.eu>

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


  reply	other threads:[~2016-06-15 23:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-12 20:32 Dima Kogan
2016-06-13  0:47 ` Bart Schaefer
2016-06-13  1:37   ` Dima Kogan
2016-06-13 22:00   ` Oliver Kiddle
2016-06-14 16:14     ` Bart Schaefer
2016-06-15 16:32       ` Oliver Kiddle
2016-06-15 23:24         ` Daniel Shahaf [this message]
2016-06-17 16:19           ` Oliver Kiddle
2016-06-17 18:11             ` Bart Schaefer
2016-06-17 19:10               ` Nikolay Aleksandrovich Pavlov (ZyX)
2016-06-17 22:02                 ` Oliver Kiddle
2016-06-17 22:20                   ` Nikolay Aleksandrovich Pavlov (ZyX)
2016-06-17 22:33                 ` Bart Schaefer
2016-06-17 22:49                   ` Nikolay Aleksandrovich Pavlov (ZyX)
2016-06-17 23:00                     ` Bart Schaefer
2016-06-17 23:50               ` Oliver Kiddle
2016-06-19 16:04                 ` Bart Schaefer
2016-06-21  1:41             ` Daniel Shahaf
2016-06-21 14:31               ` Oliver Kiddle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160615232437.GA28886@tarsus.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=okiddle@yahoo.co.uk \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).