From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@zsh.org
Subject: Re: [Bulk] Re: [PATCH] Add xxd completion
Date: Sat, 18 Oct 2014 14:08:13 +0000 [thread overview]
Message-ID: <20141018140813.GA1805@tarsus.local2> (raw)
In-Reply-To: <141011091935.ZM1151@torch.brasslantern.com>
[ Sorry for the delay; I didn't have time during the week. ]
Bart Schaefer wrote on Sat, Oct 11, 2014 at 09:19:35 -0700:
> On Oct 11, 11:46am, Oliver Kiddle wrote:
> }
> } It'll perhaps seem clearer if you set the format style with the
> } descriptions tag
>
> We had a brief discussion a few weeks ago of supplying a set of default
> zstyles, I've been gradually building up a suggested list. Both of
> these were the first things on it:
>
Perhaps add a snippet to enable edit-command-line to that list of suggestions?
It's not a zstyle, but it's asked regularly on IRC. (I bind it to ^Fc.)
(Also: I like the idea of having such a list — it would nicely bridge the gap
between "keep features off-by-default for backwards compatibility" and "have
helpful features on by default", i.e., "require no configuration in the common
case".)
> } zstyle ':completion:*:descriptions' format '%B%d%b'
> } zstyle ':completion:*' group-name ''
> }
> } This makes it clearer that you have two groups, one of which has no
> } associated matches, just a heading.
> }
Indeed, the situation with -g<tab> is much clearer with these settings. They
also make the nature of the -z file suggestion clearer. I think that addresses
all my upthread questions, then.
> } What subsequent tab presses does, depends a lot on your configuration.
>
Sorry, forgot to mention explicitly: I was using the default settings provided
by compinstall (autoload compinit && compinit && zstyle :compinstall filename).
>
Thanks for the detailed replies, Oliver and Bart.
Daniel
next prev parent reply other threads:[~2014-10-18 14:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-08 8:20 Daniel Shahaf
2014-10-08 14:35 ` Oliver Kiddle
2014-10-09 8:21 ` Daniel Shahaf
2014-10-11 9:46 ` [Bulk] " Oliver Kiddle
2014-10-11 16:19 ` Bart Schaefer
2014-10-18 14:08 ` Daniel Shahaf [this message]
2014-10-11 21:25 ` Daniel Shahaf
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=20141018140813.GA1805@tarsus.local2 \
--to=d.s@daniel.shahaf.name \
--cc=schaefer@brasslantern.com \
--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).